Discover and explore top open-source AI tools and projects—updated daily.
cosmicstack-labsAn AI agent for autonomous task execution with enhanced safety and control
Top 15.1% on SourcePulse
Summary Mercury-agent is a "soul-driven" AI agent for 24/7 CLI or Telegram operation. It addresses the need for a controllable, transparent, and secure AI assistant through permission-hardened tools, explicit user approvals, and token budgeting, offering enhanced safety and predictability for engineers and power users.
How It Works
The agent defines personality via user-owned markdown files (soul.md, etc.). Security features include a shell command blocklist, folder-level scoping, and an approval flow for actions. It manages daily token budgets, auto-conciseness, and interacts via real-time streaming CLI or a feature-rich Telegram interface. It runs as a persistent daemon with crash recovery.
Quick Start & Requirements
Install via npx @cosmicstack/mercury-agent or npm i -g @cosmicstack/mercury-agent. First run triggers a 30-second setup wizard for name, API keys, and optional Telegram token. mercury up enables 24/7 daemon mode, installing platform-specific system services (macOS LaunchAgent, Linux systemd, Windows Task Scheduler) for auto-start on boot. Requires Node.js 20+.
Highlighted Details
Maintenance & Community
Contact support@cosmicstack.org for suggestions, contributions, or inquiries. Specific community channels or contributor details are not provided in the README.
Licensing & Compatibility Licensed under the MIT license, generally permitting commercial use and integration into closed-source projects.
Limitations & Caveats Includes a disclaimer: "This is AI - it can break sometimes, please use this at your own risk." Telegram pairing is single-owner and private chat only. Daemon mode CLI is log-only for input. Relies on flat-file persistence.
2 days ago
Inactive