Sandbox
@deepklarity/harness-kit

Harness kit for agent-led coding workflows

Harness Kit combines a task orchestration CLI, a board for tracking work, and a set of reusable patterns for agent-led development. It turns specs into dependency graphs, routes tasks to agents, records evidence on the board, and keeps the process consistent with skills and docs you can reuse in other repos.

97 stars12 forksPythonUpdated 2mo ago
Who it's for

Builders who want their coding agent to plan, execute, review, and document work in a repeatable way.

What it delivers

You can run agent-led work as a tracked task graph instead of re-explaining the process each time.

What it does

Multi-agent orchestration

`odin/` plans, assigns, executes, and reflects across multiple agents.

Task board with proof of work

`taskit/` provides a kanban board, DAG view, timeline, and evidence trail for each task.

Portable skills

`.claude/skills/` packages patterns like RCA, compounding, mock-first, and audits for use in other repos.

Provider-aware routing

The planner can choose the cheapest capable agent based on cost, quota, and capability.

Structured engineering patterns

The docs describe red/green TDD, structured RCA, knowledge compounding, and loop audits.

Quota and usage checks

`harness_usage_status/` checks AI provider usage and quota status before work runs.

How to get it

  1. 1You don't have to install anything to get value from this repo. Point your coding agent…
    # from your project directory
    git clone https://github.com/deepklarity/harness-kit.git ../harness-kit
  2. 2Then paste this into your agent
    Read ../harness-kit/docs/Quickstart.md and follow it: audit this repo,
    show me the scored report, and adopt what I approve.

README

Harness Kit

Harness Kit is an open-source harness-engineering toolkit for building software with AI coding agents — a multi-agent orchestration CLI (odin), a task board with proof-of-work (taskit), and a set of engineering patterns we call Pattern Engineering: TDD-first execution, structured root-cause analysis, knowledge compounding, and cost-aware delegation. Work runs as a dependency graph across whichever agents you have (Claude, Codex, GLM, MiniMax, and more), and every task carries its evidence on the board.

https://github.com/user-attachments/assets/52352361-99ed-4c07-83c8-a28dc3b3ba5c

Pattern Engineering Quickstart

You don't have to install anything to get value from this repo. Point your coding agent (Claude Code, Codex, Cursor — any of them) at the Quickstart and it will audit your repo, score it, and adopt the practices you approve:

# from your project directory
git clone https://github.com/deepklarity/harness-kit.git ../harness-kit

Then paste this into your agent:

Read ../harness-kit/docs/Quickstart.md and follow it: audit this repo,
show me the scored report, and adopt what I approve.

The agent runs a read-only audit across eleven areas (agent entrypoints, testing discipline, knowledge compounding, verify gates, …), writes a scored report you can read in two minutes, and waits for your yes/no on each adoption. Full flow: docs/Quickstart.md.

Run the full kit

The board, the orchestrator, and the sandbox — a fresh clone to a merged sample task in about ten minutes:

git clone https://github.com/deepklarity/harness-kit.git
cd harness-kit
./dev.sh          # backend :9100, dashboard :9200, workers

Then follow QUICKSTART.md — it checks your provider with odin doctor and runs a small spec end to end: plan → sandbox → review → merge. Full guided tour of the UI: docs/walkthrough.md.

Status: experimental. We ship with it daily, and edges are rough. Platform notes and known gaps are in docs/guides/forkd-setup.md and each project's README — read those before filing an issue.

What it looks like

Board — kanban with agent assignments and status columns Board — drag-and-drop kanban with agent assignments

Spec — cost breakdown, task timeline, multi-agent execution Spec run — cost per agent, task timeline, proof of work

DAG — dependency graph with wave execution DAG view — tasks decomposed into dependency waves

What's inside

DirectoryWhat it does
odin/CLI for multi-agent orchestration — plan, assign, execute, reflect
taskit/Task board UI + API — kanban, DAG view, timeline, cost analytics
harness_usage_status/CLI to check AI provider quotas
.claude/skills/Portable skills: RCA, compounding, mock-first, audits — usable in any repo
docs/Patterns, testing process, flow traces, adoption checklist

How it works

  • Everything is a task. Work decomposes into a dependency graph; independent tasks run in parallel, dependent ones wait. Assembly, review, and testing are tasks too — no hardcoded stages.
  • Cheapest capable agent. The planner suggests assignments from cost, quota, and capability. You override when you want.
  • Proof of work. Every task carries evidence: agent output, screenshots, cost, duration. The board is the audit trail.
  • Reflection loops. Plan → execute → review → adjust. A reviewer model checks work before it merges; failures get root-caused, not retried blindly.
  • Agents ask, humans decide. When an agent is unsure it asks a question on the board and waits, instead of guessing.
  • Provider agnostic. Agents are swappable behind a harness interface.

The 20 tenets behind these choices: odin/docs/philosophy.md.

What is Pattern Engineering?

Our methodology inside harness engineering: instead of one-off prompts, encode the engineering discipline around agents as reusable, compounding patterns. Where context engineering shapes what a model sees and spec-driven development shapes what it builds, Pattern Engineering shapes how the work is engineered — and makes each run improve the next.

PatternWhat it encodes
Red/green TDDTest-writing agents get only behavioral requirements, never implementation. Tests must fail before implementation starts — the boundary is structural.
Mock-first developmentMock the UI, get human acceptance, then deepen layer by layer.
Structured RCAReproduce → locate → hypothesis → failing test → fix → verify → document. No jumping to fixes.
Knowledge compoundingEvery solved problem becomes a searchable pattern doc; every debugging session can become a flow trace. Agents search these before re-exploring.
Loop and slop auditsCan an agent debug this area alone? Is the codebase clean? Scheduled checks with scored reports.

These live as skills in .claude/skills/ and transfer to any repo — that's what the Pattern Engineering Quickstart installs.

FAQ

How is this different from Spec Kit or spec-driven development? Spec-driven development covers writing the spec. Harness Kit covers what happens after: decomposing the spec into a task graph, routing tasks to the cheapest capable agent, sandboxed execution, review, merge, and the evidence trail — plus the patterns that make the next spec cheaper.

Do I need the whole kit? No. The patterns and skills adopt into any repo via the Quickstart with nothing installed. The board + orchestrator are the optional second step.

Which agents does it work with? Claude Code, Codex, GLM and MiniMax (via opencode), and others behind a common harness interface. One authenticated provider is enough to start.

Is my code sent anywhere? Only to the AI providers you configure. The kit itself runs locally: SQLite, local services, sandboxed task execution in microVMs.

Motivation

Most AI tooling is one-shot: you prompt, you get output, nothing accumulates. We built Harness Kit so work accumulates — spec runs produce reflections, debugging becomes searchable traces, solved problems compound into patterns. The system gets better because the context gets richer, not just because models do.

Code is ephemeral here: fork it, rewrite it, build your own. The value is in the patterns and the orchestration. And spend your time on the spec — the system is only as good as what you feed it.

Resources

Writing that shaped this kit: Agentic Engineering Patterns (Simon Willison), Understanding is the new bottleneck (Geoffrey Litt), The unreasonable effectiveness of HTML (Anthropic), Compound Engineering Plugin, StrongDM Software Factory.

Roadmap

The living roadmap, scorecard, and backlog are in docs/fable_roadmap/ — the kit plans and builds itself through its own board, and grades itself against SCORECARD.md. Near-term focus: onboarding and getting-started, a rethought human inbox, scheduled self-audits, running on more machines.


Built by deepklarity.ai. MIT licensed. Contributions and issue reports welcome — and try other tools too; this is one approach that works for us, not the One True Way.

Files in the repo

Repository payload25 top-level entries
  • .claude
  • .github
  • docs
  • harness_usage_status
  • odin
  • plans
  • screenshots
  • scripts
  • taskit
  • testing_tools
  • tests
  • .env.example
  • .gitignore
  • .mcp.json
  • AGENTS.md
  • CLAUDE.md
  • dev.sh
  • install.sh
  • LICENSE
  • llms.txt
  • opencode.json
  • QUICKSTART.md
  • README.md
  • requirements-dev.txt
  • ruff.toml

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More harnesses

affaan-m/
ECC
affaan-m/ECCHarnesses

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

258k
ruvnet/rufloHarnesses

🌊 The original agent meta-harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

72k

Practical patterns, starters & CLI tools for loop engineering with AI coding agents. Design systems that prompt and orchestrate agents (inspired by Addy Osmani and Boris Cherny). Includes loop-audit, loop-init, loop-cost.

11k