ultron-agent-core 1.0.0

Agent loop of packages/agent: turns over ai streaming, tool execution, steering/follow-up queues, abort, and the AgentEvent stream
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Rust port of Ultron's `packages/agent` loop (`agent-loop.ts`) and `Agent` (`agent.ts`): turns over a streaming
//! function, tool execution, the steering queue, abort, and the emitted [`AgentEvent`] stream.
//!
//! Evidence: `fixtures/generate.mjs` drives the TypeScript `Agent` with the TypeScript faux provider and records every
//! provider call and agent event; `tests/loop.rs` replays the provider events here and compares the agent events.

mod agent;
mod agent_loop;
mod types;

pub use agent::{Agent, AgentControl, AgentOptions, QueueMode};
pub use agent_loop::agent_loop;
pub use types::*;