agent-control
A Python prototype that hands scoped work to a coding agent, checks the result, and keeps a record of what happened.
The problem
When I moved tasks between a chat and a coding tool, I kept repeating the instructions and piecing together what happened afterward. I wanted a way to follow one task from the original request to a result I could review.
Audience
Developers coordinating coding agents on their own projects.
My contribution
I defined what a worker could change, when it needed my approval, and what I wanted to see before accepting the result. I directed the prototype around those rules and worked through how it should handle a timeout or an attempt that went outside the agreed scope.
Decisions
- Keep the approved task small enough to describe the allowed changes and checks up front. Give separate review a record of the work to compare with that brief.
- Record blocked and interrupted runs so the next person can see what happened before deciding whether to retry.
Workflow
Start with a written task and approve its scope. The controller gives a coding worker an isolated workspace, gathers the changes, and runs the checks listed for that task. A separate review compares the result with the instructions. The run record shows what passed and what still needs a decision.
Implementation
- Python adapters collect structured results from coding CLIs and limit how long a worker can run.
- The controller records task events and results so an interrupted run leaves a record to inspect.
Outcome
The prototype made the handoff between instructions, coding, and review concrete. I could define the evidence needed for a result and see where the process stopped when it could not finish.