Install
Requires Rust 1.94 or newer (edition 2024).
From crates.io
The aidaemon-* crates are published with each release (the current one is 0.29.0):
Cargo.toml
[dependencies]
aidaemon-sdk = "0.25"
tokio = { version = "1", features = ["full"] }
serde_json = "1"Following master
Cargo.toml
[dependencies]
aidaemon-sdk = { git = "https://github.com/davo20019/aidaemon" }Breaking in 0.25
0.25.0 drops public items nothing used:
plans::tracking, plans::detection, the old skills prompt builders, and unused items in aidaemon-channels and aidaemon-memory.Features
aidaemon-sdk re-exports the kernel (aidaemon-core) and adds modules behind features of the same name:
| Feature | Module | Adds |
|---|---|---|
providers (default) | providers | Anthropic and OpenAI-compatible models, streaming |
tools (default) | tools | workspace file tools, search, sandboxed shell, web fetch |
policies (default) | policies | approvals, scope guard, redaction, memory injection, tracing |
agents (default) | agents | agents as tools |
sqlite (default) | store | durable runs on SQLite |
macros (default) | tool | the #[tool] attribute macro |
mcp | mcp | MCP servers as tools |
memory | memory | long-term memory |
channels, telegram, slack, discord | channels | chat channels |
otel | policies | OpenTelemetry tracing |
eval | eval | YAML scenario evals |
testing | testing | a scripted provider for tests and offline examples |
Take only the kernel with aidaemon-core if you want nothing else.
Provider keys
The preset reads ANTHROPIC_API_KEY, else OPENAI_API_KEY (with OPENAI_BASE_URL for any OpenAI-compatible server). With the lower-level builders, pass the key yourself: providers::Anthropic::builder().api_key(..).