A policy-aware Terminal User Interface (TUI) for working with Google’s Gemini platform, combining a chat-forward experience with safe tool orchestration.
# ADH CLI ADH CLI is a policy-aware Terminal User Interface (TUI) for working with Google’s Gemini / ADK platform. It combines a chat-forward experience with tool orchestration, safety checks, and human-in-the-loop confirmation so you can explore ideas safely from your terminal. ## Highlights - **Policy-aware orchestration** – Every tool call flows through a policy engine (`PolicyDecision`, safety pipeline, audit logging) before execution. - **Human-in-the-loop tooling** – The tool execution manager shows pending/active runs, supports confirmation and cancellation, and keeps a local history. - **Optional Google web tools** – Gemini’s built-in web search and URL context (requires Python 3.10+). - **Configurable agents** – Agents are defined in Markdown (`adh_cli/agents/`) and loaded at runtime with variable substitution and model overrides. - **Themed Textual UI** – Dark/light themes, command palette integrations, clipboard export, and keyboard-friendly chat navigation. - **XDG-compliant storage** – Config, policies, audit logs, and backups live under `~/.config/adh-cli/` via `ConfigPaths`. - **Well-tested codebase** – 300+ pytest cases cover core logic, UI widgets, policies, safety checks, and services. ## Quick Start ### Prerequisites - Python 3.10 or newer - [`uv`](https://github.com/astral-sh/uv) for fast, reproducible environments (pip works too) ### Clone & Install ```bash git clone https://github.com/allenhutchison/adh-cli.git cd adh-cli # Create and activate a virtual environment (uv recommended) uv venv source .venv/bin/activate # Windows: .venv\Scripts\activate # Install the project with development extras uv pip install -e '.[dev]' # or use the task helper task install-dev ``` ### First Run ```bash # Provide a Claude API key via env or .env export GOOGLE_API_KEY="your-api-key" # or GEMINI_API_KEY # Launch the TUI adh-cli # console script entry point # or use the task wrapper task run # Enable Textual dev tools task dev
Google's AI-powered research notebook that ingests your documents and becomes an expert on your content. Generates audio overviews, study guides, FAQs, and interactive discussions from uploaded sources.
Google DeepMind's experimental AI agent that can navigate websites, fill forms, and complete multi-step browser tasks autonomously. Uses Gemini's multimodal understanding to interact with web interfaces.
Google DeepMind's universal AI assistant prototype that can see, hear, and respond in real-time through your device camera and microphone. Demonstrates the future of multimodal AI interaction.
Google Cloud's enterprise platform for building, deploying, and managing AI agents powered by Gemini. Supports multi-agent orchestration, tool integration, and enterprise governance.
Gemini's agentic research capability that autonomously browses the web, synthesizes information from dozens of sources, and produces comprehensive research reports on any topic.
Interactive coding and content creation agent that generates, previews, and iterates on code, documents, and interactive applications in a side panel. Supports HTML/CSS/JS, Python, and more.