yapi-agent 0.4.1

Agent loop with tool execution, steering and follow-up queues, and events. An internal library of yapi, with no stable API.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#![doc = env!("CARGO_PKG_DESCRIPTION")]
#![forbid(unsafe_code)]

pub mod hooks;
pub mod run;
pub mod tool;

pub use hooks::AgentHooks;
pub use run::{
    AgentContext, LoopConfig, StreamFn, ToolCallOutcome, ToolCallScope, run, run_continue,
    run_tool_call,
};
pub use tool::{ExecutionMode, Tool, UpdateSink};