Skip to content

Welcome to ContextBrew

Welcome! If you’ve ever watched an AI coding agent confidently write the wrong thing — confidently plausible code that quietly violates a rule everyone on your team knows — this page is for you. ContextBrew was built to make that experience rare.

ContextBrew turns what you know about your system into what your AI agent needs to know about your system. You describe your domain, your users, your screens, your database. ContextBrew assembles the relevant slice, plus failing tests that pin down “done”, into a recipe — a self-contained work unit that any agent can implement against.

That’s the whole pitch. The rest of this page is the longer version, with pictures.

What’s actually frustrating about AI coding today

Section titled “What’s actually frustrating about AI coding today”

Most teams using AI coding agents (Claude Code, Cursor, Copilot) hit the same wall:

  • Prompts are vague. You write “implement the booking flow”, and the agent builds something — but it has to guess at invariants, edge cases, naming, structure, and a hundred small decisions.
  • Tests are missing. Without failing tests, “did the agent finish?” becomes a 30-minute manual review of every changed file.
  • Context is scattered. Slack threads, design docs, old PRs, the repo’s history — the agent sees none of it without you copy-pasting.
  • Output is inconsistent. Monday’s agent uses one pattern, Tuesday’s uses another. Code review becomes a style review.

ContextBrew doesn’t replace your AI agent. It feeds the agent better inputs — specifications instead of prompts.

Without ContextBrew With ContextBrew
You write a prompt You write a specification (or draw a diagram)
You hope the agent knows the business rules The agent gets the rules — every invariant, every access rule, every aspect
You review every line of generated code You review against tests that define done
Every agent run is a fresh start Recipes are versioned, branchable, mergeable
The agent’s output is a black box You see which model produced what, and at what cost
Knowledge lives in tribal memory Knowledge lives in the model files, traceable to tests

The first time you watch an agent implement a recipe and the tests pass on the first try — because the tests came from your own specs — you get the value proposition.

A platform with three parts:

  1. Specification models. Five (or twelve, with the optional ones) structured languages for describing your system. Each captures a different slice — the domain, the user stories, the requirements, the screens, the database, and so on.
  2. Generators. From the specs, ContextBrew auto-produces tests, type stubs, OpenAPI specs, navigation tests, access tests, recipe prompts — the things an AI agent would otherwise hand-write (badly).
  3. The Recipe Server. Git-like versioning for your specs. Branch, commit, tag, merge, diff. Track the evolution of what the system is, not just the code that implements it.

You can read more about each in Core Concepts.

Solo developers using Claude Code / Cursor

Stop copy-pasting context into prompts. Define your domain once, and every subsequent agent run gets it for free.

Small teams shipping fast

Onboarding a new engineer? Hand them the specs — they learn the domain in hours, not weeks.

Engineering leads & staff engineers

Visibility into what the AI is doing. Consistency across the team. Review-by-tests instead of review-by-diff.

Multi-service / platform teams

SIM (System Integration Model) keeps service topology, contracts, and dependencies explicit. SIM changes ripple to the affected recipes automatically.

If you’ve ever thought “the AI is great at mechanics and terrible at intent”, this is for you. ContextBrew’s whole job is to feed the AI intent.

When you open Context Studio’s welcome screen, there are five on-ramps — pick whichever matches what you already have:

  • An empty project. Start from nothing, with an editable starter-task checklist to keep you moving.
  • One line about your product. Describe what you’re building in a sentence; ContextBrew sketches the starting models.
  • A named template. Pick a ready-made project shape (web app, API service, and friends) instead of a blank page.
  • Your system, in a prompt. Describe the existing system and let extraction propose the spec — an empty prompt is allowed too, if you’d rather skip extraction.
  • Existing documents. Start from the docs and specs you already wrote, and import them into model files.

All five land in the same place: a .contextbrew project you can keep editing in the Studio, your editor, or the CLI.

  • A working CLI on your machine
  • A my-project directory with the canonical structure
  • One DDD aggregate (an Order with an invariant)
  • One recipe exporting a pasteable prompt
  • A passing test suite generated from your spec

The Quick Start walks you through the first 5 minutes. From there you decide how far you want to take it.

Honesty matters, so here are things ContextBrew does not try to be:

  • A code editor. You bring your own (VS Code, Cursor, JetBrains, …). ContextBrew writes specs; your editor writes code.
  • A replacement for thinking. The specs are still yours. ContextBrew amplifies good intent; it doesn’t substitute for bad intent.
  • A vendor-locked framework. The specs are plain files on disk (JSON, DSL, Mermaid). Export them anytime.
  • A magic AI that knows your business. You have to teach it, by writing specs. That’s the whole point.
If you want to… Read
Get something running in 5 minutes Quick Start
Understand the philosophy in depth Architecture
Look up what a term means Glossary
Decide which model to start with Which model do I need?
See answers to common questions FAQ
Walk through a complete project First Project

Welcome aboard. The rest of the docs are designed to be skimmed — read the Glossary first, then jump to whatever you’re trying to do.