Wiki

Require all tool results to agree before terminating a batch

Pi’s loop stops after a tool batch only when every result in the batch sets the terminate flag. A single tool cannot unilaterally end the session — termination requires consensus, which prevents one misbehaving or over-eager tool from cutting off work the other tools in the batch still need.

Related:

  • Agent loops should encode failures as error tool results instead of throwing exceptions
  • LLM Agents

关系图谱

反向链接

  • Wiki
  • LLM Agents
  • Agent loops should encode failures as error tool results instead of throwing exceptions
  • Pi Agent Loop

Created with Quartz v4.5.2 © 2026