For teams who want evidence, not claims, before they invest in a context layer.
Updated
To measure whether business context improves an agent, run the same questions against the same model under several conditions: no context, schema only, document retrieval, and a context layer. Grade answers against a ground truth you wrote, repeat runs, and report the spread. This page is a method, not a result: BrainBox has not published benchmark numbers, and evals are on our roadmap.
Collect real questions your agent should answer, such as the ones people ask your data team. For each, write the correct answer yourself, and for SQL tasks write the reference query. Include questions that depend on business meaning ("active customer", "net revenue") as well as plain lookups. Keep the answers out of anything the agent can read.
Use the same model, system prompt, tools, temperature and retry policy in every condition. The only difference is the context in the table above. Load each condition from a config so the run can be repeated.
{
"model": "<your model>",
"questions": "questions.jsonl",
"conditions": ["none", "schema", "docs", "context-layer"],
"runs": 5
}For SQL, run the agent's query and the reference query and compare the result sets. A query can look right and return the wrong rows, and a different query can be right. For free-text answers, grade against a written rubric, and have a person check a sample of the grades.
Run each question several times per condition. Report the share correct per condition with the variation between runs, the kinds of failure (wrong table, wrong join, wrong filter, wrong metric), and cost and latency. Read the failures, not only the totals.
The Olist e-commerce sample works for a first run. In your agent, run the sample setup from Get started (init --demo olist) to load it as a sample Brain. Sample data: Brazilian E-Commerce Public Dataset by Olist, CC BY-NC-SA 4.0, adapted and shared under the same licence; free for non-commercial use; not affiliated with or endorsed by Olist.
npx -y @brainbox-labs/cli@latest init --demo olist| Condition | What the agent gets | What it isolates |
|---|---|---|
| A. No context | The question and database access only | The baseline |
| B. Schema only | Table and column names and types | What structure alone adds |
| C. Document retrieval | Passages retrieved from your docs | What text retrieval adds |
| D. Context layer | Entities, join keys, rules, metrics and docs over MCP | What a reviewed model adds |