1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//! The high-level agent API: build a system of agents with tools, then run it
//! either as **steps** driven by an external queue (serverless) or as a
//! self-contained **local system** with an internal queue and per-thread
//! drivers (resident processes).
//!
//! ```ignore
//! use infinity_agent_core::system::{AgentSystemBuilder, StaticModel};
//! use infinity_agent_core::stores::{InMemoryConversationStore, InMemoryStateStore};
//!
//! let model = StaticModel::new(provider, "my-model").await?;
//! let system = AgentSystemBuilder::new_local(
//! InMemoryConversationStore::new(),
//! InMemoryStateStore::new(),
//! model,
//! )
//! .tools(my_tools)
//! .start();
//!
//! let mut thread = system.thread_builder().launch().await;
//! thread.send_user_text("hello!").await?;
//! while let Some(event) = thread.recv().await { /* ... */ }
//! ```
//!
//! See the crate-level docs and the "Agent System API" section of the
//! Infinity Runtime documentation for the full picture, including how this
//! layers over the low-level API in
//! [`event_processor`](crate::event_processor).
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use StepOutcome;
pub