agent_stream_kit/
lib.rs

1//! Agent Stream Kit - A framework for building and managing agents in Rust
2//!
3//! This crate provides a set of tools and abstractions to create, configure, and run agents
4//! in a stream-based architecture. It includes support for defining agent behaviors, managing
5//! agent flows, handling agent input and output.
6
7mod agent;
8mod askit;
9mod board_agent;
10mod config;
11mod context;
12mod definition;
13mod error;
14mod flow;
15mod message;
16mod output;
17mod registry;
18mod runtime;
19pub mod test_utils;
20mod value;
21
22// re-export async_trait
23pub use async_trait::async_trait;
24
25// re-export photon_rs
26#[cfg(feature = "image")]
27pub use photon_rs::{self, PhotonImage};
28
29// Re-export the crate under its canonical name for proc-macros.
30pub extern crate self as agent_stream_kit;
31pub use inventory;
32
33// Re-exports askit_macros
34pub use askit_macros::askit_agent;
35
36pub use agent::{Agent, AgentData, AgentStatus, AsAgent, HasAgentData, agent_new, new_agent_boxed};
37pub use askit::{ASKit, ASKitEvent, ASKitObserver};
38pub use config::{AgentConfigs, AgentConfigsMap};
39pub use context::AgentContext;
40pub use definition::{
41    AgentConfigEntry, AgentDefaultConfigs, AgentDefinition, AgentDefinitions,
42    AgentDisplayConfigEntry,
43};
44pub use error::AgentError;
45pub use flow::{AgentFlow, AgentFlowEdge, AgentFlowNode, AgentFlows};
46pub use output::AgentOutput;
47pub use registry::AgentRegistration;
48pub use value::{AgentValue, AgentValueMap};