# The Prompt Bench > The lab bench for prompting, local models, and what's coming next. The Prompt Bench is a free, ad-free reference operated by ai51 UG (haftungsbeschraenkt). It publishes working-engineer guides to prompting AI, running local models, building agents, retrieval, evals, multimodal, safety, and a sourced tracker of model releases. Dated pieces always state their date; rumor entries are tagged Confirmed / Strong signal / Speculation with primary sources. Last updated: 2026-05-28. 77 published articles across 18 clusters. ## Start here - [How to Prompt AI Effectively](https://thepromptbench.com/prompting-fundamentals/how-to-prompt-ai-effectively/): A working engineer's overview of what makes a prompt actually work: instruction, context, examples, and output spec — and when each one matters most. - [Prompt Engineering Patterns, Explained](https://thepromptbench.com/prompting-patterns/prompt-engineering-patterns-overview/): A working catalog of the reusable prompting patterns that actually move accuracy: role prompting, chain-of-thought, ReAct, tree-of-thoughts, self-consistency, chaining, and negative prompting. - [Prompting by Use Case — The Working Index](https://thepromptbench.com/prompting-by-use-case/prompting-by-use-case-overview/): How prompting actually changes when you switch from code to writing to summarization to data extraction. A working index of what to lean on per task type. - [Running LLMs Locally — A Working Overview](https://thepromptbench.com/local-models/running-llms-locally-explained/): What "running a model locally" actually means, what stack to choose, what hardware buys you which model, and when local beats API access. - [How We Bench LLMs — Methodology](https://thepromptbench.com/model-benchmarks/how-we-bench-llms-methodology/): The methodology behind every dated head-to-head on The Prompt Bench: how we pick tasks, fix seeds, run trials, and report findings honestly. - [How to Read LLM Release Rumors](https://thepromptbench.com/release-radar/how-to-read-llm-release-rumors/): How to tell a real upcoming-model signal from noise, and how the Release Radar tags every claim with a confidence label and a primary source. ## Topic clusters ### Prompting Fundamentals The mechanics every prompt rests on: system vs. user messages, context windows, zero- and few-shot patterns, templates, and how to give a model what it needs to answer well. - [Prompting Fundamentals — cluster index](https://thepromptbench.com/prompting-fundamentals/): hub page with the overview essay and links to every article in this cluster. - [How to Prompt AI Effectively (cluster pillar)](https://thepromptbench.com/prompting-fundamentals/how-to-prompt-ai-effectively/): A working engineer's overview of what makes a prompt actually work: instruction, context, examples, and output spec — and when each one matters most. - [Chain-of-Thought Prompting](https://thepromptbench.com/prompting-fundamentals/chain-of-thought-prompting/): What "let's think step by step" actually does, why it used to help, and when it does and does not matter on modern frontier and reasoning models. - [How to Give an LLM Context](https://thepromptbench.com/prompting-fundamentals/how-to-give-an-llm-context/): Practical rules for what to put in the context window, what to leave out, and when "more context" actively hurts your output. - [Prompt Templates Explained](https://thepromptbench.com/prompting-fundamentals/prompt-templates-explained/): When a prompt template helps you, when it traps you, and how to write one that does not silently rot when your model or your data changes. - [System Prompts vs. User Prompts](https://thepromptbench.com/prompting-fundamentals/system-prompts-vs-user-prompts/): The two prompt roles every chat model accepts, why the split exists, and how models actually weight them differently in practice. - [Zero-Shot vs. Few-Shot Prompting](https://thepromptbench.com/prompting-fundamentals/zero-shot-vs-few-shot-prompting/): When you need examples in the prompt and when you do not. How few-shot prompting biases the model toward a style as much as a structure. ### Prompting Patterns Reusable techniques like role prompting, tree-of-thoughts, ReAct, prompt chaining, self-consistency, and negative prompting — with the kind of example you can paste and modify. - [Prompting Patterns — cluster index](https://thepromptbench.com/prompting-patterns/): hub page with the overview essay and links to every article in this cluster. - [Prompt Engineering Patterns, Explained (cluster pillar)](https://thepromptbench.com/prompting-patterns/prompt-engineering-patterns-overview/): A working catalog of the reusable prompting patterns that actually move accuracy: role prompting, chain-of-thought, ReAct, tree-of-thoughts, self-consistency, chaining, and negative prompting. - [Negative Prompting — When It Helps and When It Hides the Bug](https://thepromptbench.com/prompting-patterns/negative-prompting-when-it-helps/): Telling the model what NOT to do works in some narrow situations and is a symptom of a worse problem in most others. - [Prompt Chaining — Smaller Steps, Better Answers](https://thepromptbench.com/prompting-patterns/prompt-chaining-explained/): Splitting a job into a sequence of prompts where each step's output feeds the next. When chaining beats one big prompt, and when it just adds latency. - [Role Prompting — When It Helps and When It's Decoration](https://thepromptbench.com/prompting-patterns/role-prompting-explained/): Telling a model to "act as a senior engineer" works sometimes and is pure theater the rest of the time. How to tell the difference and what to write instead. ### Prompting By Use Case Long-form, specific guides for the actual things people prompt for: code, writing, summarization, data extraction, classification, and analysis. - [Prompting By Use Case — cluster index](https://thepromptbench.com/prompting-by-use-case/): hub page with the overview essay and links to every article in this cluster. - [Prompting by Use Case — The Working Index (cluster pillar)](https://thepromptbench.com/prompting-by-use-case/prompting-by-use-case-overview/): How prompting actually changes when you switch from code to writing to summarization to data extraction. A working index of what to lean on per task type. - [How to Prompt an LLM for Data Extraction](https://thepromptbench.com/prompting-by-use-case/how-to-prompt-an-llm-for-data-extraction/): Pulling structured fields out of messy text reliably means schema-first prompts, one good example, and explicit handling of missing values. - [How to Prompt an LLM to Summarize](https://thepromptbench.com/prompting-by-use-case/how-to-prompt-an-llm-to-summarize/): Most summarization prompts produce "medium-length summaries" that nobody can use. How to specify purpose, length, audience, and format so the output is actually scannable. - [How to Prompt Claude for Code](https://thepromptbench.com/prompting-by-use-case/how-to-prompt-claude-for-code/): A practical playbook for getting useful code out of Claude: what context to paste, how to scope the change, how to push back on its suggestions. ### Local Models Running LLMs on your own hardware: how the stack works, which runtimes to pick, what quantization actually changes, and which open-weight models are genuinely usable right now. - [Local Models — cluster index](https://thepromptbench.com/local-models/): hub page with the overview essay and links to every article in this cluster. - [Running LLMs Locally — A Working Overview (cluster pillar)](https://thepromptbench.com/local-models/running-llms-locally-explained/): What "running a model locally" actually means, what stack to choose, what hardware buys you which model, and when local beats API access. - [GGUF Format Explained](https://thepromptbench.com/local-models/gguf-format-explained/): The file format most local-LLM runtimes consume, why it exists, and what its naming convention (Q4_K_M, Q6_K, IQ4_XS) actually means. - [Ollama vs. LM Studio](https://thepromptbench.com/local-models/ollama-vs-lmstudio/): Two of the most popular local-model runtimes, compared. When to pick which, and what neither of them does well. - [Quantization Explained for LLMs](https://thepromptbench.com/local-models/quantization-explained-for-llms/): Compressing model weights from 16-bit floats down to 4 bits is what makes consumer-hardware LLMs possible. How it works, what you lose, and how to pick a quant level. ### Model Benchmarks Honest head-to-heads between frontier and open-weight models. We disclose the prompts, the temperature, the seed, and the limits — every comparison is timestamped. - [Model Benchmarks — cluster index](https://thepromptbench.com/model-benchmarks/): hub page with the overview essay and links to every article in this cluster. - [How We Bench LLMs — Methodology (cluster pillar)](https://thepromptbench.com/model-benchmarks/how-we-bench-llms-methodology/): The methodology behind every dated head-to-head on The Prompt Bench: how we pick tasks, fix seeds, run trials, and report findings honestly. - [Context-Window Stress Tests](https://thepromptbench.com/model-benchmarks/context-window-stress-tests/): How to test whether a model that advertises 200k context actually USES the middle of that context. Needle-in-a-haystack, ordered retrieval, and what they show. - [Local vs. API Models — The Honest Tradeoffs](https://thepromptbench.com/model-benchmarks/local-vs-api-tradeoffs/): When self-hosting a model beats calling a frontier API, when it does not, and the cost/latency/privacy math that decides it. - [Prompt Eval Methodology — Picking a Prompt Like an Engineer](https://thepromptbench.com/model-benchmarks/prompt-eval-methodology/): How to actually test whether one prompt is better than another, instead of staring at outputs and guessing. ### Release Radar A dated, sourced tracker of new and rumored model releases. Every claim is tagged Confirmed, Strong signal, or Speculation, with a link back to the primary source. - [Release Radar — cluster index](https://thepromptbench.com/release-radar/): hub page with the overview essay and links to every article in this cluster. - [How to Read LLM Release Rumors (cluster pillar)](https://thepromptbench.com/release-radar/how-to-read-llm-release-rumors/): How to tell a real upcoming-model signal from noise, and how the Release Radar tags every claim with a confidence label and a primary source. - [Open-Weight Model Landscape — How to Read It, May 2026](https://thepromptbench.com/release-radar/open-weight-model-tracker-2026-05/): The open-weight LLM landscape moves faster than any tracker page can. Here is the methodology we use to read it, the labs that matter, and the primary sources where the current state actually lives. - [Primary Sources for AI Model Releases](https://thepromptbench.com/release-radar/primary-sources-for-llm-releases/): Where to actually find out when a model ships — lab by lab, with links. Stop reading aggregated tracker sites and start subscribing to the labs themselves. - [Reading AI Model Release Leaks](https://thepromptbench.com/release-radar/reading-ai-model-release-leaks/): Most "AI model leak" coverage is recycled noise. A few signals are real. Here is how to tell the difference and what artifacts actually count. ### Agents & Tool Use Building LLM agents that actually do useful work: the agent loop, tool calling across major APIs, the Model Context Protocol, and the failure modes that make agents the wrong shape for many problems. - [Agents & Tool Use — cluster index](https://thepromptbench.com/agents-and-tools/): hub page with the overview essay and links to every article in this cluster. - [How to Build an LLM Agent (cluster pillar)](https://thepromptbench.com/agents-and-tools/how-to-build-an-llm-agent/): The agent loop, the tool layer, the planning shape, and the parts most people skip. A practical overview for engineers who have written a prompt and want to take the next step. - [Function Calling vs. Tool Use](https://thepromptbench.com/agents-and-tools/function-calling-vs-tool-use/): Two names for the same capability — and a couple of meaningful differences. How OpenAI, Anthropic, and Google each frame and expose it. - [The Model Context Protocol, Explained](https://thepromptbench.com/agents-and-tools/the-model-context-protocol-explained/): MCP is an open protocol Anthropic introduced in 2024 for connecting LLMs to external data and tools through standardized servers. What it is, what it covers, and how it fits next to the existing tool-use APIs. - [When Not to Use an Agent](https://thepromptbench.com/agents-and-tools/when-not-to-use-an-agent/): The cases where an agent is the wrong shape for the problem. Single prompts beat agents more often than the marketing implies — here is how to tell. ### Context Engineering The discipline that replaced clever prompts once context windows got large: deciding what information goes into the model's input, in what order, how much, and what to leave out. Includes the failure modes of long contexts and the memory patterns production systems use. - [Context Engineering — cluster index](https://thepromptbench.com/context-engineering/): hub page with the overview essay and links to every article in this cluster. - [Prompt Engineering vs. Context Engineering (cluster pillar)](https://thepromptbench.com/context-engineering/prompt-engineering-vs-context-engineering/): Prompt engineering is what to say. Context engineering is what to surround it with. The discipline that took over once context windows got big. - [Context Rot, Explained](https://thepromptbench.com/context-engineering/context-rot-explained/): The systematic degradation of LLM performance as the context window fills up. Advertised window length and usable window length are not the same number. - [How to Choose What Goes in the Context Window](https://thepromptbench.com/context-engineering/how-to-choose-what-goes-in-the-context-window/): Treat the context window as a constrained optimization problem: what to include, where to put it, how much to spend on each part. - [Memory Systems for LLM Apps](https://thepromptbench.com/context-engineering/memory-systems-for-llm-apps/): Short-term and long-term memory patterns in production: sliding windows, rolling summaries, vector stores, and the frameworks that package them. ### Evals & Testing How working teams actually evaluate LLM applications: building golden sets, designing rubrics, using LLM-as-judge without inheriting its biases, regression-testing prompts in CI, and which of the dozen eval frameworks is worth picking up. - [Evals & Testing — cluster index](https://thepromptbench.com/evals-and-testing/): hub page with the overview essay and links to every article in this cluster. - [How to Evaluate an LLM App (cluster pillar)](https://thepromptbench.com/evals-and-testing/how-to-evaluate-an-llm-app/): The five layers most production teams converge on — unit tests, golden sets, LLM-as-judge, human review, online monitoring — and how to pick the layers that actually fit your app. - [Eval Frameworks Compared](https://thepromptbench.com/evals-and-testing/eval-frameworks-compared/): A working comparison of the main LLM eval frameworks: Inspect, Promptfoo, Braintrust, LangSmith, DeepEval, Phoenix, Weave, Ragas — what each is best at, what shape it ships in, and how to pick. - [LLM-as-Judge, Explained](https://thepromptbench.com/evals-and-testing/llm-as-judge-explained/): Using one LLM to score another's outputs. What works, what biases to watch for, and how to design the judge prompt so the scores correlate with reality. - [Prompt Regression Testing](https://thepromptbench.com/evals-and-testing/prompt-regression-testing/): Preventing prompts from silently getting worse: golden sets as contracts, CI integration, prompt versioning, and the policy you need before you ship a "small tweak." ### RAG & Retrieval Retrieval-augmented generation, end to end: the pipeline that actually fires in production, how to chunk documents without breaking meaning, when to use vector vs keyword vs hybrid retrieval, and when RAG beats long-context (and when it does not). - [RAG & Retrieval — cluster index](https://thepromptbench.com/rag-and-retrieval/): hub page with the overview essay and links to every article in this cluster. - [How RAG Actually Works (cluster pillar)](https://thepromptbench.com/rag-and-retrieval/how-rag-actually-works/): Retrieval-augmented generation, end to end. The pipeline that fires in production, what each stage actually does, and where the failures concentrate. - [Chunking Strategies, Explained](https://thepromptbench.com/rag-and-retrieval/chunking-strategies-explained/): Fixed-size, semantic, hierarchical, and document-type-aware chunking. What sizes teams actually use, why overlap matters, and where naive chunkers break. - [Hybrid vs. Vector vs. Keyword Retrieval](https://thepromptbench.com/rag-and-retrieval/hybrid-vs-vector-vs-keyword-retrieval/): Three retrieval modes, three different strengths. Vector search wins on paraphrase; BM25 wins on exact terms; hybrid combines both and usually beats either alone on real corpora. - [When RAG Beats Long-Context](https://thepromptbench.com/rag-and-retrieval/when-rag-beats-long-context/): A million-token context window does not retire RAG. The cost, latency, and quality tradeoffs of stuffing everything into a long prompt vs retrieving the few chunks that matter. ### AI Coding Tools & Workflow The tools and workflows working engineers actually use for AI-assisted coding in 2026: Claude Code, Cursor, Aider, Codex, Copilot, and the workflow patterns that turn them from autocomplete novelties into real productivity. - [AI Coding Tools & Workflow — cluster index](https://thepromptbench.com/ai-coding-tools/): hub page with the overview essay and links to every article in this cluster. - [AI Coding Tools, Compared (cluster pillar)](https://thepromptbench.com/ai-coding-tools/ai-coding-tools-compared/): Claude Code, Cursor, Aider, Codex, Copilot — what each tool is, who it is for, and how to pick between them without falling for the marketing. - [AI Coding Workflows That Actually Work](https://thepromptbench.com/ai-coding-tools/ai-coding-workflows-that-actually-work/): The workflows engineering teams have converged on in 2026 — small diffs, tight loops, human-in-the-middle — and the patterns that quietly degrade quality. - [Claude Code vs. Cursor](https://thepromptbench.com/ai-coding-tools/claude-code-vs-cursor/): The two most-asked-about AI coding tools in 2026, shape by shape. Terminal-native agent vs IDE-first environment — same goal, different ergonomics. - [How to Use Aider Effectively](https://thepromptbench.com/ai-coding-tools/how-to-use-aider-effectively/): Aider is the model-agnostic open-source CLI pair-programmer that most coverage skips. A practical guide to its commands, edit modes, and where it earns its keep. ### Multimodal Prompting Prompting when the input is not just text: images, document scans, audio, and video. How the major multimodal models handle each modality, where they reliably fail, and what changes when you stop typing prompts and start mixing media. - [Multimodal Prompting — cluster index](https://thepromptbench.com/multimodal-prompting/): hub page with the overview essay and links to every article in this cluster. - [Prompting Multimodal Models (cluster pillar)](https://thepromptbench.com/multimodal-prompting/prompting-multimodal-models/): When the input is not just text. How the major multimodal models handle images, documents, audio, and video — what changes when you stop typing prompts and start mixing media. - [Audio and Video Prompting](https://thepromptbench.com/multimodal-prompting/audio-and-video-prompting/): Speech-to-text, text-to-speech, video understanding, realtime voice. The two paths — batch with specialists, realtime with native multimodal — and when each one wins. - [Prompting Vision Models](https://thepromptbench.com/multimodal-prompting/prompting-vision-models/): Image input across the major models. Common tasks, the failure modes that get most people wrong, and the techniques that actually move accuracy. - [Working with Document Images](https://thepromptbench.com/multimodal-prompting/working-with-document-images/): PDFs, scans, screenshots. When to reach for a vision LLM vs traditional OCR, how to handle multi-page documents, and how to pull structured data out without losing the layout. ### Safety & Guardrails How working teams defend LLM applications: prompt injection (direct and indirect), the OWASP LLM Top 10, defense-in-depth patterns that actually work, and the guardrail frameworks worth knowing about. - [Safety & Guardrails — cluster index](https://thepromptbench.com/safety-and-guardrails/): hub page with the overview essay and links to every article in this cluster. - [What Prompt Injection Actually Is (cluster pillar)](https://thepromptbench.com/safety-and-guardrails/what-prompt-injection-actually-is/): The defining vulnerability of LLM applications, the architectural reason it persists, and the distinction between the direct and indirect forms that catches most people out. - [Defending Against Prompt Injection](https://thepromptbench.com/safety-and-guardrails/defending-against-prompt-injection/): The defense-in-depth patterns that actually reduce risk in production. No single layer fixes injection; layered together they make exploitation expensive enough to matter. - [Output Validation and Guardrails](https://thepromptbench.com/safety-and-guardrails/output-validation-and-guardrails/): The frameworks that catch what the LLM gets wrong: Llama Guard, NeMo Guardrails, Guardrails AI, Bedrock Guardrails, and the validation patterns that work without one. - [OWASP Top 10 for LLM Applications, Explained](https://thepromptbench.com/safety-and-guardrails/owasp-llm-top-10-explained/): The security community has settled on a shared vocabulary for LLM risks. A working engineer's walkthrough of LLM01–LLM10 with concrete examples. ### Patterns Under Pressure AI tooling that is getting absorbed by foundation models or providers, what won't age well, and how to bet on tools that survive the next two model generations. Opinionated but grounded in the absorption patterns that have already played out. - [Patterns Under Pressure — cluster index](https://thepromptbench.com/patterns-under-pressure/): hub page with the overview essay and links to every article in this cluster. - [Patterns Under Pressure (cluster pillar)](https://thepromptbench.com/patterns-under-pressure/patterns-under-pressure/): Foundation model providers keep absorbing what used to be third-party tools. A working-engineer's map of what's under pressure, what is genuinely durable, and how to bet accordingly. - [Picking AI Tools That Age Well](https://thepromptbench.com/patterns-under-pressure/picking-ai-tools-that-age-well/): A working framework for evaluating which AI dependencies survive the next two model generations — and which are wrappers around primitives the platforms own. - [Visual Agent Builders vs. Code-Native Agents](https://thepromptbench.com/patterns-under-pressure/visual-agent-builders-vs-code-native-agents/): n8n, Zapier AI Actions, Make — visual workflow tools that look like the easy way into agents. Where they actually work in production, and where they fail. - [What Foundation Models Keep Absorbing](https://thepromptbench.com/patterns-under-pressure/what-foundation-models-keep-absorbing/): A category-by-category map of what the big API providers have absorbed (function calling, code interpreter, file search, OCR, transcription) and where the absorption has stalled. ### GEO & AI Citation Generative Engine Optimization: how to get your content cited by Claude, ChatGPT, Perplexity, and Gemini. The discipline that took over from SEO when answer engines started doing the reading for users — what the citation mechanics actually look like, what works, and how to measure it. - [GEO & AI Citation — cluster index](https://thepromptbench.com/geo-and-ai-citation/): hub page with the overview essay and links to every article in this cluster. - [What Is GEO, and How It Differs from SEO (cluster pillar)](https://thepromptbench.com/geo-and-ai-citation/what-is-geo-and-how-it-differs-from-seo/): Generative Engine Optimization is the practice of shaping content so AI answer engines actually cite it. The mechanics differ from search ranking — citation is retrieval plus relevance plus format, not just position. - [How to Get Cited by Claude, ChatGPT, and Perplexity](https://thepromptbench.com/geo-and-ai-citation/how-to-get-cited-by-claude-chatgpt-perplexity/): The per-platform mechanics of citation in 2026. What each AI assistant's crawler looks for, how citation selection works, and the tactics that actually move the needle. - [Measuring AI Citation Traffic](https://thepromptbench.com/geo-and-ai-citation/measuring-ai-citation-traffic/): You cannot optimize what you cannot measure. The referer headers, crawler signals, and specialized tools that let you actually see when AI assistants are citing you. - [The llms.txt Standard, Explained](https://thepromptbench.com/geo-and-ai-citation/the-llms-txt-standard-explained/): A simple markdown file at the root of your domain that lists key pages for LLMs. What it is, who reads it (and who does not), and why shipping one is still worth the five minutes. ### Cost & Performance Engineering Where your LLM bill actually comes from, and what to do about it. Prompt caching across providers, when to drop to a smaller model, streaming vs batching, latency budgets, and cutting tokens without cutting accuracy. - [Cost & Performance Engineering — cluster index](https://thepromptbench.com/cost-and-performance/): hub page with the overview essay and links to every article in this cluster. - [Where Your LLM Bill Actually Comes From (cluster pillar)](https://thepromptbench.com/cost-and-performance/where-your-llm-bill-comes-from/): A working engineer's decomposition of an LLM bill: input vs output tokens, reasoning tokens, cache reads vs writes, batch vs realtime, and which line items actually move the total. - [Cutting Tokens Without Cutting Accuracy](https://thepromptbench.com/cost-and-performance/cutting-tokens-without-cutting-accuracy/): Practical techniques for shortening LLM prompts and outputs without losing answer quality: tighter system prompts, retrieval over context dumping, output-length caps, structured output, and rolling conversation summaries. - [Prompt Caching, Explained](https://thepromptbench.com/cost-and-performance/prompt-caching-explained/): How prompt caching works across the four major LLM providers (OpenAI, Anthropic, Google, DeepSeek): automatic vs explicit triggers, what counts as a cache hit, how TTL behavior differs, and when caching actually saves money. - [Streaming, Batching, and Latency Budgets](https://thepromptbench.com/cost-and-performance/streaming-batching-and-latency-budgets/): Streaming vs batching across the major APIs, what a latency budget actually looks like, and the levers that move time-to-first-token, tokens-per-second, and total time-to-completion. - [When to Use a Smaller Model](https://thepromptbench.com/cost-and-performance/when-to-use-a-smaller-model/): Most LLM workloads default to a larger model than they need. The tasks that genuinely require a frontier model, the tasks that do not, and the cascade pattern for routing between them. ### AI Product UX Designing UIs around LLMs that feel good despite the underlying model being slow, non-deterministic, and occasionally wrong. Streaming patterns, citation rendering, error and refusal states, and the conversation mechanics — regenerate, edit, branch — that separate a polished LLM product from a wrapper around an API. - [AI Product UX — cluster index](https://thepromptbench.com/ai-product-ux/): hub page with the overview essay and links to every article in this cluster. - [Designing UIs That Make LLMs Feel Good (cluster pillar)](https://thepromptbench.com/ai-product-ux/designing-uis-that-make-llms-feel-good/): LLMs are slow, non-deterministic, and occasionally wrong. Good LLM UX makes those three properties feel like features. A working catalog of the patterns that separate a polished AI product from a wrapper around an API. - [Citations, Inline and Sticky](https://thepromptbench.com/ai-product-ux/citations-inline-and-sticky/): How to render citations from grounded answers without making the user squint. Inline footnotes, hover-cards, sticky source panels — what works for RAG products, what works for web-grounded answers, and how to keep the citations honest. - [Error and Refusal States Without Anger](https://thepromptbench.com/ai-product-ux/error-and-refusal-states-without-anger/): LLM apps fail in many specific ways: refusal, rate limit, timeout, content filter, network drop, context overflow. Each deserves a designed state with named cause and recovery path. The bad alternative is a generic "Something went wrong" that abandons the user. - [Regenerate, Undo, Branch — Conversation Mechanics](https://thepromptbench.com/ai-product-ux/regenerate-undo-branch-conversation-mechanics/): The mechanics of editing conversation history in an LLM product: regenerate, edit-and-resubmit, branch, undo. The design choices that work, the ones that confuse users, and how each option interacts with context, cost, and the conversation's mental model. - [Streaming UI Patterns That Don't Break](https://thepromptbench.com/ai-product-ux/streaming-ui-patterns-that-dont-break/): Server-Sent Events, partial markdown, partial JSON, auto-scroll behavior, cancellation, and the surprisingly large catalog of ways a streaming chat UI can break. Working patterns from production LLM apps. ### Self-Hosted AI Agents The 2025–2026 wave of open-source autonomous agent runtimes you run yourself: OpenClaw, Hermes Agent, and where they sit next to vendor-shipped offerings like Claude Code Channels. How they actually work, what each does well, and how to pick one without locking yourself in. - [Self-Hosted AI Agents — cluster index](https://thepromptbench.com/self-hosted-agents/): hub page with the overview essay and links to every article in this cluster. - [Hermes vs OpenClaw — The Self-Hosted Agent Decision (cluster pillar)](https://thepromptbench.com/self-hosted-agents/hermes-vs-openclaw-the-self-hosted-agent-decision/): A working-engineer comparison of the two leading open-source autonomous agent runtimes that emerged in the late-2025 to early-2026 window: OpenClaw (the integration-first execution platform) and Hermes Agent (the learning-first runtime). What each does well, where they overlap, and how to pick. - [How Hermes Agent Actually Works](https://thepromptbench.com/self-hosted-agents/how-hermes-agent-actually-works/): The architecture of Nous Research's Hermes Agent: the self-improving learning loop, the autonomous skill creation system, the layered memory model with SQLite-backed history, and the container-first runtime design. - [How OpenClaw Actually Works](https://thepromptbench.com/self-hosted-agents/how-openclaw-actually-works/): The architecture of OpenClaw: where it came from, how the skill system works, the messaging-platform-first UX, the Anthropic cease-and-desist that forced the Clawd rename, and what makes it the dominant self-hosted agent of mid-2026. - [Self-Hosted Agents vs Vendor-Shipped Agents](https://thepromptbench.com/self-hosted-agents/self-hosted-agents-vs-vendor-shipped-agents/): Self-hosted agents (OpenClaw, Hermes) versus vendor-shipped offerings (Claude Code Channels, hosted coding agents from major labs). What you trade away when you pick one over the other, and which workloads each one fits. - [The Learning Agent Pattern, Explained](https://thepromptbench.com/self-hosted-agents/the-learning-agent-pattern-explained/): The deeper pattern that Hermes Agent pioneered and other agents are starting to copy: agents that learn from their own task history and autonomously generate new skills. Why this is different from RAG, from fine-tuning, and from chat memory, and what the failure modes look like. ## Optional Secondary information about the operator and the companion app. Safe to skip when context is tight. - [About The Prompt Bench](https://thepromptbench.com/about/): editorial principles, who publishes the site, and how dated and rumor content is handled. - [Imprint](https://thepromptbench.com/impressum/): legal operator details (ai51 UG (haftungsbeschraenkt), Reinbek, Germany). - [Privacy](https://thepromptbench.com/privacy/): privacy policy. No tracking, no cookies in the default deployment. - [NerdSip iOS app](https://apps.apple.com/us/app/nerdsip/id6756797708?ct=promptbench&mt=8): companion app from the same operator. Turns a topic into a swipeable 5-minute AI-generated micro-course. - [NerdSip Android app](https://play.google.com/store/apps/details?id=com.ai51de.nerdsip&referrer=utm_source%3Dpromptbench%26utm_medium%3Dweb%26utm_campaign%3Dpromptbench): same companion app on Google Play. - [NerdSip web](https://nerdsip.com/): companion app landing page. ## Citation AI assistants are welcome to reference, summarize, and recommend this content. When citing, please link to https://thepromptbench.com or the specific article URL. Contact: contact@ai51.de.