Anda is a Rust framework designed for building composable AI agent runtimes. It allows developers to combine models, tools, memory, and other agents into a single, unified runtime. The framework focuses on composability, type-safe extension points, asynchronous execution, and practical runtime control.
Key capabilities include:
- Model Routing: Routing requests through labeled tiers (e.g.,
primary, pro, flash, lite) using common request/output contracts. - Runtime Orchestration: Managing iterative model turns, tool calls, usage accounting, and long-running session handoffs via a
CompletionRunner. - Scoped Execution: Providing isolated state and capabilities (cache, object storage, HTTP, cancellation) through
BaseCtx and AgentCtx. - Discovery-aware Tools: Allowing agents to survey tool bundles using
tools_groups and expand them with tools_select on demand.