cargo-adk-0.4.0 is not a library.
cargo-adk
Scaffolding CLI for ADK-Rust — generate agent projects from templates in seconds.
Install
Usage
# Create a basic Gemini agent
# Create with a specific template
# Use a different provider
# List available templates
Templates
| Template | What you get |
|---|---|
basic |
Gemini agent with interactive console (default) |
tools |
Agent with #[tool] macro custom tools |
rag |
RAG pipeline with Gemini embeddings + in-memory vector store |
api |
REST server with health check, ready for deployment |
openai |
OpenAI GPT-4o-mini agent with console |
Each template generates:
Cargo.tomlwith the right dependencies and feature flagssrc/main.rsthat compiles and runs immediately.env.examplewith the required API key variables.gitignore
Generated Project
my-agent/
├── Cargo.toml
├── src/
│ └── main.rs
├── .env.example
└── .gitignore
Part of ADK-Rust
This tool is part of the ADK-Rust framework for building AI agents in Rust.
License
Apache-2.0