Skip to content

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

Add 3 resources: claude-cookbooks, smolagents, extended thinking

noahbenjamin1994b019e6445a26
diff --git a/README.md b/README.md
index b31cecd..faf5d81 100644
--- a/README.md
+++ b/README.md
@@ -78,6 +78,7 @@ Harness components organized by the problem they solve, not by vendor.
- [ReAct: Synergizing Reasoning and Acting in Language Models](https://arxiv.org/abs/2210.03629) — The foundational paper defining the Thought/Action/Observation loop structure that underlies virtually every agent harness. Required reading for understanding why the loop is structured the way it is and where each harness component maps onto the reasoning-acting cycle.
- [Unrolling the Codex Agent Loop](https://openai.com/index/unrolling-the-codex-agent-loop/) — The canonical decomposition of what happens inside one agent loop iteration: observe, plan, act, verify.
- [LangGraph — Low Level Concepts](https://langchain-ai.github.io/langgraph/concepts/low_level/) — Models the agent loop explicitly as a directed graph with typed state, conditional edges, and checkpointing. The most concrete engineering treatment of loop control flow: how to implement termination conditions, branch on tool results, and persist mid-loop state for resumption.
+- [Extended Thinking — Claude API Docs](https://docs.anthropic.com/en/docs/build-with-claude/extended-thinking) — The harness-critical reference for integrating extended thinking into agent loops: `budget_tokens` controls reasoning depth per turn, thinking blocks **must be preserved** when passing tool results back (omitting them silently breaks multi-step reasoning), and thinking mode cannot change mid-turn. Essential before wiring extended thinking into any tool-use loop.
### Planning & Task Decomposition
@@ -161,6 +162,8 @@ Real repositories worth studying — each with a note on *why* it's worth your t
### Tutorials & Educational
+- [anthropics/claude-cookbooks](https://github.com/anthropics/claude-cookbooks) — Anthropic's official notebook collection covering orchestrator-worker patterns, parallel tool calling, programmatic tool calling (PTC), context compaction, and Agent SDK examples. The `patterns/agents/` directory is the reference implementation of every orchestration pattern described in *Building Effective Agents*. ![Stars](https://img.shields.io/github/stars/anthropics/claude-cookbooks?style=flat-square&label=★&color=yellow)
+- [huggingface/smolagents](https://github.com/huggingface/smolagents) — HuggingFace's deliberately minimal agent library (~1,000 lines of core code): the entire harness — tool validation, memory, monitoring, sandbox isolation (E2B, Docker, Pyodide) — is readable in an afternoon. The code-agent pattern (model writes Python that calls tools, eliminating JSON round-trips) is a concrete alternative loop design worth understanding. ![Stars](https://img.shields.io/github/stars/huggingface/smolagents?style=flat-square&label=★&color=yellow)
- [shareAI-lab/learn-claude-code](https://github.com/shareAI-lab/learn-claude-code) — Step-by-step deconstruction of Claude Code as an agent harness (s01–s12). Best resource for understanding how agent loop, tool use, skills, context compaction, and task management compose in practice. ![Stars](https://img.shields.io/github/stars/shareAI-lab/learn-claude-code?style=flat-square&label=★&color=yellow)
- [AutoJunjie/awesome-agent-harness](https://github.com/AutoJunjie/awesome-agent-harness) — Curated list organized into Full Lifecycle Platforms, Task Runners, Agent Runtimes, Coding Agents. Close to this list's scope; good complementary reference. ![Stars](https://img.shields.io/github/stars/AutoJunjie/awesome-agent-harness?style=flat-square&label=★&color=yellow)