Overview
The ADK CLI provides seven official starter templates, each designed for specific use cases. All templates are production-ready and include complete TypeScript configurations, example agents, and integration setups.Selecting a Template
When creating a new project, you’ll be prompted to choose a template:Available Templates
🤖 Simple Agent
A minimal starter template for building general-purpose AI agents. Template ID:simple-agent
Use Cases:
- Learning ADK basics
- General-purpose chatbots
- Custom agent prototypes
- CLI-based assistants
- Basic agent configuration
- Example conversation flow
- TypeScript setup
- Development scripts
🎮 Discord Bot
Integrate your AI agent with Discord for interactive server experiences. Template ID:discord-bot
Use Cases:
- Discord community assistants
- Gaming help bots
- Server moderation with AI
- Interactive Discord experiences
- Discord.js integration
- Message handling
- Agent conversation flow
- Bot configuration
- Slash command support
- Message listeners
- Channel-based conversations
- Role-based permissions
📱 Telegram Bot
Build AI-powered Telegram bots with seamless message handling. Template ID:telegram-bot
Use Cases:
- Telegram assistants
- Customer support bots
- Information retrieval bots
- Interactive Telegram experiences
- Telegraf integration
- Command handlers
- Conversation state management
- Bot configuration
- Command support (/start, /help, etc.)
- Inline keyboards
- Photo and file handling
- Group chat support
🚀 Hono Server
Build high-performance web APIs with Hono and AI agent endpoints. Template ID:hono-server
Use Cases:
- REST APIs with AI capabilities
- Serverless agent deployments
- Edge runtime agents
- High-performance backends
- Hono web framework setup
- RESTful agent endpoints
- CORS configuration
- Request validation
- Ultra-fast routing
- Middleware support
- Edge runtime compatible
- TypeScript-first
- Cloudflare Workers
- Deno Deploy
- Vercel Edge Functions
- AWS Lambda
🔌 MCP Starter
Integrate with Model Context Protocol (MCP) servers for enhanced agent capabilities. Template ID:mcp-starter
Use Cases:
- Agents with external tool access
- Integration with MCP ecosystems
- Enhanced agent capabilities
- IDE and editor integrations
- MCP client setup
- Server connection handling
- Tool integration examples
- Configuration templates
- Connect to MCP servers
- Access external tools
- Extend agent capabilities
- Resource management
- Filesystem
- Database
- HTTP APIs
- Custom servers
🌓 Near Shade Agent
Build agents that interact with the NEAR blockchain using Shade. Template ID:shade-agent
Use Cases:
- Blockchain interaction agents
- DeFi assistants
- NFT management bots
- Web3 automation
- Near Shade integration
- Wallet connection
- Transaction handling
- Blockchain queries
- NEAR Protocol integration
- Smart contract interaction
- Token transfers
- Account management
- Check wallet balance
- Transfer NEAR tokens
- Query smart contracts
- Deploy contracts
⚡ Next.js Starter
Full-stack AI agent application with Next.js and Tailwind CSS. Template ID:next-js-starter
Use Cases:
- Full-stack AI applications
- Customer-facing chat interfaces
- SaaS products with AI
- Interactive web experiences
- Next.js 14+ with App Router
- Tailwind CSS styling
- API routes for agents
- Modern UI components
- Responsive design
- Server and client components
- Streaming responses
- Beautiful chat UI
- SEO optimized
- Production ready
http://localhost:3000 to see your AI chat interface.
Deploy to:
- Vercel (recommended)
- Netlify
- AWS Amplify
- Self-hosted
Template Comparison
| Template | Complexity | Use Case | Integration |
|---|---|---|---|
| Simple Agent | Beginner | General purpose | None |
| Discord Bot | Intermediate | Discord servers | Discord.js |
| Telegram Bot | Intermediate | Telegram chats | Telegraf |
| Hono Server | Intermediate | REST APIs | Hono |
| MCP Starter | Advanced | Tool integration | MCP |
| Shade Agent | Advanced | Blockchain | NEAR |
| Next.js Starter | Advanced | Full-stack web | Next.js |
Template Features Matrix
| Feature | Simple | Discord | Telegram | Hono | MCP | Shade | Next.js |
|---|---|---|---|---|---|---|---|
| TypeScript | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| CLI Testing | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Web UI | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ |
| External Integration | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
| Production Ready | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Hot Reload Support | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Customizing Templates
All templates are fully customizable. After creation:Common Template Structure
All templates share a similar structure:Testing Templates
All templates support testing with the CLI: Terminal chat:Next Steps
CLI Commands
Learn all CLI commands for testing and development
Agent Builder
Build custom agents with the AgentBuilder API
Tools System
Add tools to extend agent capabilities
Examples
Explore complete example implementations