Quick Start Guide
Get MIU running on your system and start building AI-powered coding agents.
Prerequisites
Before you begin, ensure you have:
- Python 3.11 or higher
- An API key from Anthropic, OpenAI, or Google
Installation
Unix/macOS:curl -LsSf https://raw.githubusercontent.com/vanducng/miu-mono/main/scripts/install.sh | bash
Windows (PowerShell):irm https://raw.githubusercontent.com/vanducng/miu-mono/main/scripts/install.ps1 | iex
# Install as a tool (recommended)
uv tool install miu-code
# Or run directly without installing
uvx miu-code "read README.md"
# CLI agent
pip install miu-code
# Full installation with all extras
pip install "miu-mono[all]"
Configuration
Set your API key for the LLM provider you want to use:
# Anthropic (default)
export ANTHROPIC_API_KEY="sk-ant-..."
# Google
export GOOGLE_API_KEY="..."
# OpenAI
export OPENAI_API_KEY="sk-..."
Store your API keys in a .env file in your project root for convenience.
Basic Usage
One-shot Query
Run a single command and get a response:miu -q "explain this codebase"
Interactive REPL
Start an interactive session: TUI Mode
Launch the full terminal UI: Custom Provider
Specify a different model:miu --model anthropic:claude-opus-4-20250805 -q "summarize README.md"
What’s Next?