Expand description
Modular Agent Core - A crate for building modular multi-agents intelligent systems.
This crate provides a set of tools and abstractions to create, configure, and run agents in a stream-based architecture. It includes support for defining agent behaviors, managing agent flows, handling agent input and output.
Re-exports§
pub extern crate self as modular_agent_ core; pub use llm::Message;pub use llm::ToolCall;pub use llm::ToolCallFunction;pub use photon_rs;pub use im;pub use inventory;pub use fnv;pub use indexmap;
Modules§
Structs§
- Agent
Config Spec - Agent
Configs - Agent
Context - Event-scoped context that identifies a single flow across agents and carries auxiliary metadata.
- Agent
Data - The core data structure for an agent.
- Agent
Definition - Agent
Registration - Registration entry emitted by the
#[modular_agent]macro. - Agent
Spec - Information held by each agent.
- Connection
Spec - Modular
Agent - Photon
Image - Provides the image’s height, width, and contains the image’s raw pixels. For use when communicating between JS and WASM, and also natively.
- Preset
- Preset
Info - Preset
Spec
Enums§
Traits§
- Agent
- The core trait for all agents.
- Agent
Output - AsAgent
- HasAgent
Data
Functions§
Type Aliases§
Attribute Macros§
- async_
trait - modular_
agent - Declare agent metadata and generate
agent_definition/registerhelpers.