[ BEAST-ASSIST ]
The compiler answers at write time.
With beast-assist on, every source file an agent writes or edits is checked by that language’s own toolchain, and the diagnostics come back inside the same tool result. The model does not have to remember to verify.
[ HOW IT WORKS ]
A write comes back with the compiler’s verdict
Choose a step to light its part of the picture.
- Model
- The model
- Agent
- The agent writes or edits a file
- File
- The source file
- Checker
- That language’s own compiler or checker
Describe this diagram
A model on the left drives a console, the agent, which writes a source file in the middle. The file goes to a block on the right, that language’s own compiler or checker. From the checker an arc returns over the top to the agent: the diagnostics, inside the same tool result, and on to the model.
OPT-IN · v1.2
beast-assist shipped in v1.2 as a documented opt-in (BEAST_ASSIST=1) and is off by default. Its measured effect was small and inside the suite’s run-to-run noise, which is why the default has not changed.
Push diagnostics · from the design record
CHECKED
Kinds of source file with a checker
7Zig, Rust, Go, C, C++, Python, shell
A missing toolchain adds nothing to the result. It is never an error.
DEFAULT
Unless the operator turns it on
OFFsince v1.2
With it off, tool results are unchanged.
MEASURED
Full A/B replicates behind the decision
2per model, September 2026
Plus three untreated pairs that measured the suite’s own noise.
[ 01 · MECHANISM ]
Push, not pull
The agents already had a shell, and the compilers were already installed. They failed anyway, because a local model does not reliably choose to verify its own code. So the feedback is pushed.
In the result the model already reads
Diagnostics arrive in the answer to the write or edit call, unasked. There is no new tool for the model to learn or to forget.
The same flags as the grader
Each checker mirrors the flags the task validation uses, so a clean check means what the model will be judged on.
Built for stale APIs
The failures that motivated it were standard-library changes newer than a model’s training data, such as calls that moved or were renamed between compiler versions.
[ 02 · CHECKERS ]
What runs after a write
One checker per file type, each run from the toolchain installed on the machine. The Zig row is the one the design calls load-bearing: a syntax-only check passed stale code as clean, so a full semantic check is used.
| File type | Checker |
|---|---|
| Zig | A full compile with no output file. Its verdict is trimmed afterwards: trace noise is removed, and an unknown-member error gains a suggestion read from the installed standard library. |
| Rust | The compiler, emitting metadata only. |
| Go | The vet tool over the file and its siblings in the same directory. |
| C and C++ | The compiler in syntax-only mode with warnings on. |
| Python | A byte-compile in isolated mode. Syntax only. |
| Shell | A shell linter at warning level. |
[ 03 · EVIDENCE ]
A small effect, reported at its size
The project ran paired A/B cells over two days in September 2026, with two full replicates on each of two models and three untreated pairs to measure the suite’s own noise.
These results come from the project’s design record, not from the current benchmark board, and predate the v5 suite.
- The mechanism works. The flagship stale-library failure was fixed under diagnostics in every treated run and never in an untreated one.
- No harm was found. No treated run regressed a language the feature did not target.
- The capability effect is small. It was confined to the targeted language and was smaller than the run-to-run variation the untreated pairs measured, so a single run cannot show it.
- Two confounds were found and recorded: a reasoning-budget change that had been credited to diagnostics, and a checker bug that pushed occasional false errors into the treated runs.
The record’s own conclusion is that beast-assist ships off by default: free when idle, harmless, and honestly sized. The results addendum
[ 04 · RELATED ]
Feedback first, then knowledge
A compiler reports that a name does not exist without naming its replacement. That second half is the job of the language library.
OPT-IN
Escalation
With escalation also on, a compile error can arrive with the one-line fix the installed toolchain confirmed. Its A/B has not been run. beast-lang
Separate evaluation records
Evaluation rows produced with beast-assist on carry their own cache key and a provenance stamp, so they are never paired with rows measured without it.
[ 05 · SOURCES ]
Where this page comes from
Everything above restates the project’s own documents, read at upstream commit 8dfddb3c (2026-11-30). Nothing here was measured for this page.
- docs/LANG_AWARENESS_PLAN.md · a design record with results: the mechanism, the checker table, the A/B design and the results addendum
- docs/FEATURES.md · the shipped behaviour in one paragraph
- docs/reviews/BEAST_ASSIST_ROADMAP-2026-09-10.md · what could still move the score, and the stopping rule