LLM agent 的结构、包在模型外面的 harness、一个具体 agent loop(Pi)的实现取舍,以及 Agent Skills。分节沿用 index 的三个主题组:LLM Agent 架构与 harness,Agent loop 工程(Pi),Agent Skills。

Core Ideas

What an agent is

The harness around the model

Agent loop engineering (Pi)

Structure and state:

Failure handling:

Agent Skills

Open Threads

  • Is Pi’s stateless loop core with a stateful wrapper the same idea as keeping durable state in files, at a smaller scale? (lint X5)
  • Reflexion-style self-reflection helps, yet LLMs cannot self-correct without external feedback: how much of reflection’s gain is really environment feedback? (lint C2)
  • Lauren Tan ranks Rules and Skills below code and lint as places to put repeated corrections. When is a skill the right home for a correction, and when should it become code? (lint X4)