Skip to content

ogiberstein/agent-trainer-harness

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agent Trainer Harness

File-first multi-agent harness for AI-assisted product delivery. Framework-agnostic — works with Claude Code, Cursor, Copilot, or any AI IDE.

Pick Your Mode

Question Lite Full Concurrent
Scope 1-2 phases, single concern 3+ phases, multi-role delivery Large parallel build
Autonomy Human-in-the-loop Human-in-the-loop or autonomous Fully autonomous
Roles 3 (Orchestrator, Engineer, QA) 10 (PM, Designer, Engineers, QA, Docs, Growth, SME) 10 + parallel workers
Gates Informal Formal gate log in STATUS.md LLM-judged gates
When Bug fixes, scripts, small features MVPs, SaaS products, multi-week builds Week-long autonomous builds

Quick Start

New Project

  1. Pick your mode from the table above.
  2. Copy the contents of that mode's new-project/ folder into your empty repo.
  3. Open start.md and follow the instructions.
# Example: start a new full-mode project
cp -R full/new-project/* /path/to/your/new/repo/
cd /path/to/your/new/repo
# Open start.md and follow instructions

Existing Project

  1. Pick your mode from the table above.
  2. Copy the contents of that mode's existing-project/ folder into your repo.
  3. Open start.md — it will guide you through an audit-first onboarding:
    • Audit what exists in your project
    • Classify as well-structured / partial / bare
    • Add only what helps — never overwrite good existing docs
    • Validate with one cycle
# Example: add full-mode harness to existing repo
cp -R full/existing-project/* /path/to/your/existing/repo/
cd /path/to/your/existing/repo
# Open start.md and follow the audit-first flow

Graduation Path

Projects naturally grow. The harness supports upgrading between modes:

Lite ──────> Full ──────> Concurrent
  │                          ▲
  └──────────────────────────┘
  • Lite -> Full: Add gate log, handoffs, full role library, evaluation criteria, skills library.
  • Lite -> Concurrent: First upgrade to Full, then add runtime/ and cli/.
  • Full -> Concurrent: Add runtime/, cli/, configure config.yaml, run preflight.

Each existing-project start.md includes a detailed graduation guide.

CLAUDE.md Integration

If you use Claude Code with a global ~/.claude/CLAUDE.md config, add this trigger:

If AGENTS.md exists in the project root, read it first and follow harness instructions. The harness defines what to work on (phases, gates, files). Your CLAUDE.md defines how to work (behavior, delegation, verification). Both apply.

Folder Structure

agent-trainer/
├── README.md         ← you are here
├── LICENSE
├── lite/
│   ├── new-project/      16 files — copy into empty repo
│   └── existing-project/ 16 files — audit-first onboarding
├── full/
│   ├── new-project/      85 files — copy into empty repo
│   └── existing-project/ 85 files — audit-first onboarding
├── concurrent/
│   ├── new-project/     100 files — copy into empty repo
│   └── existing-project/100 files — audit-first onboarding
└── reference/
    └── architecture-spec.md  (frozen original vision)

Design Principles

  • AGENTS.md as map, not manual: Each mode's AGENTS.md is ~30-60 lines. It tells the agent what to read first and where to find everything else. Detailed rules live in the files they govern.
  • Three-zone model: Files are labeled as System (never delete), State (update as you work), or App (your workspace). Agents know what to touch and what to protect.
  • Audit-first onboarding: Existing projects are never blindly overwritten. The agent audits what exists, classifies the project, and adds only what improves outcomes.
  • Proportionality is the mode: Pick lite for small work, full for features, concurrent for big builds. No need for complex per-mode proportionality rules.
  • Additive phase summaries: Phase snapshots include "Carried Constraints" to prevent context collapse in long sessions.
  • Mechanical enforcement: cli/validate_harness.py checks consistency. Gate enforcement is structural, not advisory.
  • Runtime truth over stale artifacts: For deployment/live-run work, verify the actual runtime before calling status decision-grade; mark superseded deploy/config sections as historical. If multi-agent work is needed, propose the split explicitly rather than drifting into overlap.

Readings and Influences

This harness was shaped by hands-on trial and error across multiple real projects, combined with ideas from:

License

MIT — see LICENSE.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages