Anvil
The AI coding assistant that works the way you do.
Multi-provider support for Anthropic Claude, OpenAI OpenAI, and local Ollama models.
Full-screen TUI with 1M token context, persistent memory via QMD, automatic context archival,
and an extensible marketplace at AnvilHub. Built by Culpur Defense. 13MB. Zero runtime dependencies. QMD knowledge base engine recommended for intelligent context (github.com/tobi/qmd).
macOS / Linux:
curl -fsSL https://anvilhub.culpur.net/install.sh | bash
Windows (PowerShell):
irm https://anvilhub.culpur.net/install.ps1 | iex
Why Anvil?
Multi-Provider
Switch between Anthropic Claude, OpenAI OpenAI, local Ollama, and xAI Grok instantly with /provider. Smart failover auto-switches when rate limits hit.
1M Token Context
Never lose context. When the window fills, conversations are automatically archived and indexed. QMD-powered retrieval brings relevant history back on the fly.
44+ Built-in Tools
Bash, file operations, 8 web search providers, MCP servers, LSP integration, image generation, and more. Extend with skills and plugins from AnvilHub.
Full-Screen TUI
Tabbed sessions, streaming output, tool call visualization, and a rich status footer. Vim keybindings, file drag-and-drop, and image paste support.
Persistent Memory
QMD knowledge base automatically injects relevant context from your codebase and previous sessions. Pin files, search inline with /qmd.
Interactive Configuration
Full interactive /configure menu with arrow-key navigation. Manage providers, models, context, search, permissions, and integrations without leaving the TUI.
Quick Start
# Install Anvil
curl -fsSL https://anvilhub.culpur.net/install.sh | bash
# Login to your preferred provider
anvil login
# Start coding
anvil
# Or use a specific model
anvil model claude-sonnet-4-6
anvil model OpenAI-mini
anvil model llama3.2
# Resume your last session
anvil continue
# Browse the interactive config
/configure
Supported Providers
Anthropic
Claude Opus 4.6, Sonnet 4.6, Haiku 4.5
OAuth · API Key
OpenAI
OpenAI, OpenAI, o3, Codex, Image
API Key
Ollama
Llama, Mistral, Qwen, Gemma, DeepSeek
Local · No API key needed
xAI
Grok
API Key
Key Features
- ✓ Multi-provider failover with budgets
- ✓ 8 web search providers built-in
- ✓ Tabbed sessions with Ctrl+] / Ctrl+[
- ✓ Session resume:
anvil continue - ✓ Interactive
/configuremenu - ✓
/generate-imagevia GPT Image 1.5 - ✓ File drag-and-drop + image vision
- ✓ MCP server integration
- ✓ LSP code intelligence
- ✓ 30+ slash commands
- ✓ Cron scheduler + task management
- ✓ Team coordination tools
- ✓ Code review for AnvilHub packages
- ✓ Vim keybindings
