Lesson 15.08 · Phase 15 · Capstone: Your Own Agent Harness
Ship it: CLI + docs
A harness nobody else can install, configure or trust isn't finished. Ship a command, a config file with safe defaults, a check the harness runs itself, and docs that say what it can't do.
Learning objectives
- Assemble every part into one build() function, driven by a config file merged over safe defaults.
- Ship a harness command (init, run, chat, tools, eval, trace) installable with pip install -e ..
- Add verification: after the agent says it's done, the harness runs a check command itself and sends failures back to the agent.
- Write the docs a user needs: install, commands, configuration, the files it writes, what to expect from small models, and limits.
After 15.07 you have a dozen modules and a demo per lesson. To use them on a real repository you'd write forty lines of wiring every time: which hooks, in which order, which rules, which servers. Get the order wrong (tracer after permissions) and denials vanish from the record. Get the config merge wrong and an empty list silently deletes your protections. That happened while building this lesson.
Loading the full lesson…