
Mercury CLI
Open-source AI coding agent for your terminal — edit, test, debug, and persist sessions.
Free - Open-source and self-hosted (free). Integrates with external model providers which may require paid API keys or self-hosted weights.
About Mercury CLI
Mercury CLI is a terminal-native, open-source AI coding agent that lets developers edit code, run tests, use a debugger and keep sessions (and git worktrees) running in the background. Choose and switch model providers mid-task, run local models, use a built-in DAP debugger and LSP-powered refactors, perform structural search-and-edit, leverage project-local memory, web search without an API key, and integrate with editors like VS Code, Unity and Blender.
Key Features
- Terminal-native AI agent that edits code, runs tests and debugs with persistent sessions
- Parallel 'crewmates' each in their own git worktree and model instance
- Switch model providers mid-task and run local models (Ollama, vLLM, llama.cpp)
- Built-in DAP debugger and LSP integration with previewable refactors
- Structural syntax-tree search & edit, project-local memory, web fetch (no API key) and editor bridges
Who is this for?
Developers and engineering teams who want an AI-assisted coding workflow in the terminal with persistent sessions, local model support and deep editor/debug integration.
Comments (0)
No comments yet
Be the first to share your thoughts!
Sign in to join the conversation
Sign InStats
Pricing
FreeOpen-source and self-hosted (free). Integrates with external model providers which may require paid API keys or self-hosted weights.
Platforms
Tech Stack
Tags
Related Products
Claude Code
AI pair programmer that understands your entire codebase

Scrapfly
Effortless web data extraction with AI-powered APIs.
GitHub Copilot
Your AI pair programmer from GitHub

Dodo Payments
Seamless payments and billing for AI, SaaS, and digital products.
DeepSeek Chat
Open-source AI that rivals GPT-4 at fraction of the cost
