Deterministic, local-first autonomous software engineering runtime.
go-harness combines deterministic orchestration with LLM reasoning. Rather than a single autonomous agent, it executes a staged pipeline backed by a shared workspace index.
User
│
▼
Coordinator
│
┌───────────────────┼───────────────────┐
▼ ▼ ▼
Planner Context Builder Validator
│ │ ▲
└───────────┬───────┴───────────┐ │
▼ │ │
Editor │ │
│ │ │
filesystem / git / shell tools │ │
▼ │ │
Repairer ───────────────┘───────┘
Workspace Index
┌──────────────────────────────────────────┐
│ Packages │ Files │ Symbols │ Graph │ AST │
└──────────────────────────────────────────┘
- Planner creates a task graph.
- Retriever queries the workspace index.
- Context Builder assembles minimal grounded context.
- Editor performs symbol-aware edits.
- Validator runs formatting and tests.
- Repairer fixes diagnostics until validation succeeds or retries are exhausted.
- AST-based workspace index
- Stale-safe persistent workspace index builds
- Symbol-aware editing
- Approval-gated tool execution
- Queue-driven
/thinkworkflow - Swarm workers
- Git worktrees
- Workspace diff previews
- Fast parallel validation
- Deterministic retrieval
- Self-healing validation loop
When installed, the go-harness binary stays under 10 MB instead of
carrying the full runtime directly. It delegates to the larger
go-harness-agent runtime binary. If go-harness-agent is available on
PATH, run:
GO_HARNESS_AGENT_BIN=go-harness-agent go-harnessgo-harness uses a small launcher binary plus a larger agent runtime binary. Release builds are size-optimized with:
go build -trimpath -ldflags "-s -w"Current macOS install size:
| Binary | Size |
|---|---|
go-harness |
1.8 MB |
go-harness-agent |
38 MB |
go-harness-filesystem |
2.4 MB |
go-harness-git |
2.2 MB |
go-harness-shell |
2.2 MB |
The launcher stays very small because it delegates to go-harness-agent.
The agent contains the main autonomous coding runtime, including orchestration,
queueing, workspace handling, tool execution, and validation support.
See LICENSE.