# ADK-Rust: Build AI Agents in Rust with a Powerful Development Kit

This repository profile is provided by osrepos.com, an open source repository discovery platform.

Source: osrepos.com
Repository profile: https://osrepos.com/repo/zavora-ai-adk-rust
Generated for open source discovery and AI-assisted research.

ADK-Rust is a robust Agent Development Kit (ADK) for building AI agents in Rust. It offers a flexible framework with modular components for models, tools, memory, and real-time voice capabilities. Designed to be model-agnostic and deployment-agnostic, ADK-Rust empowers developers to create powerful and efficient AI agents.

GitHub: https://github.com/zavora-ai/adk-rust
OSRepos URL: https://osrepos.com/repo/zavora-ai-adk-rust

## Summary

ADK-Rust is a robust Agent Development Kit (ADK) for building AI agents in Rust. It offers a flexible framework with modular components for models, tools, memory, and real-time voice capabilities. Designed to be model-agnostic and deployment-agnostic, ADK-Rust empowers developers to create powerful and efficient AI agents.

## Topics

- Rust
- AI Agents
- Agent Development Kit
- ADK
- Realtime AI
- Machine Learning
- OpenAI
- Gemini

## Repository Information

Last analyzed by OSRepos: Tue Sep 01 2026 01:31:17 GMT+0100 (Western European Summer Time)
Detail views: 0
GitHub clicks: 0

## Safety Notice

OSRepos shares public repositories for knowledge and discovery only. Review source code, dependencies, licenses, and security implications before running or installing anything.

## Content

## Introduction

ADK-Rust is a production-ready Rust framework designed for building sophisticated AI agents. It provides a comprehensive and flexible toolkit, allowing developers to create AI agents with modular components for models, tools, memory, and real-time voice interactions. The framework is model-agnostic and deployment-agnostic, optimized for frontier AI models, and includes robust support for real-time voice agents.

The latest v2.1.0 release introduces significant enhancements, including portable, validated teams with exact handoff and delegation semantics, a Gemini Enterprise Agent Platform path, hardened ambient scheduling, runtime skill writing, and argument-level tool guardrails. It also features a new ADK-Rust-owned responsive runtime UI for conversations, team topology, event timelines, and shared state.

## Why Use ADK-Rust

ADK-Rust stands out for its performance, modularity, and extensive feature set. It boasts sub-millisecond agent loop overhead, significantly outperforming other frameworks like LangGraph, making it ideal for high-performance applications. The framework is composed of 43 publishable crates, offering a tiered feature system that allows developers to include only the capabilities they need, from minimal agents to full enterprise solutions with real-time audio, code execution, and sandbox environments.

Key capabilities include an embedded runtime UI, powerful tool integration with `#[tool]` derives, support for MCP clients and servers, various workflow agents (sequential, parallel, loop, graph), portable multi-agent teams, coding agents, real-time voice and video, RAG, and advanced memory management. It also provides enterprise-grade features such as governed computer use, agentic commerce, security (guardrails, RBAC, SSO), and comprehensive observability with OpenTelemetry tracing.

## Installation

Getting started with ADK-Rust is straightforward. First, install the `cargo-adk` subcommand:

bash
cargo install cargo-adk


Then, you can scaffold a new OpenAI agent with an HTTP runtime and embedded UI using the quickstart command:

bash
cargo adk new quickstart_agent --template api --provider openai
cd quickstart_agent
cp .env.example .env
# Open .env and replace the OPENAI_API_KEY placeholder, then:
cargo run


This will launch a server, and you can access the UI at `http://127.0.0.1:8080/ui/` to interact with your agent.

## Examples

ADK-Rust allows you to build a simple agent with minimal code. Here's an example of a basic Gemini agent:

rust
use adk_rust::prelude::*;
use adk_rust::Launcher;

#[tokio::main]
async fn main() -> AnyhowResult<()> {
    dotenvy::dotenv().ok();
    let model = GeminiModel::new(&std::env::var("GOOGLE_API_KEY")?, "gemini-3.7-flash")?;

    let agent = LlmAgentBuilder::new("assistant")
        .instruction("You are a helpful assistant. Be concise and accurate.")
        .model(Arc::new(model))
        .build()?;

    Launcher::new(Arc::new(agent)).run().await?;
    Ok(())
}


The `cargo-adk` CLI also provides various templates and addons to scaffold projects for different use cases:

*   `cargo adk new my-agent` (basic Gemini agent)
*   `cargo adk new my-agent --template tools` (agent with custom tools)
*   `cargo adk new my-agent --template rag` (RAG with vector search)
*   `cargo adk new my-agent --template realtime` (real-time voice agent)
*   `cargo adk new my-agent --template graph` (graph workflow with checkpoints)

For more examples, explore the [examples directory](https://github.com/zavora-ai/adk-rust/tree/main/examples){:target="_blank"} in the repository or visit the [ADK-Playground](https://github.com/zavora-ai/adk-playground){:target="_blank"}.

## Links

*   **GitHub Repository:** [https://github.com/zavora-ai/adk-rust](https://github.com/zavora-ai/adk-rust){:target="_blank"}
*   **Official Documentation:** [https://github.com/zavora-ai/adk-rust/tree/main/docs/official_docs/](https://github.com/zavora-ai/adk-rust/tree/main/docs/official_docs/){:target="_blank"}
*   **Wiki:** [https://github.com/zavora-ai/adk-rust/wiki](https://github.com/zavora-ai/adk-rust/wiki){:target="_blank"}
*   **API Reference (docs.rs):** [https://docs.rs/adk-rust](https://docs.rs/adk-rust){:target="_blank"}
*   **Crates.io:** [https://crates.io/crates/adk-rust](https://crates.io/crates/adk-rust){:target="_blank"}
*   **Companion Project, ADK-Studio (Visual Agent Builder):** [https://github.com/zavora-ai/adk-studio](https://github.com/zavora-ai/adk-studio){:target="_blank"}
*   **Companion Project, ADK-UI (Dynamic UI Generation):** [https://github.com/zavora-ai/adk-ui](https://github.com/zavora-ai/adk-ui){:target="_blank"}
*   **Companion Project, ADK-Playground (Examples):** [https://github.com/zavora-ai/adk-playground](https://github.com/zavora-ai/adk-playground){:target="_blank"}
*   **Discussions:** [https://github.com/zavora-ai/adk-rust/discussions](https://github.com/zavora-ai/adk-rust/discussions){:target="_blank"}