Every AI workflow has the same tax: you re-brief the model, it makes a mistake you’ve corrected before, you correct it again. ACE — Agentic Context Engineering — is a research framework that deletes the tax. Instead of fine-tuning the model, the agent maintains a playbook: a living document of lessons it writes for itself from its own corrections, one bullet at a time, voted on by results.
The source is a paper, not a hype post: “Agentic Context Engineering” by Zhang et al. (Stanford, SambaNova, UC Berkeley; arXiv 2510.04618, ICLR 2026), with official code at github.com/ace-agent/ace. Here’s how it works, what the paper actually measured, and the build that makes it concrete.
The results — the paper’s numbers, not the carousel’s
The paper reports ACE improving agent tasks by +10.6% and financial benchmarks by +8.6% — gains achieved by editing context, not weights. Note the finance figure: a popular carousel breakdown of ACE printed 8.8%. The paper’s abstract says +8.6%. Small difference, big principle — check the paper, not the post about the paper. (It’s the same discipline this whole site runs on: https://bigjermsays.com/how-to-make-money-with-ai-build-a-system-not-a-side-hustle/)
The loop: three roles and a merge that isn’t an LLM
- Generator — reads the full playbook plus the task, produces an answer — and reports which playbook bullets it relied on, by ID.
- Checker — plain code, not a model. Compares the answer to ground truth.
- Reflector — only fires on a wrong answer. It sees the Generator’s working and the correction, names the missed rule, and votes on every bullet the Generator used: helpful, harmful, or neutral.
- Curator — reads the Reflector’s lesson and returns only new bullets to add. It can never rewrite or delete.
- Merge (plain Python) — assigns IDs, strips formatting the model copied, skips near-duplicates, applies the vote counters, and prunes any bullet whose harmful votes exceed its helpful ones.
No LLM ever writes the playbook file. Models propose; code disposes. The bullets render in a fixed format — [rul-00001] helpful=5 harmful=0 :: <one-sentence lesson> — grouped under section headers, with IDs that are never reused, so the history stays auditable.
Why append-only beats rewriting
The obvious alternative — have the model periodically rewrite its whole instruction set — fails two ways, and the paper names both: brevity bias (rewrites summarize, and detail bleeds out with every pass) and context collapse (a rewrite can shrink the accumulated context catastrophically in one step). Delta updates avoid both. The playbook only grows by voted, deduplicated bullets, and shrinks only when results — not vibes — say a bullet hurts.
The demo that makes it click
A build guide walking the carousel circuit implements ACE on a deliberately tricky task: pricing GST invoices for a fictional Bengaluru distributor with four house rules the agent is never told (freight always taxed at 18%, discounts never apply to freight, GST rounded per line, a flat out-of-state fee). The agent attempts an invoice; a plain-Python checker grades it; on a miss, the agent reads the accountant’s line-by-line correction and adds one lesson bullet.
Per the guide’s acceptance test: with an empty playbook, the agent scores 4/16 on held-out invoices. After one training pass, the learned playbook — which converges to just 3 bullets — scores 16/16. Three sentences of earned context did what no amount of re-briefing does, because they were written by the failures themselves.
One honest caveat about that guide: its public version is incomplete — the deep sections on the three roles’ prompts and the full loop sit behind the creator’s paywall, so a faithful build implements those from the ACE paper itself, following the interfaces the public sections establish. And the guide carries a warning worth framing: ACE learns data bugs as faithfully as rules — one truncation bug in its ground-truth code briefly taught the agent a false rule. A self-writing playbook is only as honest as the checker grading it.
Why this pattern matters beyond invoices
Swap the domain for anything with a programmatic checker — code review against tests, support answers against a policy doc, drafts against a style rubric — and the loop transfers: attempt, check, reflect, add one bullet, prune by votes. It’s the research-grade version of a pattern I already run by hand: persistent written context that improves from corrections instead of being rebuilt from scratch. The playbook is the memory. The votes are the quality control. The human still owns the checker.
Start here
You don’t need the full fleet to start capturing lessons systematically. The starter version — templates and automations for keeping your own working playbook current — is here:
The Automation Starter Kit, $17
FAQ
Is ACE fine-tuning?
No — that’s the point. The model’s weights never change. Only the text in front of it (the playbook) evolves, which makes the system cheap to run, easy to inspect, and portable between models.
What do I need to build it?
The official code is at github.com/ace-agent/ace. The carousel build used Python, a free-tier Groq key, and an open model — the architecture is the contribution, not the model size. The paper does note Reflector quality is ACE’s main dependency: a stronger reflector makes better lessons.
Why can’t the Curator edit or delete bullets?
Because rewriting is how context dies. Deletion happens through the vote counters at merge time — a bullet is pruned when its harmful votes beat its helpful ones. Evidence removes lessons; editors don’t.
Where did the +8.6% figure come from if posts say 8.8%?
The paper’s abstract: +10.6% on agent tasks, +8.6% on finance. The 8.8% appears in a popular carousel’s text and doesn’t match the paper. When a summary and a source disagree, the source wins.
Jeremy Combs (Big Jerm) is the founder of Combs Intelligence Group LLC (combsintelligencegroup.com), a fractional CTO and AI governance practice that helps nonprofits, tribal enterprises, and founder led businesses adopt AI with real controls in place. He is also a co-founder of G1FTI, a crowdfunding platform for verified world changing missions. His background includes years of HIPAA certified technology work supporting tribal healthcare, and he is certified to teach the Anthropic AI Fluency framework. He holds an Associate's in Software Product Management from Oklahoma State University, Spears School of Business. Big Jerm Says is where he shares what he is building and learning in public.