Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

I Read a 4-Million-Line Study of AI Coding Agents. It Described My Own Tool.

Description and use

A 4‑million‑line study shows that the harness, not the LLM, defines agent behavior; most systems hand‑roll loops and avoid general frameworks. The author verified Pi’s compaction logic and hooks, confirming the study’s findings.

Problem

Developers need to understand how coding‑agent harnesses differ from the underlying LLMs and how design choices affect safety, performance, and extensibility.

Outcome

The study demonstrates that harness design, not just the LLM, drives agent behavior. Key findings include the absence of general frameworks, lack of embeddings for code retrieval, and that loop sophistication does not predict performance. The author verified Pi’s compaction logic, hooks, and safety stance, confirming the study’s claims.

Workflow

  • 1. Read the study and identify key observations. 2. Map observations to the author’s Pi harness. 3. Verify claims against Pi’s documentation (e.g., compaction settings, hooks, safety design). 4. Apply the study’s 18 recommendations to future harness designs.
  • 5. Monitor convergence of design patterns across the ecosystem (e.g., skill formats, ACP usage).

Evidence

Agent = Model + Harness. The harness is everything except the model.

Source

Zero import a general‑purpose agentic framework. Not LangChain, not LangGraph, not AutoGen, not CrewAI, not LlamaIndex, not Pydantic AI, not Semantic Kernel.

Source

Pi compacts at contextWindow − 16,384, keeping 20K recent, and merges summaries iteratively rather than re‑summarizing from scratch.

Source

The paper’s conclusion: architectural complexity does not predict how well an agent scores, but it does predict production readiness.

Source

  • Record date: 2026-10-06T01:40:58.647Z