Crate adk_cli

Crate adk_cli 

Source
Expand description

§adk-cli

Command-line launcher for ADK agents.

§Overview

This crate provides command-line tools:

§Quick Start

use adk_cli::Launcher;
use std::sync::Arc;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    // let agent = create_your_agent()?;
    // Launcher::new(Arc::new(agent)).run().await?;
    Ok(())
}

§Modes

  • Interactive: REPL with history and colored output
  • Server: HTTP server with web UI

Re-exports§

pub use launcher::Launcher;
pub use launcher::SingleAgentLoader;

Modules§

config
console
launcher
Simple launcher for ADK agents with CLI support.
serve