Mercury CLI

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.

Visit Website

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 In

Stats

Upvotes1
Comments0
Views0

Pricing

Free

Open-source and self-hosted (free). Integrates with external model providers which may require paid API keys or self-hosted weights.

Platforms

desktop

Tech Stack

OllamaLM StudiovLLMllama.cppDebug Adapter Protocol (DAP)Language Server Protocol (LSP)WhisperOpenAIOpenRouter

Tags

#terminal#ai-agent#coding-assistant#LLM#debugger#git-worktree#local-models#open-source