aether-agent-core 0.6.9

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
```rust
use aether_core::core::{Prompt, agent};
use llm::{ProviderFactory, providers::openai_compatible::generic::{GenericOpenAiProvider, ZAI}};

async fn example() -> Result<(), Box<dyn std::error::Error>> {
    let provider = GenericOpenAiProvider::from_env(&ZAI)?
        .with_model("glm-5.1");

    let (_user_tx, _agent_rx, _handle) = agent(provider)
        .system_prompt(Prompt::text("You are a helpful assistant."))
        .spawn()
        .await?;

    Ok(())
}
```