aidaemon-sdk
Tier: public contract. Semver-checked in CI; breaking changes only in a new minor version while 0.x, with a migration note.
One dependency for building agents in Rust. It re-exports aidaemon-core and adds optional modules, one feature each: providers, tools, policies, agents, sqlite, macros, memory (all default), plus mcp, eval, channels, telegram, slack, discord, conformance, testing.
use *;
/// Today's weather for a city.
async
let agent = preset
.provider_from_env // ANTHROPIC_API_KEY, OPENAI_API_KEY, GEMINI_API_KEY, ...
.instructions
.tool
.build
.await?;
let outcome = agent.run.await?;
println!;
preset turns on the safeguards and a run store; the model is offered only the tools you name. In tests, testing::ScriptedProvider stands in for the model. Background work runs on the kernel's ServiceHost. See the examples (quickstart, sub_agent, scheduled_worker, own_channel, coding_agent).
Part of the aidaemon SDK; every SDK crate shares the workspace version. Not published to crates.io: depend on the repository. MIT licensed.