How Agents Work
Each agent has:- A metric — what it’s trying to improve (test coverage, startup speed, code quality)
- An eval script — how to measure the metric (bash or TypeScript)
- A scope — which files it can modify
- A time budget — how long each round gets
Built-in Agents
TENET ships with 5 focused agents out of the box:Running an Agent
Agent Output
The Key Insight
Good eval = real gradient (12.8% coverage → 87% room to improve). Bad eval = ceiling (100% test pass rate → nowhere to go).What’s Next
Agent Configuration
TOML config reference — metrics, scope, time budgets.
Eval Scripts
Write eval scripts that produce real gradient.
Peter Parker
The meta-orchestrator that runs the nightly loop.
Creating Agents
Build custom agents for your own metrics.

