ADK-Rust
Agent Development Kit for Rust - Build AI agents with simplicity and power.
A flexible framework for developing AI agents. Model-agnostic, deployment-agnostic, optimized for Gemini.
Quick Start
1. Create a new project:
&&
2. Add dependencies:
[]
= "0.1"
= { = "1.40", = ["full"] }
= "0.15"
3. Set your API key:
4. Write src/main.rs:
use *;
use Launcher;
use Arc;
async
5. Run:
Adding Tools
let agent = new
.instruction
.model
.tool
.build?;
Workflow Agents
// Sequential execution
let pipeline = new;
// Parallel execution
let parallel = new;
// Loop until condition
let loop_agent = new;
Multi-Agent Systems
let coordinator = new
.instruction
.model
.sub_agent
.sub_agent
.build?;
Deployment
# Console mode (default)
# Server mode
Installation Options
# Full (default)
= "0.1"
# Minimal
= { = "0.1", = false, = ["minimal"] }
# Custom
= { = "0.1", = false, = ["agents", "gemini", "tools"] }
Documentation
License
Apache 2.0