Skip to content

feat: Harness Templates — reusable planner→generator→evaluator architectures #911

@ryaneggz

Description

@ryaneggz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestharness-designHarness design feature set (v0.9-v0.10)phase-4Phase 4: Composition features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions