About Anvil
Anvil is the AI coding assistant built for developers who demand control. Multi-provider, full-screen TUI, 1M token context, and intelligent context management — all in a 15MB binary.
What is Anvil?
Anvil is a terminal-native AI coding assistant that runs entirely in your terminal. Unlike web-based tools, Anvil lives where you work — in your shell, with direct access to your filesystem, build tools, and development environment.
Built by Culpur Defense and distributed as a single binary, Anvil connects to multiple AI providers and intelligently routes your requests. When Claude hits a rate limit, Anvil can automatically fall back to OpenAI or a local Ollama model without interrupting your flow.
The QMD (Query-Memory-Dispatch) system gives Anvil persistent memory across sessions. Your codebase knowledge, conversation history, and pinned context are always available, even when the context window fills up.
Features
Security Hardening Release
v2.2.25 closes fifteen findings from a deep, adversarially-verified audit (no criticals). The browser relay re-verifies pairing at the Rust layer before any privileged message, Windows credential files get owner-only ACLs, the sandbox denies credential reads and secret env by default, and the remote-MCP transport is size-capped and SSRF-guarded. No config migration; a recommended upgrade for every user.
Stable Sessions + xAI
v2.2.24 fixed a daemon crash that dropped sessions on connect, made text selection copy from exactly where your cursor is, refreshed xAI/Grok to grok-4.3 + grok-build-0.1 with Live Search, added a sandbox policy gate with real macOS seatbelt enforcement, and closed a daemon-leak that could spawn runaway background processes.
18 Languages
Anvil ships in 18 locales — Tier-1 (en/es/zh-CN/fr/pt-BR/ru/ja/de) and Tier-2 (ko/it/tr/vi/pl/id/nl/sv/nb/uk). First-run wizard opens with a language picker, OS locale is auto-detected, and a soft drift gate keeps every translation in lockstep with the English seed.
Memory Cohesion Complete
All seven memory layers are GREEN end-to-end: Working / Episodic / Semantic / Procedural / Reflective / Long-term / Cache. /memory promote actually writes to disk, /memory prune episodic gets TTL retention with a trash-bin safety net, and the file-cache path-discovery bug is fixed.
Web MCP Builder
The /mcp builder TUI wizard now has a web counterpart on AnvilHub. The new /build page drives a three-step Prompt → Spec → Generate flow against anvil-mcp-builder, with vault-loaded operator OAuth tokens and publisher-gated sandbox detonation.
15 CC Parity Fixes
A complete CC parity sweep against v2.1.144–v2.1.146 lands as 15 concrete fixes — 3 P0 (MCP pagination, spinner/elapsed-time freeze on refocus, MCP permissions.allow honored at dispatch), 4 P1, and 7 P2 — each with regression tests.
anvild Process
The OAuth-refresh + routines daemon now runs as a separate process named anvild across all 7 platforms (macOS LaunchAgent, Linux user-systemd, FreeBSD/NetBSD rc.d, Windows Task Scheduler). ps -ef no longer masquerades the daemon as the foreground TUI binary.
Release Pipeline Step-Gates
scripts/release.sh wraps every phase in START / OK / FAIL markers backed by JSON status persistence and an EXIT-trap silent-exit detector. Closes the v2.2.18 Phase 6 silent-exit class of bugs; scripts/test-release-gates.sh is the regression harness.
Live Remote Control
Type /remote-control and hand your session to any browser. A live, bidirectional terminal-to-browser bridge with real-time streaming, 98 commands, secure pairing, and full feature parity.
Multi-Provider Failover
Switch between 35 providers — Claude, OpenAI, Gemini, xAI, Ollama, Bedrock, Copilot, OpenRouter, and more — instantly. Smart failover keeps you coding when rate limits hit — Anvil switches providers automatically without dropping context.
Encrypted Credential Vault
AES-256-GCM encrypted vault with Argon2id key derivation. Auto-detects API keys, SSH keys, and TLS certs. Credentials never touch disk unencrypted.
Full-Screen TUI
Live streaming responses, tabs, tool call visualization, focus view (Ctrl+O), thinking mode, and context-low warnings. Vim mode, mouse support, and customizable keybindings.
90+ Commands & 45 Tools
Bash execution, file operations, web search, MCP protocol, LSP integration, image generation, conversation branching, and more. Everything you need without configuration.
AnvilHub Marketplace
Install community-built skills, plugins, agents, and themes with a single command. Publish your own and extend Anvil for your workflow.
How It Works
Install
Run the installer or download the binary. Anvil is a single 15MB binary — no runtime dependencies.
Login
Run `anvil login` to authenticate with your AI provider. Supports OAuth for Anthropic and API keys for all providers.
Code
Run `anvil` in any project directory. Anvil reads your codebase context and you're ready to go.
Extend
Browse AnvilHub for skills and plugins that match your workflow. Install with `anvil install <package-name>`.
Built by Culpur Defense
Anvil is developed and maintained by Culpur Defense Inc. — a cybersecurity and defense technology company building tools for professionals who operate in high-stakes environments.
culpur.net →