mercury
Mercury is an open-source, self-hosted personal AI assistant designed to live on your own infrastructure and integrate into the messaging apps you already use. It functions as a persistent chatbot agent that can perform tasks, answer questions, and manage multiple conversation contexts through a concept of workspaces. The project provides a full suite of tools including a CLI for management, a Docker container for the agent core, and APIs for extension. Built with a focus on privacy and control, Mercury ensures all data and interactions remain on your machines. The assistant supports advanced multi-tenancy with workspaces, allowing a single deployment to serve multiple isolated projects, teams, or personal contexts. Each workspace has its own configuration, environment variables, and trigger rules, and is accessed via pairing codes—making it easy to onboard new users securely. An admin role can be granted through pairing, and the system includes features like group management, media handling, and built-in tracing with OpenTelemetry for observability. Mercury was actively developed up until March 2026, reaching version 0.5.0-experimental, but the repository has since been archived, meaning no further updates are expected from the original author. Nonetheless, the codebase remains available for forking and self-deployment, and can serve as a foundation for anyone looking to build a private AI assistant. Given its experimental state and archival, Mercury is best suited for technically proficient users who are comfortable with Docker, command-line tools, and potential troubleshooting. It offers a unique blend of chat-native AI assistance with enterprise-grade workspace separation, making it a compelling choice for small teams or individuals who value data sovereignty over convenience.
- Category
- AI Agents
- Pricing
- Open Source
Problem solved
Many individuals and small teams want the convenience of an AI assistant but are concerned about data privacy, vendor lock-in, and the limitations of cloud-based bots. They desire an assistant that lives inside their existing chat platforms (like Slack, Discord, Telegram) and can handle context-switching between different projects or personal tasks. Mercury solves this by providing a self-hostable agent that runs on one's own servers, integrates with popular messaging apps, and supports multiple isolated workspaces—all while keeping conversations and data under the user's full control.
Use cases
- Set up a private AI assistant for a team that operates entirely within a Discord server, able to answer questions and execute code snippets.
- Manage separate workspaces for 'Work' and 'Personal' contexts, each with distinct models, triggers, and configurations, accessible via different pairing codes.
- Grant temporary admin access to a colleague by sharing a pairing code, allowing them to manage workspace settings without exposing master credentials.
- Use Mercury as a personal productivity bot that can be summoned in a Telegram chat to summarize meetings, check calendars, or perform quick research.
- Run isolated agent subprocesses with workspace-specific working directories, model selections, and timeout limits for safe experimentation.
- Deploy a tracing-enabled assistant using OpenTelemetry to monitor agent performance and debug multi-step interactions across workspaces.
Audience
- Developers
- Hobbyists
- Startups
Pros
- Self-hosted for full data privacy and control.
- Multi-workspace support enables organizational separation.
- Chat-native integration with messaging platforms.
- Built-in observability via OpenTelemetry tracing.
- Open-source and extensible via skills and plugins.
Cons
- Archived and no longer actively maintained.
- Requires technical expertise to deploy and manage (Docker, CLI).
- Limited documentation and community due to archival.
Official website: https://github.com/Michaelliv/mercury
Canonical LambdaBase page: https://www.lambdabase.com/tools/mercury