aether-agent-core 0.1.5

A minimal Rust library for building AI agents with MCP tool integration
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod agent;
mod agent_builder;
mod error;
mod prompt;

pub use crate::events::{AgentMessage, UserMessage};
pub use agent::*;
pub use agent_builder::*;
pub use error::*;
pub use prompt::*;

use llm::StreamingModelProvider;
use std::sync::Arc;

pub fn agent(llm: impl StreamingModelProvider + 'static) -> AgentBuilder {
    AgentBuilder::new(Arc::new(llm))
}