Summary
Harness Templates provide pre-built multi-agent architectures that encode proven orchestration patterns (planner → generator → evaluator). Instead of manually assembling agent configurations, users can select from built-in templates or fork and customize them.
Motivation
Orchestra has all the primitives (subagents, tools, MCP, A2A) but no pre-built orchestration patterns. Every user reinvents the wheel. Anthropic's research identifies specific multi-agent architectures that consistently outperform solo agents. These should be packaged as selectable templates.
Proposed Solution
HarnessTemplate entity bundling planner + generator + evaluator configs
- Four built-in templates seeded on first run:
- Solo — No planner, no evaluator. Best for quick tasks, Q&A, simple code.
- Reviewed — Evaluator with code quality criteria. Best for code generation with quality gates.
- Full Harness — Planner + evaluator with product depth criteria. Best for long-running app development.
- Frontend Design — Planner + evaluator with design quality criteria (Playwright MCP). Best for UI/UX work.
- CRUD API at
/api/v0/templates with fork support
- Template selector card grid in assistant creation flows
- Model recommendations and cost/time estimates per template
Key Files
Dependencies
- Requires evaluator-agent spec implementation
- Requires planner-agent spec implementation
Scope
| Area |
Changes |
| Backend schema |
HarnessTemplate, PlannerConfig, EvaluatorConfig Pydantic models |
| Backend API |
CRUD endpoints + fork support at /api/v0/templates |
| Seeder |
backend/seeds/harness_templates.py for built-in templates |
| Frontend |
TemplateCard, TemplateSelector components |
| Tests |
Unit + integration for schema, API, seeder, and frontend |
Summary
Harness Templates provide pre-built multi-agent architectures that encode proven orchestration patterns (planner → generator → evaluator). Instead of manually assembling agent configurations, users can select from built-in templates or fork and customize them.
Motivation
Orchestra has all the primitives (subagents, tools, MCP, A2A) but no pre-built orchestration patterns. Every user reinvents the wheel. Anthropic's research identifies specific multi-agent architectures that consistently outperform solo agents. These should be packaged as selectable templates.
Proposed Solution
HarnessTemplateentity bundling planner + generator + evaluator configs/api/v0/templateswith fork supportKey Files
.claude/specs/harness-templates.md.claude/plans/harness-templates.mdDependencies
Scope
HarnessTemplate,PlannerConfig,EvaluatorConfigPydantic models/api/v0/templatesbackend/seeds/harness_templates.pyfor built-in templatesTemplateCard,TemplateSelectorcomponents