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 Pi: minimal terminal coding harness with lazy skills
ai-boost813a7aee105f
diff --git a/README.md b/README.mdindex c1bbfbb..5f19e0e 100644--- a/README.md+++ b/README.md@@ -396,6 +396,7 @@ Real repositories worth studying — each with a note on *why* it's worth your t- [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. - [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. +- [Pi](https://github.com/earendil-works/pi) — Minimal terminal coding harness built around "lazy skills": each capability keeps only a one-line description in active context, loading full instructions and tool schemas only when invoked. Keeps the system prompt under 1,000 tokens versus 7,000–10,000 for typical agents, making it a concrete reference for context-minimal harness design. ### Adjacent Collections