Mercury Agent

Orchestrates developer workflows, integrates with GitHub, and manages tasks locally via CLI with a persistent memory.

A high-resolution social sharing image preview for Mercury tool.

The gist

Mercury is a personal AI agent and orchestrator developed by Cosmic Stack. It features 31 built-in tools, a skill system, multi-channel access, and a GitHub companion. Designed to run 24/7 from your terminal or Telegram, it aims to streamline developer workflows and solve complex task management by operating autonomously and with persistent memory.

What it does

  • Executes shell commands and manages files directly from the terminal or Telegram.
  • Integrates with GitHub to create pull requests, review changes, and manage issues.
  • Learns user preferences and extracts facts automatically to maintain a "second brain".
  • Installs and invokes community skills, supporting an extensible agent capability.
  • Schedules and monitors one-shot or recurring tasks in the background.
  • Manages daily token budgets and ensures permission-hardened operations.

How it works

Built with TypeScript and Node.js, Mercury runs as a background daemon, automatically starting and restarting. It uses SQLite for its local second brain, storing memories and configurations on the user's machine. Users interact via CLI with command menus or Telegram. It leverages various AI providers, with automatic fallback, and is delivered as an open-source, self-hosted tool, with zero API costs for local models.

Best for

Software engineers and technical users seeking an autonomous AI agent to automate development workflows, manage project tasks, and interact with their codebase directly from the command line or Telegram.