Expand description
adk-rs — Rust port of the Google Agent Development Kit.
This crate is a single, feature-gated front door over what was originally a workspace of 17 sub-crates. See the README for a guided tour.
Re-exports§
pub use agents::BaseAgent;pub use agents::LlmAgent;pub use agents::LoopAgent;pub use agents::ParallelAgent;pub use agents::SequentialAgent;pub use error::Error;pub use error::Result;pub use runner::Runner;pub use tools::Tool;
Modules§
- a2a
- Agent-to-Agent (A2A) JSON-RPC protocol — client, server, and task persistence.
- agents
- Agent abstractions for adk-rs.
- auth
- Authentication subsystem.
- cli
- Library scaffolding for the
adkCLI. - code_
exec - Code-execution subsystem (
feature = "code-exec"). - core
- Core types and service traits for adk-rs.
- error
- Crate-wide
ErrorandResulttypes for the adk-rs workspace. - eval
- Evaluation framework for adk-rs.
- genai_
types - Wire-neutral generative-AI types used throughout adk-rs.
- mcp
- MCP (Model Context Protocol) client +
McpToolset. - providers
- LLM providers. Each provider is gated behind its own cargo feature.
- runner
- Runner orchestrator for adk-rs.
- server
- Dev HTTP server (axum) for adk-rs.
- services
- Pluggable services: session, memory, artifact, and credential.
- telemetry
- Tracing + OpenTelemetry plumbing for adk-rs.
- tools
- Tools for adk-rs. Provides the public
Toolalias (re-exported fromcrate::core::DynTool), aFunctionToolwrapper, and built-in tools. - transport_
security - Transport-security primitives shared by every outbound HTTP code path.
Macros§
- before_
agent_ callback - Macro that turns a regular
async fn(or closure that returns a future) into aBeforeAgentCallback-shaped value.
Attribute Macros§
- tool
#[adk::tool]— see crate docs.