Tiny Coding Agent
Build a bounded coding loop that applies exact patches to a disposable workspace and runs its real tests through an allowlisted tool contract.
A repair agent that exposes the patch/test evidence trail and refuses unsupported success claims.
- A repair agent that exposes the patch/test evidence trail and refuses unsupported success claims.
- The CLI copies a trusted Python workspace to a new destination, then runs its tests as local code.
- Python The standard library makes parsing, scoring, and failure handling visible without hiding the mechanism behind a framework.
Tiny Coding Agent in 4 stages
Build a bounded coding loop that applies exact patches to a disposable workspace and runs its real tests through an allowlisted tool contract.
Confine file tools to a workspace
Resolve existing relative file paths under a workspace and reject traversal, absolute paths, symlink escapes, and nonfiles.
starter · ~2 hours · Python
path containmenttool boundariesApply exact patches with preconditions
Replace one exact occurrence and preserve the file on missing or ambiguous matches.
core · ~2 hours · Python
patch preconditionsatomic writesRun real tests through one allowed command
Run unittest discovery in the workspace and report passed, tests, output, and a terminal state.
core · ~2 hours · Python
subprocesstimeoutstest evidenceStop the coding loop on evidence or budget
Consume patch and test actions, record results, and return completed, failed, or budget_exhausted.
stretch · ~2 hours · Python
agent loopallowlisted toolsterminal states