Mercury CLI is an open-source terminal coding agent (Apache-2.0) for macOS, Linux and Windows. It works inside your own git repositories and runs on cloud providers or on local models.
The agent drives a debugger over the Debug Adapter Protocol: it sets breakpoints, steps and reads live values from the running process. debugpy and js-debug ship with it, and it uses dlv, lldb-dap or gdb 14+ from your PATH for Go, Rust and C/C++.
It searches and rewrites code by syntax tree in 57 languages, with a dry-run diff before anything is applied, and runs go-to-definition, references and renames through language servers.
Local models run through Ollama, LM Studio, vLLM and llama.cpp, and /model switches between models in the middle of a chat. Several sessions run side by side, and a session can hand work to crewmates on other models, each in its own git worktree when you ask for one.
The release archives bundle Node and ripgrep, so git is the only thing to install first.
No comments or reviews, maybe you want to be first?