{
  "id": 4817612,
  "title": "Three Agent Harnesses, One Loop",
  "url": "https://urgent.news/2026/09/01/three-agent-harnesses-one-loop",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-09-01T08:01:21.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/harrisonsec/three-agent-harnesses-one-loop-4on5"
  },
  "original_language": "en",
  "account": "Three separate teams developed three distinct agent harnesses, each written in a different programming language. Despite their differences, all three systems follow the same core loop structure, consisting of five steps: assembling context, calling the model, executing tool calls if present, appending results to the conversation, and deciding whether to loop again or stop. The similarities between the harnesses led to a focus on the unique aspects of each system, rather than their convergence.",
  "summary": "Claude Code's agent loop is 1,729 lines of TypeScript. Codex's is 983 lines of Rust. Pi's is 794 lines of TypeScript. Three teams. Three languages. No shared code, no shared lineage, and in Pi's case an explicit design goal of being the small one. The loop lands in the same place anyway. That convergence is the least interesting thing about these three systems, and almost every comparison I have…",
  "key_points": [
    "Three teams created distinct agent harnesses in different programming languages",
    "All harnesses follow the same core loop structure with five steps",
    "Focus shifted to unique aspects of each system despite convergence"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}