Awesome list for AI agent harness engineering: tools, patterns, evals, memory, MCP, permissions, observability, and orchestration.
Python agent-harnessagent-memoryagent-orchestrationai-agent-harnessai-agentsawesome-listcontext-engineeringharness-engineeringmcp
Add tigicion/dao-code to Demo Harnesses section
Adrian Valee74d1654e274
diff --git a/README.md b/README.mdindex 00a7bad..5b46910 100644--- a/README.md+++ b/README.md@@ -459,6 +459,7 @@ Real repositories worth studying — each with a note on *why* it's worth your t- [AOHP](https://github.com/aohp-os/aohp) — Android Open Harness Project: an open-source OS-level agent harness built on AOSP that treats AI agents as first-class OS actors, redesigning service composition, agent interfaces, and information flow for personalized, efficient, and secure mobile interaction. It fills a rare gap by moving the scaffolding from an application layer down into the operating system itself, with early results reporting +21.12% task-completion rate and −51.55% token cost. - [desloppify](https://github.com/peteromallet/desloppify) — Agent harness that turns codebase quality improvement into a structured, score-driven workflow: mechanical detectors find dead code and complexity, LLM review assesses naming and abstractions, and a persistent `next` → fix → `resolve` loop keeps the agent on track across sessions. The anti-gaming score design — where wontfix items widen the gap between lenient and strict scores — is a rare example of harness-level incentive engineering that forces genuine improvement rather than metric hacking. - [DeepSeek-Reasonix](https://github.com/esengine/DeepSeek-Reasonix) — DeepSeek-native coding agent harness engineered around prefix-cache stability as a loop invariant: immutable-prefix / append-only-log / volatile-scratch partitioning achieves 99.82% cache-hit rates and ~5× cost reduction on long sessions. The most detailed public case study of designing an entire agent loop to preserve a provider-specific economic property rather than treating caching as an afterthought. +- [dao-code](https://github.com/tigicion/dao-code) — DeepSeek-V4 terminal coding agent harness that treats prefix-cache economics as a first-class design constraint: byte-stable system prompts, cache-reusing forks for reflection and memory, and a self-verifying cross-session memory layer keep real SWE-bench-style tasks at ~95.8% cache hit and ~30× cheaper than Claude Opus. A concrete demonstration that harness-level cache engineering can substitute for an expensive frontier model without sacrificing capability. - [SmallCode](https://github.com/Doorman11991/smallcode) — Terminal-native coding agent built from the ground up for 8B–35B local models. Its harness innovations are all compensations for small-model limitations: 2-stage tool routing halves schema overhead, a forgiving multi-format parser recovers from malformed JSON/YAML/XML tool calls, patch-first editing avoids the truncation errors common when small models rewrite entire files, and a context budget engine with mid-turn eviction and semantic compression keeps long sessions inside narrow context windows. Demonstrates that harness design — not model scale — is the binding constraint for reliable agent behavior: it achieves 87% benchmark scores with a 4B-active model. - [alibaba/open-code-review](https://github.com/alibaba/open-code-review) — Alibaba's production-grade code review agent combining deterministic pipelines with LLM reasoning: built-in fine-tuned rules catch NPE, thread-safety, and injection vulnerabilities at line-level precision, while the LLM layer handles nuanced design feedback. Demonstrates how hybrid harnesses can outperform purely model-driven or purely static-analysis approaches by assigning each layer the problems it solves best. - [DeerFlow](https://github.com/bytedance/deer-flow) — ByteDance's open-source SuperAgent harness built on LangGraph: orchestrates sub-agents with isolated contexts, persistent multi-tier memory, Docker/K8s sandbox execution, and on-demand skill loading for long-horizon tasks that span minutes to hours. A concrete reference for composing supervisor coordination, scoped delegation, and real execution environments into a single deployable harness. 