Introduction
The ADK CLI (@iqai/adk-cli) is a powerful command-line interface for building and managing AI agents with the Agent Development Kit. It provides project scaffolding, interactive testing interfaces, and intelligent agent discovery to streamline your development workflow.
Installation
Install the ADK CLI globally using your preferred package manager:Quick Start
Create your first ADK project in seconds:Core Features
Project Scaffolding
Quickly generate new ADK projects with pre-configured templates for various use cases:- Simple agents for general-purpose tasks
- Discord and Telegram bot integrations
- Web servers with Hono or Next.js
- MCP (Model Context Protocol) integrations
- Specialized agents like Near Shade
Interactive Testing
Test your agents with two powerful interfaces: Terminal Chat - Chat with agents directly in your terminal with markdown rendering:Agent Discovery
The CLI automatically discovers agents in your project by scanning for agent definitions. It intelligently locates agent files and provides selection prompts when multiple agents are found.Development Server
Start a full-featured API server for agent management:- Agent discovery and listing
- Message sending and conversation management
- Session persistence
- Health checks
- OpenAPI documentation
Hot Reload
Develop faster with automatic agent reloading:Architecture
The ADK CLI is built with:- NestJS - Modular framework providing dependency injection and scalable architecture
- nest-commander - CLI framework built on Commander.js
- TypeScript - Full type safety and modern JavaScript features
- esbuild - Fast agent bundling and execution
- @clack/prompts - Beautiful interactive CLI prompts
Requirements
- Node.js >= 22.0
- npm / pnpm / yarn / bun
The CLI requires Node.js 22 or higher for optimal performance and compatibility with modern JavaScript features.
Environment Variables
The CLI respects the following environment variables:| Variable | Description | Default |
|---|---|---|
ADK_DEBUG | Enable detailed framework logging | false |
ADK_VERBOSE | Enable verbose output | false |
NODE_ENV | Environment mode | development |
Next Steps
Commands Reference
Detailed documentation for all CLI commands and options
Starter Templates
Explore available project templates and their use cases
Agent Builder
Learn how to build agents with the AgentBuilder API
Examples
View complete examples and tutorials