I have been writing code with AI agents since mid-2025. I started with Gemini 2.5 as an assistant: I drove, the model suggested things and wrote pieces. Even then there was one big problem: the models produced too much text. Every change ended with a new document, summary or plan, and I read less and less of it.
Later, when newer models started to finish larger tasks on their own, I moved to working in a loop. Today agents write almost all of my code: Claude Code, Codex, Gemini, Devin. They also built the tool this post is about, in nine days.
From bugs.md to my own tracker
At first I had two files: bugs.md and bugs_resolved.md. For small projects that worked. For EntropyLogix FX (an animation and effects app) it did not. There were more than 450 issues, mixed with notes on architecture, design decisions and plans. I could no longer tell what was open, what depended on what, and why something had been decided.
On top of that I had several sessions running in parallel, each in its own worktree. Agents found bugs along the way that had nothing to do with their task. Decisions were made in different sessions, and later nobody, me included, remembered where or why.
Jira or Linear did not fit. An agent works in a terminal, in its own checkout, and needs the project state right there, not in a browser.
Billet: issues as files in the repo
That is why I built Billet (the command is blt). Every issue is a Markdown file in .blt/, with a short YAML header, a description, history and notes. There is no database and no background service. I can open a file in my editor and read it. The agent uses blt (or an MCP server if it has no shell), which handles the write lock, dependencies and statuses.
id=$(blt add "Fix flaky test" -p 1 --body "details here") blt claim "$id" --by agent-1 blt review "$id" --summary "approach: quarantine the test" blt close "$id" --reason "verified fixed" --summary "quarantined" I added two more things, because without them the mess came back within a few days:
-
memory.md: short, lasting facts about the project. A SessionStart hook in Claude Code or Codex (or a plainblt start) gives them to the agent when a session starts. -
.blt/docs/<key>/: a directory for the longer documents of one issue. Design, architecture and each review round go there:review/round-01/handoff.mdfrom the developer,audit-*.mdfrom the auditors,decision.mdfrom the lead.
First by hand, then blt-loop
Once the state lived in files, I split the work into roles. Each role runs in its own fresh session:
designer (optional) -> architect (optional) -> contract audit (optional) -> developer -> auditors and lead -> closer Work can go back at each step. The contract audit can send the contract back to the designer or the architect, and the lead can send the work back to the developer for another round.
At first I started every role by hand. I opened a session, started the role, copied questions from one session to another, and carried the audit findings to the developer. The quality was clearly better than in one long chat. But the steps were the same every time, and I was the bottleneck.
So I made blt-loop, a skill for Claude Code (it also works with Codex, Devin and Antigravity, which is Gemini). Its main command is work: /blt-loop work B78 starts a supervisor session (a manager agent that does no role work itself). The supervisor decides which optional roles the issue needs, starts the roles in order, waits for them, and passes me only the questions I have to answer myself. I can still start a single role by hand, for example /blt-loop audit B79.
The supervisor works like this:
- It reads the issue and decides if it needs the designer, the architect and a contract audit. It writes the choice and the reason as a note on the issue.
- It starts each role as a new session in the background, with the model from my profile, and waits for it to end.
- If a role has a question for me, the supervisor shows it to me and passes my answer back word for word. It never answers for me.
- For small work only the lead audits; for large or risky work it adds more auditors in parallel. When the lead accepts, it starts the closer.
Here is a real run from today. I added an issue to publish Billet on crates.io and typed /blt-loop work B78. The supervisor decided the issue didn't need a designer or an architect, started the developer (Sonnet), then a second auditor and the lead (both Opus). Round one came back with one P2 and three P3 findings: missing tests, a message, a long README line. The developer fixed them, round two was accepted, and the closer (Haiku) made the commits. I didn't answer a single question; I just read the result. Every step left a file in .blt/docs/, so I can see later why something was decided.
Each role has its own model and effort level in a profile (blt-loop config), and roles can run on different agents, for example Codex as one of the auditors. A run has a limit of rounds, and blt-loop status shows where it is.
I built Billet itself this way. I had the idea on Wednesday evening, 25 November. The first version was in the repository the next morning, and today's version, more or less feature-complete (at least for now ;-)), nine days later: 79 closed issues and five versions, from 1.0 to 1.4. I moved EntropyLogix FX to Billet at the end of November: more than 480 issues, and the architecture and design now live in documents attached to specific issues instead of one big file.
What I learned
Prompts in plain English. All text that agents read (roles, templates, blt messages) is written in Basic English: short sentences, one meaning. It uses fewer tokens, and agents less often read it their own way. The same rule works the other way too: I ask agents for short reports that follow a template, or the Gemini 2.5 problem of too much text comes back.
Different models for different roles. My developer is Sonnet and my auditors are Opus. With Sonnet I see quite a few rework rounds, and Opus auditors are not cheap. I still think it is better than one model checking its own work, but it is a trade-off, not an obvious choice.
Small findings get lost. Low-priority findings (P3) are easy to drop. I added two rules. Priority only says in what order to fix things, not what may be skipped. And work found along the way goes in as a separate --proposed issue, with a note on where it came from.
Make decisions yourself, before the work starts. In one issue I left an open point "for the architect to decide", meaning the architect agent in the loop. It ended with 22 Opus sessions and 10 contract audits that never converged: the architect agent and the contract auditor kept reworking the contract. Since then, I make such decisions in the issue description before work starts, and the contract audit is limited to three rounds.
A person in the loop. An agent can propose an issue, take an approved one, do it and hand it in for review. Approving issues and changing scope is my job. In blt-loop the lead sends work back for rework and the closer closes the issue, but only because I started the loop. Nobody changes the contract without my OK.
Wrapping up
What helped me most was something unexciting: the project state in plain files next to the code, separate roles, and a person who makes the decisions.
Billet and blt-loop are MIT licensed:
- site: billet.entropylogix.com
- code: github.com/EntropyLogix/Billet
- install:
brew install entropylogix/tap/bltorcargo install --locked blt - blt-loop is installed by hand from a clone of the repository:
loop/install.sh(it needsblt,gitandjq; on Windows use Git Bash or WSL)
I am curious how others handle memory and code review when they work with agents.
Translated from Polish and edited with AI help.