Expand description
Agent loop — Rust port of packages/agent/src/agent-loop.ts.
Streams assistant deltas, executes tool calls, and surfaces permission
decisions. Cancellation is honored via StreamOptions::cancel.
Structs§
Functions§
- run_
agent - run_
agent_ with_ history - Continue a run with an existing transcript. Use this for
pi --resume.