← all tools
Cosmic Stack·May 20, 2026·open source
Mercury
Mercury is an open-source AI agent (MIT) that thinks, acts, and asks permission.
AI CodingAgentic AIOpen Source
What is Mercury?
Mercury is an open-source AI agent (MIT) that thinks, acts, and asks permission. It features multi-agent orchestration with parallel sub-agents, intelligent loop detection via Autopilot, 40+ built-in tools (filesystem, shell, git, GitHub, Spotify), a Second Brain memory system, and runs 24/7 headless from your terminal or Telegram with full permission controls.
Open-source AI agent with multi-agent orchestration, 40+ tools, loop detection, Second Brain memory, and Telegram integration — runs 24/7.
Who Mercury is for
Teams and individual developers working in AI Coding and Agentic AI.
Software engineers
Write, refactor and debug code faster in their existing workflowAI engineers
Build, orchestrate and debug multi-step agentsTech leads
Speed up code review and keep standards consistent across PRsAutomation engineers
Replace manual multi-step workflows with tool-calling agentsIndie developers and founders
Ship features with a smaller teamProduct teams
Prototype and ship agent-powered featuresKey features
01Multi-agent orchestration with parallel sub-agents — file locks prevent conflicts, resource-aware concurrency, non-blocking chat while agents run; Mercury Autopilot detects stuck loops by analyzing parameter diversity (>60%) and success rate (>70%) and halts unproductive paths automatically
0240+ built-in tools with zero configuration — filesystem, shell, git, GitHub PRs/issues, Spotify (14 tools + DJ mode), Markdown skill system with scheduling; real-time progress via single live-edited status card on CLI and Telegram with token stats and budget tracking
03Second Brain memory with conscious/subconscious layers — active working memory + persistent long-term recall in local SQLite; person tracking with alias resolution and graph visualization; three interfaces: CLI (TUI), Web Dashboard (React SPA at localhost:6174), and Telegram with inline keyboard permissions
Mercury use cases
Horizontal · cross-industry
RefactoringMulti-file refactors, API migrations and type-safe renames across a repo
Workflow orchestrationMulti-step tool-calling agents with planning, retries and state
Code reviewAutomated PR review, diff summaries and inline fix suggestions
Vertical · domain-specific
FintechChange ledger and payment services with test suites generated alongside
Customer supportTicket triage agents connected to CRM and knowledge-base APIs
E-commerceShip storefront and checkout features across a monorepo
Mercury alternatives
browse all →Bottegaopen sourceBottega is an AI agent designed to maintain state within applications rather than in its context window, allowing it to operate indefinitely without needing to compres…Amuseopen sourceAmuse is a self-hosted, open-source personal AI agent designed to run locally on a user's computer.AgentRunopen sourceAgentRun is an open-source platform designed to enhance AI agents by providing self-improvement, durable execution, and a centralized control plane.