docs.rs failed to build adk-cli-0.3.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
adk-cli-0.2.1
adk-cli
Command-line launcher for Rust Agent Development Kit (ADK-Rust) agents.
Overview
adk-cli provides command-line tools for the Rust Agent Development Kit (ADK-Rust):
- Launcher - Interactive REPL for agent conversations
- Server Mode - HTTP server with web UI
- Session Management - Automatic session handling
- Telemetry - Integrated logging and tracing
Installation
[]
= "0.3.0"
Or use the meta-crate:
[]
= { = "0.3.0", = ["cli"] }
Quick Start
Interactive Mode
use Launcher;
use Arc;
async
Server Mode
# Run with serve subcommand
# Open http://localhost:8080 for web UI
Custom Configuration
use Launcher;
use InMemoryArtifactService;
use StreamingMode;
use Arc;
new
.app_name
.with_artifact_service
.with_streaming_mode
.run
.await?;
CLI Commands
When running in interactive mode:
| Command | Description |
|---|---|
| Type message | Send to agent |
/quit or /exit |
Exit REPL |
/clear |
Clear conversation |
| Ctrl+C | Interrupt |
Environment Variables
# Logging level
RUST_LOG=info
# API key (for Gemini)
GOOGLE_API_KEY=your-key
Features
- Colored output with streaming
- History support (arrow keys)
- Graceful shutdown
- Error recovery
Binary Installation
The adk binary is also available:
# Run your agent
Related Crates
- adk-rust - Meta-crate with all components
- adk-server - HTTP server
- adk-runner - Execution runtime
License
Apache-2.0
Part of ADK-Rust
This crate is part of the ADK-Rust framework for building AI agents in Rust.