Soul-driven AI agent with permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI, Telegram or More.
{
"name": "@cosmicstack/mercury-agent",
"version": "1.5.2",
"description": "Soul-driven AI agent with Second Brain memory, permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI or Telegram.",
"type": "module",
"main": "dist/index.js",
"bin": {
"mercury": "./dist/index.js"
},
"scripts": {
"preinstall": "node -e \"if(!process.versions.bun&&+process.versions.node.split('.')[0]<22){console.error('\\nMercury needs Node.js 22 or newer — this is '+process.version+'.\\n Upgrade Node: nvm install 22 && nvm alias default 22 (or https://nodejs.org)\\n Then install again with that Node.\\n');process.exit(1)}\"",
"build:ui": "cd ui && npm run build",
"build": "tsup && node scripts/post-build.cjs",
"build:bin": "npm run build && node scripts/build-bin.cjs",
"build:bin:all": "npm run build && node scripts/build-bin.cjs --all",
"build:bin:force": "npm run build && node scripts/build-bin.cjs --force",
"build:bin:all:force": "npm run build && node scripts/build-bin.cjs --all --force",
"dev": "tsup --watch",
"start": "node dist/index.js",
"lint": "tsc --noEmit",
"lint:eslint": "eslint src",
"lint:ratchet": "node scripts/lint-ratchet.cjs",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"eval": "vitest run src/eval",
"vendor:ink": "node scripts/vendor-ink.cjs",
"vendor:ink:check": "node scripts/vendor-ink.cjs --check",
"prepublishOnly": "npm run build"
},
"keywords": [
"ai",
"agent",
"ai-agent",
"cli",
"telegram",
"telegram-bot",
"personal-assistant",
"soul-driven",
"token-budget",
"permissions",
"scheduler",
"cron",
"skill-system",
"deepseek",
"openai",
"anthropic",
"llm"
],
"author": "Cosmic Stack",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/cosmicstack-labs/mercury-agent.git"
},
"homepage": "https://mercuryagent.sh",
"bugs": {
"url": "https://github.com/cosmicstack-labs/mercury-agent/issues"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"files": [
"dist",
"src/web/static"
],
"dependencies": {
"@ai-sdk/anthropic": "^3.0.71",
"@ai-sdk/deepseek": "^2.0.29",
"@ai-sdk/openai": "^3.0.53",
"@grammyjs/auto-retry": "^2.0.2",
"@hono/node-server": "^2.0.0",
"@modelcontextprotocol/client": "^2.3.1",
"@slack/bolt": "^4.7.3",
"@types/ws": "^8.18.1",
"ai": "^6.0.168",
"bcryptjs": "^3.0.3",
"chalk": "^5.4.0",
"commander": "^12.1.0",
"discord.js": "^14.26.4",
"dotenv": "^16.4.7",
"grammy": "^1.42.0",
"hono": "^4.12.15",
"marked": "^14.1.4",
"node-cron": "^3.0.3",
"ollama-ai-provider": "^1.2.0",
"pino": "^10.3.1",
"qrcode-terminal": "^0.12.0",
"react": "^19.3.0",
"semver": "7.8.0",
"sql.js": "^1.14.1",
"string-width": "^7.2.0",
"undici": "^6.24.1",
"ws": "^8.21.0",
"yaml": "^2.7.0",
"zod": "^3.25.76"
},
"optionalDependencies": {
"better-sqlite3": "^12.9.0"
},
"devDependencies": {
"@types/bcryptjs": "^3.0.0",
"@types/better-sqlite3": "^7.6.13",
"@types/node": "^22.13.0",
"@types/node-cron": "^3.0.11",
"@types/qrcode-terminal": "^0.12.2",
"@types/react": "^19.3.0",
"@types/semver": "7.7.1",
"ink": "8.0.0",
"react-devtools-core": "^7.0.1",
"tsup": "^8.4.0",
"typescript": "^5.7.0",
"vitest": "^3.0.0"
},
"engines": {
"node": ">=22.0.0"
},
"allowScripts": {
"esbuild": true
}
}