Skip to content

Awesome list for AI agent harness engineering: tools, patterns, evals, memory, MCP, permissions, observability, and orchestration.

Add statewright: state-machine guardrails that constrain agent tool use per workflow phase

ai-boost5d33f094e4d0
diff --git a/README.md b/README.md
index 139d9d2..ac26ab5 100644
--- a/README.md
+++ b/README.md
@@ -107,6 +107,7 @@ Harness components organized by the problem they solve, not by vendor.
- [The Design Space of Today's and Future AI Agent Systems](https://arxiv.org/abs/2604.14228) — April 2026 reverse-engineering of Claude Code's architecture revealing five-stage progressive compaction (budget reduction → snip → microcompact → context collapse → auto-compact), subagent isolation with rebuilt permission contexts, and a 27-event-type hook pipeline. The most detailed public analysis of a production agent loop's internal design decisions — essential for understanding how context pressure, safety, and delegation are handled at scale.
- [deepclaude](https://github.com/aattaran/deepclaude) — Ports Claude Code's full agent loop to DeepSeek V4 Pro and other Anthropic-compatible backends while preserving the same UX. The strongest practical evidence that loop architecture — not model identity — determines agent behavior, and a concrete starting point for building backend-agnostic harnesses. ![Stars](https://img.shields.io/github/stars/aattaran/deepclaude?style=flat-square&label=★&color=yellow)
- [The Coding Harness Behind GitHub Copilot in VS Code](https://code.visualstudio.com/blogs/2026/05/15/agent-harnesses-github-copilot-vscode) — VS Code team's breakdown of the coding harness behind GitHub Copilot: three core loop responsibilities (context assembly, tool exposure, tool execution), multi-provider model routing across Anthropic, Google, OpenAI, xAI, and Mistral, and the VSC-Bench eval suite with PR-gated assessment. The clearest published account of how a major product treats harness changes as first-class code review criteria — "the model is the engine, the harness is the car."
+- [statewright](https://github.com/statewright/statewright) — State machine guardrails that constrain which tools an agent can call in each phase of a workflow, turning open-ended loops into deterministic state transitions. The research result is striking: local models went from 2/10 to 10/10 passing on a SWE-bench subset purely by shrinking the tool space, proving that loop structure — not model size — is the binding constraint. ![Stars](https://img.shields.io/github/stars/statewright/statewright?style=flat-square&label=★&color=yellow)
### Planning & Task Decomposition