yapi-agent 0.4.2

Agent loop with tool execution, steering and follow-up queues, and events. An internal library of yapi, with no stable API.
Documentation

yapi-agent

The agent loop of yapi, a Rust coding agent that runs Pi packages. It sends the conversation to the model, runs the tools the model calls, and repeats until the model stops calling them. Tools report progress as they run and stop when the run is cancelled. A message the user sends in the meantime waits in a queue: a steering message joins at the next turn, and a follow-up when the agent would otherwise finish. It ports Pi's pi-agent-core.

yapi-core builds on this crate and requires its exact version. It's an internal library with no stable API, so any release can change it. To write a yapi extension, use yapi-extension-api instead. The crate needs Rust 1.91 or newer.

License

MIT OR Apache-2.0, at your option.