adk_cli/lib.rs
1//! # adk-cli
2//!
3//! Command-line launcher for ADK agents.
4//!
5//! ## Overview
6//!
7//! This crate provides command-line tools:
8//!
9//! - [`Launcher`] - Interactive REPL and server modes
10//! - [`SingleAgentLoader`] - Simple agent loader
11//!
12//! ## Quick Start
13//!
14//! ```rust,no_run
15//! use adk_cli::Launcher;
16//! use std::sync::Arc;
17//!
18//! #[tokio::main]
19//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
20//! // let agent = create_your_agent()?;
21//! // Launcher::new(Arc::new(agent)).run().await?;
22//! Ok(())
23//! }
24//! ```
25//!
26//! ## Modes
27//!
28//! - **Interactive**: REPL with history and colored output
29//! - **Server**: HTTP server with web UI
30
31pub mod config;
32pub mod console;
33pub mod launcher;
34pub mod serve;
35
36pub use launcher::{Launcher, SingleAgentLoader};