Skip to main content

Crate adk_rs

Crate adk_rs 

Source
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 adk CLI.
code_exec
Code-execution subsystem (feature = "code-exec").
core
Core types and service traits for adk-rs.
error
Crate-wide Error and Result types 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 Tool alias (re-exported from crate::core::DynTool), a FunctionTool wrapper, 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 a BeforeAgentCallback-shaped value.

Attribute Macros§

tool
#[adk::tool] — see crate docs.