Expand description
Core traits, data models, and utility helpers for the Anda agent framework.
anda_core defines the stable interfaces shared by Anda runtimes,
agents, tools, model adapters, and clients. It intentionally keeps runtime
orchestration and provider integrations out of this crate; those pieces are
implemented by higher-level crates such as anda_engine.
The main building blocks are:
AgentandAgentSetfor registering and running AI agents.ToolandToolSetfor type-safe tool implementations.BaseContextandAgentContextfor execution capabilities.Message,ContentPart,CompletionRequest, and related model types for LLM provider adapters.- HTTP and CBOR/Candid RPC helpers for remote engine and canister calls.
Re-exports§
pub use agent::*;pub use context::*;pub use http::*;pub use json::*;pub use model::*;pub use tool::*;
Modules§
- agent
- Agent traits and registries.
- context
- Execution context traits for agents and tools.
- http
- HTTP utilities for CBOR and Candid RPC calls.
- json
- model
- Core data models shared by agents, tools, and model adapters.
- tool
- Tool traits and registries.
Functions§
- path_
join - Joins two object-store paths without percent-encoding and lowercases the result.
- path_
lowercase - Returns a lowercase copy of an object-store path.
- validate_
function_ name - Validates an agent or tool function name.
- validate_
path_ part - Validates a single path component used in agent, tool, or user namespaces.