Skip to main content
Build evals extend the RL improvement loop to greenfield building. Instead of optimizing an existing metric, agents build new modules from specs and iterate until every assertion passes.

Quick Start

The fastest way to create a build agent:

The Pattern

  1. Write a spec describing what to build (or pass inline with --desc)
  2. tenet build generates the eval script with decomposed assertions
  3. tenet build generates the agent TOML config
  4. tenet build --run starts Peter Parker — the agent iterates from 0% → 100%
  5. PR created automatically when score hits 1.0
You can also do steps 1-3 manually for full control. tenet build just automates the proven pattern.

Writing a Build Eval

A build eval is a TypeScript file that checks spec compliance:

Agent TOML Config

Key Insight

“Granularity of feedback determines speed of convergence.”A monolithic eval with 16 checks stalled at 7% for hours. The same eval decomposed into 6 page-level evals — each hit 100% in one round. Same agent, same code, different gradient.

Build vs RL Agents