☕ Search the cafe

Find anything.

53 tools, references, and AI explainers in one box. Filtering happens entirely in your browser, so it is instant and nothing you type is sent anywhere.

ToolJSON

json → typescript

Paste JSON, get a typed TS interface.

Open
ToolEncoding

jwt decoder

Decode & inspect JSON Web Tokens.

Open
ToolEncoding

base64 encode/decode

Encode or decode Base64, incl. URL-safe.

Open
ToolTime & Cron

cron generator

Build & read crontab expressions, in plain English.

Open
ToolAI

token counter

Count tokens with the real OpenAI tokenizers.

Open
ToolAI

context window viz

See what fills a model's context budget.

Open
ToolAI

context budget analyzer

Find which files eat your context window.

Open
ToolAI

structured output builder

Schemas for OpenAI, Anthropic, Gemini & JSON Schema.

Open
ToolAI

ai pattern explorer

Compare agent design patterns side by side.

Open
ToolAI

rag chunking visualizer

See how a document splits into RAG chunks.

Open
ToolAI

mcp config generator

Build & validate an MCP server config.

Open
ToolAI

prompt linter

Catch vague, conflicting, or unclear prompts.

Open
ToolAI

llm vram calculator

Estimate VRAM to run a model locally.

Open
ToolAI

llm cost calculator

Estimate API cost from token usage.

Open
ToolConverters

csv ⇄ json

Convert tabular data both ways, instantly.

Open
ToolJSON

json → go

Generate Go structs from any JSON payload.

Open
ToolApache

.htaccess gen

Redirects & rewrite rules, the easy way.

Open
ToolConverters

curl → code

Turn a cURL command into fetch, axios, or Python.

Open
ToolConverters

yaml ⇄ json

Swap between YAML and JSON cleanly.

Open
ToolText

sql formatter

Beautify and standardize messy SQL.

Open
ToolText

case converter

camelCase, snake_case, kebab, PascalCase.

Open
ToolFeeds

rss validator

Check any feed against the spec.

Open
ToolFeeds

opml converter

Import, view & convert OPML subscription lists.

Open
ReferenceConcepts

Object-Oriented Programming concepts

Encapsulation, abstraction, inheritance, polymorphism, the four pillars, with examples.

Open
ReferenceConcepts

Software design patterns

The classic Gang-of-Four patterns, creational, structural, behavioral, and when to use them.

Open
ReferenceConcurrency

Multithreading & concurrency explained

Threads vs processes, race conditions, locks, deadlocks, and writing thread-safe code.

Open
ReferenceMemory

Memory leaks explained

What a memory leak is, the common causes across languages, and how to find and prevent them.

Open
ReferenceMemory

Smart pointers & RAII

Reference counting, ownership, and how unique/shared pointers stop leaks at the source.

Open
ReferenceC++

Type casting in C++

static_cast, dynamic_cast, const_cast and reinterpret_cast, what each one actually does.

Open
ReferenceFeeds

What is RSS?

Feeds, readers, the orange XML buttons, and how RSS and Atom differ, the basics, clearly.

Open
ReferenceNetworking

HTTP explained

Methods, status codes, headers, and the request/response cycle behind every web call.

Open
ReferenceEmail

How SMTP works (sending email)

The protocol that moves email, the SMTP conversation, envelopes, and why mail gets blocked.

Open
ReferenceEmail

POP3 vs IMAP (reading email)

The two protocols for retrieving mail, how they differ, and which one you actually want.

Open
ReferenceNetworking

How ping & ICMP work

What ping really measures, the ICMP echo request/reply, TTL, and reading the results.

Open
ReferenceNetworking

Port scanning explained

What a network port is, how a port scan works, the common scan types, and what they reveal.

Open
AIConcept

What is a context window?

The model's working memory, tokens, what fills it, why it runs out, and how to manage it.

Open
AIConcept

What are embeddings?

How content becomes a vector that captures meaning, the engine behind semantic search, RAG, and recommendations.

Open
AIInfra

What is a vector database?

Where embeddings live, fast nearest-neighbour search over millions of vectors, and the backbone of RAG.

Open
AIPattern

What is RAG (Retrieval-Augmented Generation)?

Grounding a model in your own documents at query time, embeddings, retrieval, and why it beats fine-tuning for facts.

Open
AIConcept

What is agent memory?

Why an assistant 'remembers' or 'forgets', context vs short-term vs long-term memory, and how persistence is faked.

Open
AIProtocol

What is MCP (Model Context Protocol)?

The open standard for connecting AI apps to tools and data, the 'USB-C for AI tools.'

Open
AIConcept

What is tool calling (function calling)?

How a model decides to call a function, returns structured arguments, and your code runs it, the basis of agents.

Open
AIConcept

What are structured outputs?

Making a model return JSON that matches a schema every time, vs JSON mode, and why it powers extraction and tool calls.

Open
AITool

Context Window Visualizer

See how your system prompt, history, retrieved docs, and output fill a model's context budget.

Open
AITool

Structured Output Builder

Define fields once; generate the schema for OpenAI, Anthropic, Gemini, and plain JSON Schema.

Open
PatternQuality

Reflection pattern

The model critiques its own output, then improves it.

Open
PatternControl flow

Router pattern

The model classifies the request and routes it to the right path.

Open
PatternEvaluation

Judge pattern

One model evaluates another’s output against a rubric (LLM-as-judge).

Open
PatternReliability

Verification pattern

Check the claims before responding.

Open
PatternSafety

Human-in-the-Loop pattern

The agent requests human approval before it acts.

Open
BlogNews

The Return of KB Cafe

kbcafe.com was a go-to developer resource in the early 2000s. Here's what it is now, and why we brought it back.

Open
BlogOpen Web

RSS Didn't Die, The Open Web Just Got Quiet

Everyone declared RSS dead a decade ago. It's quietly running newsletters, podcasts, and the fediverse the whole time.

Open
BlogAI

Feeds for Machines: RSS as the Structured Layer for AI

LLMs are starving for clean, structured, permissioned content. A 25-year-old format turns out to be a good answer.

Open