Model-neutral runtime
Provider presets for DeepSeek, Qwen, Claude, OpenAI, local OpenAI-compatible endpoints, vLLM, SGLang, Ollama, and mock mode.
Clean-room coding-agent infrastructure
OpenCode Harness runs the same coding-agent workflow through a shared agent loop, permissioned tools, MCP extension points, JSONL traces, reproducible eval suites, trace-aware failure-mode diagnosis, and before/after reliability comparison.
Why it exists
Coding agents often ship as model-specific demos with hidden prompts, inconsistent tools, and weak audit trails. OpenCode Harness focuses on the runtime and evaluation layer: one task surface, many providers, reproducible traces, and reports you can inspect.
What is inside
Provider presets for DeepSeek, Qwen, Claude, OpenAI, local OpenAI-compatible endpoints, vLLM, SGLang, Ollama, and mock mode.
File reads/writes, search, patches, shell, git diff, repo maps, context packs, todos, and finish events with conservative policy gates.
Stdio MCP tools, resources, prompts, per-server approvals, lifecycle diagnostics, and namespace collision handling.
JSONL traces, provider transcripts, replay summaries, Markdown/HTML reports, trace-aware diagnosis, before/after comparisons, terminal trace viewer, and eval dashboard.
75-second demo
Product surface
python -m opencode_harness eval examples/mock-suite.json --preset mock --max-steps 2
python -m opencode_harness tui runs/latest.jsonl
python -m opencode_harness dashboard eval-runs --output eval-runs/dashboard.html
python -m opencode_harness diagnose eval-runs/path-to-run/report.json --output eval-runs/diagnosis.md
python -m opencode_harness diagnose-compare --before eval-runs/before/report.json --after eval-runs/after/report.json --output eval-runs/before-after.md
Model Labs
DeepSeek case study
The first DeepSeek-only benchmark set is published as a diagnostic artifact: smoke 1/4, long-context 1/4, and repair 0/2. The value is the failure signature: marker drift, tool-loop overrun, long-context synthesis gaps, and repair finalization gaps.
Open DeepSeek Casev0.1.0 released
The v0.1.0 release includes wheel and source artifacts, GitHub Actions CI, a release workflow, a model-eval workflow example, provider benchmark guide, changelog, and a reproducible local demo flow.
Download v0.1.0