FAQ
This page answers the questions people actually ask. It’s a living document — when a new question comes up often enough, it lands here.
General
Section titled “General”What is ContextBrew, in one sentence?
Section titled “What is ContextBrew, in one sentence?”A compiler for AI context. You write specs; it generates tests, types, and recipes that turn AI coding agents into reliable implementers.
Is ContextBrew an AI agent?
Section titled “Is ContextBrew an AI agent?”No. ContextBrew is the feeding system for AI agents. You still need Claude Code, Cursor, Copilot, or whatever you prefer. ContextBrew makes them better, not redundant.
Does ContextBrew replace my IDE?
Section titled “Does ContextBrew replace my IDE?”No. Use whatever editor you like. The model files are plain JSON/text on disk. Context Studio (the web IDE) is one way to edit them; Vim, VS Code, or whatever you have is another. Many teams use a mix.
Is ContextBrew open source?
Section titled “Is ContextBrew open source?”Yes. The repository is at github.com/contextbrew/contextbrew. The CLI is not yet on npm — install it from source (Installation); the npm publish is pending. The Rust CLI is built in-tree from the Cargo workspace and is not on crates.io yet either.
Can I use ContextBrew without the IDE?
Section titled “Can I use ContextBrew without the IDE?”Yes. The CLI does everything the IDE does, just with less hand-holding. Many CI pipelines use only the CLI.
Does it work offline / with local models?
Section titled “Does it work offline / with local models?”Yes. The Execution Engine supports Ollama and any OpenAI-compatible endpoint. The recipes, models, and tests are all local files.
Adoption
Section titled “Adoption”Do I have to use all twelve models?
Section titled “Do I have to use all twelve models?”No. Use any subset. The platform only runs generators for models that exist in the project. See Which model do I need? for a decision guide.
Which model should I start with?
Section titled “Which model should I start with?”DDD. Always start with DDD unless you have a specific reason not to. The other models add capabilities; DDD is the foundation.
Can I add models later?
Section titled “Can I add models later?”Yes. Add a model file to your project, run ctx generate, and the
new generators kick in. Existing recipes may need updates if the
new model changes things.
Will the AI just write the spec for me?
Section titled “Will the AI just write the spec for me?”Partially — ContextBrew can generate a first draft of a spec from a prompt (“a booking system for a small travel agency”). Treat that as a starting point you’ll refine. The specs are still yours.
How long does adoption take?
Section titled “How long does adoption take?”- 5 minutes: install, run
ctx init, define one DDD aggregate, see tests appear - 1 hour: a few models filled out, a couple recipes generated
- 1 day: team-scale workflow, branching, reviewing by tests
There’s no “right” pace. Some teams adopt fully on day one. Others adopt one model at a time over weeks.
Can I import an existing project?
Section titled “Can I import an existing project?”Yes. The DSM model can be imported from an existing database schema. The DDD model can be proposed from the schema. USM and CBRL are typically written by hand. There’s an importer for each.
Technical
Section titled “Technical”What’s the file format?
Section titled “What’s the file format?”JSON for most models. Plain text (DSL) for CBRL. Mermaid-compatible for the visual models (DDD, USM, SCM, C4). Every format has a normative JSON Schema.
Can I edit the JSON by hand?
Section titled “Can I edit the JSON by hand?”Yes. The files are plain JSON on disk. Validate them with
ctx schema <format> against your local schema. The IDE is one
editor; notepad is another.
What if my model gets out of sync with my code?
Section titled “What if my model gets out of sync with my code?”The DeltaEngine detects it. When you run ctx generate, it diffs
the new artifacts against the old. Anything stale is regenerated.
You can also run ctxbrew check for a deterministic drift score
across your whole project, or ctxbrew stale for a staleness
listing per spec.
What’s the difference between a recipe and a code PR?
Section titled “What’s the difference between a recipe and a code PR?”A recipe is the specification of a change — context, tests, and work items. A code PR is the implementation of a change. The recipe is what gets handed to the AI; the PR is what gets reviewed by humans. They’re complementary.
What if the AI’s code doesn’t pass the tests?
Section titled “What if the AI’s code doesn’t pass the tests?”Two paths:
- Iterate. Re-run the recipe with the same model, or switch models. The agent sees the failing tests and adjusts.
- Edit the spec. If the agent consistently fails, your spec is probably wrong. Tighten the invariant or add an acceptance criterion. The AI is only as good as the spec.
Does ContextBrew support non-English specs?
Section titled “Does ContextBrew support non-English specs?”Yes — model fields can be in any language. The DSL keywords (CBRL’s
REQUIREMENT, ACCEPTANCE_CRITERIA, etc.) are English-only for now.
We’re tracking multilingual support.
What’s the minimum schema version I can target?
Section titled “What’s the minimum schema version I can target?”Any version that’s still in the conformance bundle. Schema versions follow semver; major bumps add a new directory rather than mutating the old one. Files are forever valid against the version they declare.
What AI models work best?
Section titled “What AI models work best?”Anthropic Claude Opus 4 is the strongest we see on long, complex recipes. Claude Sonnet is the best price/quality ratio. OpenAI’s GPT series and Google’s Gemini are competitive. Local models (via Ollama) work for simple recipes but struggle with long context.
The Execution Engine tracks cost per recipe, so you can compare.
Operations
Section titled “Operations”How does pricing work?
Section titled “How does pricing work?”The CLI is free. The IDE is free for self-hosted. Cloud-hosted Execution Engine usage is metered per token: the provider’s cost plus a platform margin (Pricing). Bring your own key via BYOK and the margin drops to zero; self-hosted models (Ollama) are free.
Does ContextBrew phone home?
Section titled “Does ContextBrew phone home?”No. The CLI and IDE work fully offline. The only network calls are the ones your AI provider makes, which you configured.
How do I back up my project?
Section titled “How do I back up my project?”The recipes directory is a git repo (you initialized it). The model files are regular files; back them up like any other source code. The Recipe Server (if you use it) is self-hostable.
Is there a Slack / Discord?
Section titled “Is there a Slack / Discord?”Community channels are being set up; see the repo README for the current links. In the meantime, discussions work today.
I found a bug. Where do I report it?
Section titled “I found a bug. Where do I report it?”GitHub issues. For security issues, see the SECURITY.md in the repo.
Still stuck?
Section titled “Still stuck?”- Read the Glossary for terminology.
- Walk through Quick Start end-to-end.
- Try First Project for a complete example.
- Ask the Context Coach inside the IDE (the chat button).
- Open a discussion.
