EN·ES·DE·PT·FR
⌘K

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:

FeatureModuleAdds
providers (default)providersAnthropic and OpenAI-compatible models, streaming
tools (default)toolsworkspace file tools, search, sandboxed shell, web fetch
policies (default)policiesapprovals, scope guard, redaction, memory injection, tracing
agents (default)agentsagents as tools
sqlite (default)storedurable runs on SQLite
macros (default)toolthe #[tool] attribute macro
mcpmcpMCP servers as tools
memorymemorylong-term memory
channels, telegram, slack, discordchannelschat channels
otelpoliciesOpenTelemetry tracing
evalevalYAML scenario evals
testingtestinga 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(..).