Build Powerful AI Agents in Rust

The flexible, modular framework for production-ready AI agents. Model-agnostic. Type-safe. Blazingly fast.

🆕 Rust 2024🎨 Visual Builder🦀 Rust Native Async-first🔌 Pluggable
main.rs

Visual Agent Builder

Design, build, and deploy AI agents without writing code

ADK Studio - Workflow Editor
Start
User Input
Agent
Research
Output
Final Report
🖱️

Drag & Drop

Visual workflow designer with ReactFlow canvas

Code Generation

One-click export to production Rust code

📡

Live Streaming

Real-time SSE with agent animations

Why Choose ADK-Rust?

Built from the ground up for developers who demand performance, safety, and flexibility.

🎯

Model Agnostic

Gemini, OpenAI, Anthropic - switch models with one line. Use the best model for each task without vendor lock-in.

🔧

Modular Design

Use only what you need. Individual crates for agents, models, tools, sessions, and more.

Blazing Fast

Native Rust performance. Async-first design with minimal overhead. Built for production workloads.

🛡️

Type Safe

Catch errors at compile time. No runtime surprises. The Rust compiler has your back.

🚀

Production Ready

Sessions, artifacts, telemetry, multiple deployment modes. Everything you need for real applications.

🔌

Extensible Tools

Built-in tools plus easy custom tool creation. Extend agent capabilities without limits.

Try ADK-Rust AI Agents Live

Interact with real AI agents built using adk-rust. Experience the power firsthand.

🦀

Code Helper

Rust & adk-rust specialist for AI agent development

What this agent can do

⚙️
Rust Expertise

Deep knowledge of Rust idioms, patterns, and best practices

🤖
adk-rust Framework

Specialized guidance on building AI agents with adk-rust

🔍
Code Review

Analyze code for bugs, performance, and improvements

📚
API Guidance

Help with Gemini API integration and tool usage

Example prompts to try

Every Agent Type You Need

From simple chatbots to complex multi-step workflows, ADK-Rust has you covered.

💬

LLM Agent

Conversational agents with tool support and memory.

📋

Sequential Workflow

Step-by-step task execution pipelines.

🔀

Parallel Workflow

Concurrent processing for maximum speed.

🔁

Loop Workflow

Iterative refinement until completion.

🕸️

Graph Agent

Complex flows with conditional branches.

🎙️

Realtime Voice

Bidirectional audio streaming agents.

🔀

Router Agent

Intelligent routing to specialized agents.

See It In Action

Clean, expressive APIs that let you focus on building great agents.

basic.rs
1use adk_rust::prelude::*;
2
3#[tokio::main]
4async fn main() -> Result<()> {
5 let model = GeminiModel::new(&api_key, "gemini-2.5-flash")?;
6
7 let agent = LlmAgentBuilder::new("assistant")
8 .description("A helpful AI assistant")
9 .instruction("You are friendly and concise.")
10 .model(Arc::new(model))
11 .build()?;
12
13 Launcher::new(Arc::new(agent)).run().await?;
14 Ok(())
15}

Layered Architecture

A clean, modular design that separates concerns and enables flexibility.

Application Layer

Your agents and business logic

Runner Layer

Execution and orchestration

Agent Layer

LLM, Workflow, Graph agents

Service Layer

Models, Tools, Sessions, Storage

Integrates With Your Stack

Use your favorite model providers and deploy anywhere.

Google Gemini
Google Gemini
OpenAI
OpenAI
Anthropic
Anthropic
DeepSeek
DeepSeek

Deployment Options

💻

Console Mode

Interactive CLI for development and testing

🌐

Server Mode

REST API endpoint for web applications

🤝

A2A Protocol

Agent-to-Agent communication

Get Started in Minutes

Three simple steps to build your first AI agent with Rust.

1

Add to Cargo.toml

[dependencies]
adk-rust = "0.1.8"
tokio = { version = "1", features = ["full"] }
2

Create your first agent

let agent = LlmAgentBuilder::new("my_agent")
    .model(Arc::new(model))
    .build()?;
3

Run it!

$ cargo run

Stay Connected

Get updates on new features, releases, and agentic AI developments.

Click to rate, click again to clear

ADK-Rust | Build Powerful AI Agents in Rust