A terminal chat UI for conversing with AI models via OpenRouter, built with Bubble Tea.
- Streaming AI responses rendered with Markdown support
- Multiple model selection via an in-app picker (
/model) - Slash-command autocomplete
- Alt-screen TUI with scrollable viewport
- Go 1.25+
- An OpenRouter API key
cp .env.example .env
# Edit .env and set your OPENROUTER_API_KEYmake run| Keybinding | Action |
|---|---|
Enter |
Send message |
Esc / Ctrl+C |
Quit |
/model |
Open model picker (↑↓ navigate, Enter select) |
/clear |
Clear conversation |
/quit or /exit |
Quit |
google/gemini-2.5-flash-lite-preview-09-2025minimax/minimax-m2.1z-ai/glm-4.7-flashdeepseek/deepseek-v3.2x-ai/grok-4.1-fastopenai/gpt-oss-120bopenai/gpt-oss-20b
make build # outputs to ./bin/foxmayn_ai_cli
make dev # hot-reload (requires: brew install watchexec)