Skip to content

Soul-driven AI agent with permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI, Telegram or More.

18.7 KB
Raw Blame
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["5090"],{36289(e,s,t){t.r(s),t.d(s,{metadata:()=>r,default:()=>u,frontMatter:()=>o,contentTitle:()=>d,toc:()=>c,assets:()=>a});var r=JSON.parse('{"id":"releases/1.3.0","title":"v1.3.0 \u2014 Mercury Bots","description":"Mercury stops being one agent and becomes a fleet. Persistent persona-scoped bots with private sandboxes, durable queues, multi-level fleets with self-organizing leads, bundles, a web cockpit, and honest observability.","source":"@site/docs/releases/1.3.0.mdx","sourceDirName":"releases","slug":"/releases/1.3.0","permalink":"/docs/releases/1.3.0","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/releases/1.3.0.mdx","tags":[],"version":"current","frontMatter":{"title":"v1.3.0 \u2014 Mercury Bots","sidebar_label":"v1.3.0","description":"Mercury stops being one agent and becomes a fleet. Persistent persona-scoped bots with private sandboxes, durable queues, multi-level fleets with self-organizing leads, bundles, a web cockpit, and honest observability.","keywords":["mercury","mercury-agent","mercury-bots","bots","fleet","persona","agent-fleet","release","1.3.0"]},"sidebar":"docsSidebar","previous":{"title":"v1.3.1","permalink":"/docs/releases/1.3.1"},"next":{"title":"v1.2.3","permalink":"/docs/releases/1.2.3"}}'),n=t(74848),i=t(28453),l=t(53572);let o={title:"v1.3.0 \u2014 Mercury Bots",sidebar_label:"v1.3.0",description:"Mercury stops being one agent and becomes a fleet. Persistent persona-scoped bots with private sandboxes, durable queues, multi-level fleets with self-organizing leads, bundles, a web cockpit, and honest observability.",keywords:["mercury","mercury-agent","mercury-bots","bots","fleet","persona","agent-fleet","release","1.3.0"]},d="v1.3.0 \u2014 Mercury Bots",a={},c=[{value:"At a glance",id:"at-a-glance",level:2},{value:"The bot model",id:"the-bot-model",level:2},{value:"Fleets \u2014 leads and crews",id:"fleets--leads-and-crews",level:2},{value:"Durable queue \u2014 honest about failure",id:"durable-queue--honest-about-failure",level:2},{value:"The web cockpit",id:"the-web-cockpit",level:2},{value:"Sandbox, retention, deliverables",id:"sandbox-retention-deliverables",level:2},{value:"Bundles \u2014 portable fleets",id:"bundles--portable-fleets",level:2},{value:"Permissions \u2014 explicit, not silent",id:"permissions--explicit-not-silent",level:2},{value:"Also in this release",id:"also-in-this-release",level:2},{value:"Upgrade",id:"upgrade",level:2}];function h(e){let s={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(l.A,{children:[(0,n.jsx)("meta",{property:"og:title",content:"Mercury Agent v1.3.0 \u2014 Mercury Bots"}),(0,n.jsx)("meta",{property:"og:description",content:"Mercury becomes a fleet: persistent persona-scoped bots, durable queues, self-organizing crews, bundles, a web cockpit, and honest observability."}),(0,n.jsx)("meta",{property:"og:type",content:"article"}),(0,n.jsx)("meta",{property:"og:url",content:"https://mercuryagent.sh/docs/releases/1.3.0"}),(0,n.jsx)("meta",{property:"og:site_name",content:"Mercury Agent \u2014 Soul-driven"}),(0,n.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,n.jsx)("meta",{name:"twitter:site",content:"@mercuryagent"}),(0,n.jsx)("meta",{name:"twitter:title",content:"Mercury Agent v1.3.0 \u2014 Mercury Bots"}),(0,n.jsx)("meta",{name:"twitter:description",content:"Persistent persona bots \xb7 Durable queue \xb7 Fleets with crews \xb7 Bundles \xb7 Web cockpit \xb7 Sandbox retention."}),(0,n.jsx)("link",{rel:"canonical",href:"https://mercuryagent.sh/docs/releases/1.3.0"})]}),"\n",(0,n.jsx)(s.header,{children:(0,n.jsx)(s.h1,{id:"v130--mercury-bots",children:"v1.3.0 \u2014 Mercury Bots"})}),"\n",(0,n.jsxs)(s.blockquote,{children:["\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.strong,{children:"Mercury stops being one agent and becomes a fleet."})}),"\n"]}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.code,{children:"1.3.0"})," is the biggest capability shift since the Second Brain: ",(0,n.jsx)(s.strong,{children:"Mercury Bots"})," \u2014 persistent, persona-scoped agents that live ",(0,n.jsx)(s.em,{children:"outside your conversation"}),". Each bot has its own persona (",(0,n.jsx)(s.code,{children:"bot.yaml"})," + ",(0,n.jsx)(s.code,{children:"permissions.yaml"}),"), a private sandbox workspace under ",(0,n.jsx)(s.code,{children:"~/.mercury/bots/<id>/"}),", its own skill library and permission scopes, a per-bot token budget, and a journal-backed thread history that survives restarts. Dispatch work and keep talking to Mercury \u2014 the bot works in the background and delivers results in ",(0,n.jsx)(s.strong,{children:"its own thread"}),", never in the middle of your chat."]}),"\n",(0,n.jsxs)(s.p,{children:["And because one bot is never enough: promote a bot to ",(0,n.jsx)(s.strong,{children:"fleet lead"})," and it recruits and organizes its own crew \u2014 multi-level hierarchies with results bubbling up through the lead. Ship the whole fleet to a teammate as a single bundle. Watch it all live from the web cockpit."]}),"\n",(0,n.jsxs)(s.blockquote,{children:["\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.strong,{children:'Why "Mercury Bots"?'})," Sub-agents die with their task; channels answer one persona at a time. Bots are neither: they are persistent specialists with identities, workspaces, and queues \u2014 the difference between hiring a contractor for the afternoon and employing a small team."]}),"\n"]}),"\n",(0,n.jsx)(s.h2,{id:"at-a-glance",children:"At a glance"}),"\n",(0,n.jsxs)(s.table,{children:[(0,n.jsx)(s.thead,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.th,{children:"Area"}),(0,n.jsx)(s.th,{children:"What changed"})]})}),(0,n.jsxs)(s.tbody,{children:[(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.strong,{children:"Persistent runtime"})}),(0,n.jsxs)(s.td,{children:["Persona manifests (",(0,n.jsx)(s.code,{children:"bot.yaml"}),"/",(0,n.jsx)(s.code,{children:"permissions.yaml"}),"), private sandbox per bot, journal-hydrated threads, wakes + durable queue"]})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.strong,{children:"Fleet hierarchy"})}),(0,n.jsx)(s.td,{children:"Fleet leads recruit/manage their own crew (imperative self-organization); multi-level fleets; results bubble up through leads"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.strong,{children:"Durable queue + DLQ"})}),(0,n.jsxs)(s.td,{children:["Jobs survive restarts; lease-heartbeat; ",(0,n.jsx)(s.code,{children:"timed out"})," classification; non-destructive ",(0,n.jsx)(s.code,{children:"/bots replay"})]})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.strong,{children:"Web cockpit"})}),(0,n.jsx)(s.td,{children:"Mercury Bots section on the local dashboard: live roster, per-bot threads, needs-you badges, fleet step view mirroring the TUI"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsxs)(s.strong,{children:["Sandbox + ",(0,n.jsx)(s.code,{children:"bot_deliver"})]})}),(0,n.jsxs)(s.td,{children:["Isolated per-bot workspaces; final artifacts via ",(0,n.jsx)(s.code,{children:"bot_deliver"}),"; retention janitor caps disk; ",(0,n.jsx)(s.code,{children:"_shared"})," folder for cross-bot files"]})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.strong,{children:"Bundles"})}),(0,n.jsxs)(s.td,{children:[(0,n.jsx)(s.code,{children:"/bots export"})," / ",(0,n.jsx)(s.code,{children:"/bots import"})," \u2014 portable fleets; imported bots start disabled; sandbox/journals/",(0,n.jsx)(s.code,{children:".env"})," never travel"]})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.strong,{children:"Permissions"})}),(0,n.jsxs)(s.td,{children:["Explicit tiers at onboarding (",(0,n.jsx)(s.code,{children:"ask"}),"/",(0,n.jsx)(s.code,{children:"allow"}),"), per-bot shell allow-lists, malformed scopes warn instead of crashing"]})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.strong,{children:"CLI"})}),(0,n.jsxs)(s.td,{children:[(0,n.jsx)(s.code,{children:"mercury bots doctor"})," / ",(0,n.jsx)(s.code,{children:"list"})," / ",(0,n.jsx)(s.code,{children:"storage"})," mirroring the in-chat surface"]})]})]})]}),"\n",(0,n.jsx)(s.h2,{id:"the-bot-model",children:"The bot model"}),"\n",(0,n.jsxs)(s.p,{children:["A bot is ",(0,n.jsx)(s.strong,{children:"not"})," a sub-agent and ",(0,n.jsx)(s.strong,{children:"not"})," a channel \u2014 it's a third way to run intelligence:"]}),"\n",(0,n.jsxs)(s.table,{children:[(0,n.jsx)(s.thead,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.th,{}),(0,n.jsx)(s.th,{children:"Sub-agent"}),(0,n.jsx)(s.th,{children:"Bot"})]})}),(0,n.jsxs)(s.tbody,{children:[(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:"Lifetime"}),(0,n.jsx)(s.td,{children:"dies with its task"}),(0,n.jsx)(s.td,{children:"persistent across restarts"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:"Identity"}),(0,n.jsx)(s.td,{children:"anonymous worker"}),(0,n.jsx)(s.td,{children:"named persona (name, description, character)"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:"Workspace"}),(0,n.jsx)(s.td,{children:"inherits your session"}),(0,n.jsxs)(s.td,{children:["private sandbox at ",(0,n.jsx)(s.code,{children:"~/.mercury/bots/<id>/"})," (+ fleet-shared folder)"]})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:"Results"}),(0,n.jsx)(s.td,{children:"land in your chat"}),(0,n.jsxs)(s.td,{children:["land in ",(0,n.jsx)(s.strong,{children:"the bot's own thread"})]})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:"Continuity"}),(0,n.jsx)(s.td,{children:"none"}),(0,n.jsx)(s.td,{children:"journal history hydrates on reopen"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:"Permissions"}),(0,n.jsx)(s.td,{children:"your session's"}),(0,n.jsx)(s.td,{children:"its own scopes, declared in the persona"})]})]})]}),"\n",(0,n.jsxs)(s.p,{children:["The wake lifecycle: dispatch a task \u2192 the bot's thread shows live state and streamed thinking \u2192 it works through the durable queue \u2192 results land in its thread \u2192 if something genuinely needs you (failed job, blocked permission, stopped bot), a ",(0,n.jsx)(s.strong,{children:"needs-you alert"})," reaches your active channel."]}),"\n",(0,n.jsx)(s.h2,{id:"fleets--leads-and-crews",children:"Fleets \u2014 leads and crews"}),"\n",(0,n.jsxs)(s.p,{children:["Any bot can be promoted to a ",(0,n.jsx)(s.strong,{children:"fleet lead"})," (",(0,n.jsx)(s.code,{children:"/bots promote <id>"}),"). Leads are different:"]}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.strong,{children:"Imperative self-organization"})," \u2014 tell the lead ",(0,n.jsx)(s.em,{children:"what"})," to achieve, not how; it recruits crew, delegates, and synthesizes results (multi-level hierarchies supported)."]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.strong,{children:"Crew management"})," \u2014 ",(0,n.jsx)(s.code,{children:"fleet-delegation"}),", ",(0,n.jsx)(s.code,{children:"fleet-layout"}),", and ",(0,n.jsx)(s.code,{children:"fleet-stop/start"})," semantics: stopping a lead holds its whole subtree; ",(0,n.jsx)(s.code,{children:"/bots start"})," on the lead resumes it."]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.strong,{children:"Onboarding tiers"})," \u2014 solo bot \u2192 ",(0,n.jsx)(s.strong,{children:"lead auto-build"})," (lead designs its own crew from your brief) \u2192 ",(0,n.jsx)(s.strong,{children:"lead manual"})," (you hand-pick every member)."]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.strong,{children:"Bundle portability"})," \u2014 exporting a lead ships the whole crew as one bundle."]}),"\n"]}),"\n",(0,n.jsx)(s.h2,{id:"durable-queue--honest-about-failure",children:"Durable queue \u2014 honest about failure"}),"\n",(0,n.jsx)(s.p,{children:"The fleet runs on a durable job queue (SQLite-backed with a JSON fallback), hardened through eight Windows/teardown cycles:"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:["Jobs ",(0,n.jsx)(s.strong,{children:"survive restarts"}),"; workers take leases with heartbeats."]}),"\n",(0,n.jsxs)(s.li,{children:["Deaths classify honestly: ",(0,n.jsx)(s.code,{children:"timed out"})," (worker died), ",(0,n.jsx)(s.code,{children:"failed"})," (permanent) \u2014 both land in the DLQ, replayable ",(0,n.jsx)(s.strong,{children:"non-destructively"})," via ",(0,n.jsx)(s.code,{children:"/bots replay <id> <jobId>"}),"."]}),"\n",(0,n.jsx)(s.li,{children:"Post-close queue operations degrade to no-ops, never crashes; traversal guards are separator-agnostic."}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.code,{children:"mercury bots doctor"})," cross-checks schedules: routines that exist in the scheduler but never got registered (the ",(0,n.jsx)(s.em,{children:"silently never fires"})," failure) are flagged before they bite."]}),"\n"]}),"\n",(0,n.jsx)(s.h2,{id:"the-web-cockpit",children:"The web cockpit"}),"\n",(0,n.jsxs)(s.p,{children:["The local web dashboard now has a ",(0,n.jsx)(s.strong,{children:"Mercury Bots section"}),":"]}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsx)(s.li,{children:"Live fleet roster with per-bot states (running / waiting / stopped / needs-you)."}),"\n",(0,n.jsxs)(s.li,{children:["Per-bot ",(0,n.jsx)(s.strong,{children:"thread view"})," \u2014 chat with any bot from the browser, thinking streamed live."]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.strong,{children:"Fleet step view"})," mirroring Mercury Code TUI steps \u2014 solo, lead auto-build, lead manual tiers all render identically."]}),"\n",(0,n.jsx)(s.li,{children:"Needs-you escalation badges surface bots that are blocked and waiting on you."}),"\n"]}),"\n",(0,n.jsx)(s.h2,{id:"sandbox-retention-deliverables",children:"Sandbox, retention, deliverables"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:["Every bot works inside ",(0,n.jsx)(s.code,{children:"~/.mercury/bots/<id>/"})," \u2014 its own workspace with per-directory ",(0,n.jsx)(s.strong,{children:"read/write/execute scopes declared in the persona"}),"."]}),"\n",(0,n.jsxs)(s.li,{children:["Final artifacts exit through ",(0,n.jsx)(s.strong,{children:(0,n.jsx)(s.code,{children:"bot_deliver"})})," (platform or download format), so nothing lives only inside a sandbox."]}),"\n",(0,n.jsxs)(s.li,{children:["The ",(0,n.jsx)(s.strong,{children:"retention janitor"})," enforces per-bot disk caps (journal rotation, DLQ cap) \u2014 a forgotten fleet can't eat your disk."]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.code,{children:"~/.mercury/bots/_shared/"})," is the fleet-shared folder: implicit grants between crew members, explicit grants for leads."]}),"\n"]}),"\n",(0,n.jsx)(s.h2,{id:"bundles--portable-fleets",children:"Bundles \u2014 portable fleets"}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{children:"/bots export <id> [path]     # manifest + persona + permissions + skills (+ crew if lead)\n/bots import <path>          # recreate bots \u2014 imported bots start disabled\n"})}),"\n",(0,n.jsxs)(s.p,{children:["A lead's bundle carries its entire crew. Whole-fleet export is supported. Imported bots start ",(0,n.jsx)(s.strong,{children:"disabled by design"})," \u2014 you inspect them, then ",(0,n.jsx)(s.code,{children:"/bots enable"})," when you trust them. Sandboxed state, journals, and ",(0,n.jsx)(s.code,{children:".env"})," secrets never travel."]}),"\n",(0,n.jsx)(s.h2,{id:"permissions--explicit-not-silent",children:"Permissions \u2014 explicit, not silent"}),"\n",(0,n.jsxs)(s.p,{children:["Onboarding walks through capability tiers (",(0,n.jsx)(s.code,{children:"ask"})," / ",(0,n.jsx)(s.code,{children:"allow"}),") \u2014 nothing defaults silently in the dark. Hand-edited ",(0,n.jsx)(s.code,{children:"bot.yaml"})," / ",(0,n.jsx)(s.code,{children:"permissions.yaml"})," apply ",(0,n.jsx)(s.strong,{children:"live"}),"; malformed scope entries skip with a warning instead of crashing turns. Telegram member installs no longer surface ",(0,n.jsx)(s.code,{children:"install_skill"}),"."]}),"\n",(0,n.jsx)(s.h2,{id:"also-in-this-release",children:"Also in this release"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.strong,{children:"Live thinking streams"})," \u2014 bot reasoning streams into its thread as a quoted preview; fleet speedups from a single-provider lease wait and batched roster fetches."]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsxs)(s.strong,{children:[(0,n.jsx)(s.code,{children:"mercury bots"})," CLI"]})," \u2014 ",(0,n.jsx)(s.code,{children:"doctor"})," (exit 1 = actionable), ",(0,n.jsx)(s.code,{children:"list"}),", ",(0,n.jsx)(s.code,{children:"storage"})," for disk usage."]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.strong,{children:"Windows/teardown hardening"})," \u2014 eight cycles of EBUSY/EINVAL/traversal fixes across the queue, heartbeat tests, and retention backdating."]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.strong,{children:"v1.2.4 \u2192 v1.2.7 carried in"}),' \u2014 dynamic status verbs, "Did you know?" tips, slash-autocomplete coverage everywhere, smart-conditional completion stats, and the RevShare integration (#117). See the ',(0,n.jsx)(s.a,{href:"https://github.com/cosmicstack-labs/mercury-agent/blob/main/CHANGELOG.md",children:"changelog"})," for the full per-version detail."]}),"\n"]}),"\n",(0,n.jsx)(s.h2,{id:"upgrade",children:"Upgrade"}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-bash",children:"npm install -g @cosmicstack/[email protected]\nmercury restart\n"})}),"\n",(0,n.jsxs)(s.p,{children:["Standalone-binary users: re-run the one-line installer from ",(0,n.jsx)(s.a,{href:"https://mercuryagent.sh",children:"mercuryagent.sh"}),", then ",(0,n.jsx)(s.code,{children:"mercury restart"}),"."]}),"\n",(0,n.jsx)(s.p,{children:"No config migrations. Bots are opt-in \u2014 nothing changes until you create one:"}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{children:'/bots create researcher "Researcher" "Web research specialist"\n/bots persona researcher "You are a meticulous researcher who cites sources."\n'})}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.strong,{children:"Full Changelog"}),": ",(0,n.jsx)(s.a,{href:"https://github.com/cosmicstack-labs/mercury-agent/compare/v1.2.7...v1.3.0",children:"https://github.com/cosmicstack-labs/mercury-agent/compare/v1.2.7...v1.3.0"})]})]})}function u(e={}){let{wrapper:s}={...(0,i.R)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},28453(e,s,t){t.d(s,{R:()=>l,x:()=>o});var r=t(96540);let n={},i=r.createContext(n);function l(e){let s=r.useContext(i);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function o(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:l(e.components),r.createElement(i.Provider,{value:s},e.children)}}}]);