Soul-driven AI agent with permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI, Telegram or More.
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["8769"],{10817(e,n,r){r.r(n),r.d(n,{metadata:()=>s,default:()=>h,frontMatter:()=>o,contentTitle:()=>c,toc:()=>a,assets:()=>d});var s=JSON.parse('{"id":"desktop/mercury-desktop","title":"Mercury Desktop","description":"Install Mercury Desktop on macOS, Windows or Linux, open it the first time, and run Mercury on this computer or connect to one elsewhere.","source":"@site/docs/desktop/mercury-desktop.mdx","sourceDirName":"desktop","slug":"/desktop/mercury-desktop","permalink":"/docs/desktop/mercury-desktop","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/desktop/mercury-desktop.mdx","tags":[],"version":"current","frontMatter":{"id":"mercury-desktop","title":"Mercury Desktop","sidebar_label":"Install & first run","description":"Install Mercury Desktop on macOS, Windows or Linux, open it the first time, and run Mercury on this computer or connect to one elsewhere.","keywords":["mercury desktop","download","install","macos","windows","linux","tauri","remote","devices"]},"sidebar":"docsSidebar","previous":{"title":"Installation","permalink":"/docs/"},"next":{"title":"macOS guide & fixes","permalink":"/docs/desktop/macos"}}'),t=r(74848),i=r(28453);let o={id:"mercury-desktop",title:"Mercury Desktop",sidebar_label:"Install & first run",description:"Install Mercury Desktop on macOS, Windows or Linux, open it the first time, and run Mercury on this computer or connect to one elsewhere.",keywords:["mercury desktop","download","install","macos","windows","linux","tauri","remote","devices"]},c="Mercury Desktop",d={},a=[{value:"Download",id:"download",level:2},{value:"On a Mac: one command (recommended)",id:"on-a-mac-one-command-recommended",level:3},{value:"Every platform",id:"every-platform",level:3},{value:"Opening it the first time",id:"opening-it-the-first-time",level:2},{value:"macOS",id:"macos",level:3},{value:"Windows",id:"windows",level:3},{value:"Linux",id:"linux",level:3},{value:"First run: where should Mercury run?",id:"first-run-where-should-mercury-run",level:2},{value:"Connecting to a Mercury elsewhere",id:"connecting-to-a-mercury-elsewhere",level:2},{value:"Several servers",id:"several-servers",level:2},{value:"What else is in the app",id:"what-else-is-in-the-app",level:2}];function l(e){let n={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",ol:"ol",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,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.header,{children:(0,t.jsx)(n.h1,{id:"mercury-desktop",children:"Mercury Desktop"})}),"\n",(0,t.jsx)(n.p,{children:"Mercury Desktop is the app for Mercury. It can install Mercury on your computer for you, or connect to a Mercury you already run on a server, a home machine or Mercury Cloud. One app can hold several connections at once."}),"\n",(0,t.jsx)(n.p,{children:"It runs on macOS (Apple Silicon and Intel, macOS 11 or newer), Windows 10 and 11 (x64) and Linux (x64)."}),"\n",(0,t.jsx)(n.h2,{id:"download",children:"Download"}),"\n",(0,t.jsx)(n.h3,{id:"on-a-mac-one-command-recommended",children:"On a Mac: one command (recommended)"}),"\n",(0,t.jsxs)(n.p,{children:["The ",(0,t.jsx)(n.a,{href:"./macos",children:"macOS guide"})," has every step and every fix in one page."]}),"\n",(0,t.jsx)(n.p,{children:"Paste this into Terminal:"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-bash",children:"curl -fsSL https://mercuryagent.sh/install-desktop.sh | sh\n"})}),"\n",(0,t.jsxs)(n.p,{children:["It picks the build for your Mac (Apple Silicon or Intel), downloads it from the GitHub release, checks its SHA-256 against the one GitHub recorded and checks its code signature, puts Mercury in ",(0,t.jsx)(n.strong,{children:"Applications"})," and opens it. If anything doesn't match, it installs nothing. Run it again any time to reinstall; a running Mercury Desktop is closed first, while Mercury itself keeps running. ",(0,t.jsx)(n.a,{href:"https://mercuryagent.sh/install-desktop.sh",children:"Read the script"})," before you run it if you like."]}),"\n",(0,t.jsx)(n.p,{children:"Installed this way, Mercury opens on the first try with no security prompt: macOS only asks about apps a browser downloaded, and the app isn't signed with an Apple Developer ID yet."}),"\n",(0,t.jsxs)(n.p,{children:["Options: ",(0,t.jsx)(n.code,{children:"MERCURY_VERSION=1.5.0"})," installs a specific version, ",(0,t.jsx)(n.code,{children:"MERCURY_APP_DIR=~/Applications"})," installs somewhere else, and ",(0,t.jsx)(n.code,{children:"MERCURY_NO_OPEN=1"})," doesn't open it afterwards."]}),"\n",(0,t.jsx)(n.h3,{id:"every-platform",children:"Every platform"}),"\n",(0,t.jsxs)(n.p,{children:["Get it from the ",(0,t.jsx)(n.a,{href:"/download",children:"download page"}),". It picks the right build for your computer. Every build is also on ",(0,t.jsx)(n.a,{href:"https://github.com/cosmicstack-labs/mercury-agent/releases",children:"GitHub Releases"}),"."]}),"\n",(0,t.jsxs)(n.table,{children:[(0,t.jsx)(n.thead,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.th,{children:"Computer"}),(0,t.jsx)(n.th,{children:"File"})]})}),(0,t.jsxs)(n.tbody,{children:[(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{children:"Mac with Apple Silicon (M1 and newer)"}),(0,t.jsx)(n.td,{children:(0,t.jsx)(n.code,{children:"Mercury_<version>_aarch64.dmg"})})]}),(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{children:"Mac with an Intel chip"}),(0,t.jsx)(n.td,{children:(0,t.jsx)(n.code,{children:"Mercury_<version>_x64.dmg"})})]}),(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{children:"Windows"}),(0,t.jsxs)(n.td,{children:[(0,t.jsx)(n.code,{children:"Mercury_<version>_x64-setup.exe"})," (or the ",(0,t.jsx)(n.code,{children:".msi"})," for managed installs)"]})]}),(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{children:"Linux"}),(0,t.jsxs)(n.td,{children:[(0,t.jsx)(n.code,{children:"Mercury_<version>_amd64.AppImage"}),", ",(0,t.jsx)(n.code,{children:".deb"})," or ",(0,t.jsx)(n.code,{children:".rpm"})]})]})]})]}),"\n",(0,t.jsx)(n.h2,{id:"opening-it-the-first-time",children:"Opening it the first time"}),"\n",(0,t.jsxs)(n.p,{children:["Mercury Desktop 1.5.0 isn't code-signed with an Apple or Windows certificate yet, so your computer asks once before it opens it. Signing is coming in a later release. Updates are different: every update is signed with Mercury's update key and checked before it installs (see ",(0,t.jsx)(n.a,{href:"/docs/desktop/updating",children:"Updating Mercury"}),")."]}),"\n",(0,t.jsx)(n.h3,{id:"macos",children:"macOS"}),"\n",(0,t.jsxs)(n.p,{children:["Installed with the Terminal command above? There's nothing to do. With the ",(0,t.jsx)(n.code,{children:".dmg"}),":"]}),"\n",(0,t.jsxs)(n.ol,{children:["\n",(0,t.jsxs)(n.li,{children:["Open the ",(0,t.jsx)(n.code,{children:".dmg"})," and drag ",(0,t.jsx)(n.strong,{children:"Mercury"})," to ",(0,t.jsx)(n.strong,{children:"Applications"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:['Open Mercury. macOS says "Apple could not verify Mercury is free of malware". Click ',(0,t.jsx)(n.strong,{children:"Done"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:["Open ",(0,t.jsx)(n.strong,{children:"System Settings \u2192 Privacy & Security"}),". Under ",(0,t.jsx)(n.strong,{children:"Security"}),", click ",(0,t.jsx)(n.strong,{children:"Open Anyway"})," next to Mercury, then confirm with your password."]}),"\n"]}),"\n",(0,t.jsxs)(n.p,{children:["On older macOS versions you can right-click Mercury in Applications and choose ",(0,t.jsx)(n.strong,{children:"Open"})," instead."]}),"\n",(0,t.jsx)(n.p,{children:'If macOS says Mercury "is damaged and can\'t be opened", clear the download flag and open it again:'}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-bash",children:"xattr -dr com.apple.quarantine /Applications/Mercury.app\n"})}),"\n",(0,t.jsx)(n.h3,{id:"windows",children:"Windows"}),"\n",(0,t.jsxs)(n.ol,{children:["\n",(0,t.jsxs)(n.li,{children:["Run ",(0,t.jsx)(n.code,{children:"Mercury_<version>_x64-setup.exe"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:['If Microsoft Defender SmartScreen shows "Windows protected your PC", click ',(0,t.jsx)(n.strong,{children:"More info"}),", then ",(0,t.jsx)(n.strong,{children:"Run anyway"}),"."]}),"\n"]}),"\n",(0,t.jsx)(n.h3,{id:"linux",children:"Linux"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-bash",children:"# AppImage: any distribution\nchmod +x Mercury_*_amd64.AppImage\n./Mercury_*_amd64.AppImage\n\n# Debian / Ubuntu\nsudo apt install ./Mercury_*_amd64.deb\n\n# Fedora / openSUSE\nsudo dnf install ./Mercury-*.x86_64.rpm\n"})}),"\n",(0,t.jsx)(n.h2,{id:"first-run-where-should-mercury-run",children:"First run: where should Mercury run?"}),"\n",(0,t.jsx)(n.p,{children:"The first screen checks this computer for a running Mercury and offers three ways in."}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Use the Mercury here."})," Mercury is already installed on this computer. If it's running, the app connects. If it's stopped, ",(0,t.jsx)(n.strong,{children:"Start Mercury"})," starts it. If it's too old for the app, ",(0,t.jsx)(n.strong,{children:"Update Mercury"})," updates it first."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Install Mercury here."})," The app downloads the Mercury release for your computer, checks its SHA-256 against the release's ",(0,t.jsx)(n.code,{children:"checksums.txt"}),", installs it to ",(0,t.jsx)(n.code,{children:"~/.mercury/bin"})," and runs it as a service. You don't need a terminal. Then it walks you through choosing a model."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Connect elsewhere."})," Mercury runs on another machine: a server, a home computer, a phone on Termux, or Mercury Cloud."]}),"\n"]}),"\n",(0,t.jsx)(n.p,{children:"On this computer the app signs in with Mercury's local attach token, so there is nothing to type."}),"\n",(0,t.jsx)(n.h2,{id:"connecting-to-a-mercury-elsewhere",children:"Connecting to a Mercury elsewhere"}),"\n",(0,t.jsxs)(n.p,{children:["You need the address the other Mercury is reachable at, usually through a tunnel such as Tailscale or Cloudflare Tunnel (Mercury itself only listens on ",(0,t.jsx)(n.code,{children:"127.0.0.1"}),"). Then choose one of two ways to sign in:"]}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Sign in"}),' with that Mercury\'s dashboard username and password. The owner of that Mercury has to approve this device. The app shows "Waiting for the owner to approve this device" and a 5-character code. The owner approves it from Telegram or WhatsApp (',(0,t.jsx)(n.code,{children:"approve K7Q2M"}),"), from ",(0,t.jsx)(n.code,{children:"/server"})," or ",(0,t.jsx)(n.code,{children:"mercury server approve K7Q2M"})," on that computer, or in Mercury Desktop on that computer. Nobody answering within 10 minutes means no."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Device token."})," The owner makes a token on that computer with ",(0,t.jsx)(n.code,{children:"/server token <name>"})," (or ",(0,t.jsx)(n.code,{children:'mercury devices add "<name>"'}),") and gives it to you. It starts with ",(0,t.jsx)(n.code,{children:"mdt_"})," and is shown once."]}),"\n"]}),"\n",(0,t.jsxs)(n.p,{children:["The app keeps each connection's credentials in your system keychain. Removing a connection in ",(0,t.jsx)(n.strong,{children:"Settings \u2192 Connections"})," also revokes its token on that Mercury."]}),"\n",(0,t.jsxs)(n.p,{children:["See ",(0,t.jsx)(n.a,{href:"/docs/desktop/remote-access",children:"Remote access & security"})," for what an approved device can and can't do, and how the owner controls it."]}),"\n",(0,t.jsx)(n.h2,{id:"several-servers",children:"Several servers"}),"\n",(0,t.jsxs)(n.p,{children:["Add as many connections as you like and switch between them from the top bar. The app checks every connection for updates, not just the one you're using, and shows each in its updates panel (see ",(0,t.jsx)(n.a,{href:"/docs/desktop/updating",children:"Updating Mercury"}),")."]}),"\n",(0,t.jsx)(n.h2,{id:"what-else-is-in-the-app",children:"What else is in the app"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Chat and Code."})," Conversations, and a coding workspace per project. Use the pencil beside a conversation to rename it; the name is saved on the connected Mercury and automatic titles won't replace it."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Research."})," A research bar with live progress, sources read and failed with reasons, and a report you can export as PDF or Word."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Bots."})," Create and run bots, and read their results in one inbox."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Notifications"})," when a reply, a research run or a bot needs you."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Settings \u2192 About"})," shows the app's and every server's version and has ",(0,t.jsx)(n.strong,{children:"Check for updates"}),"."]}),"\n"]})]})}function h(e={}){let{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(l,{...e})}):l(e)}},28453(e,n,r){r.d(n,{R:()=>o,x:()=>c});var s=r(96540);let t={},i=s.createContext(t);function o(e){let n=s.useContext(i);return s.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:o(e.components),s.createElement(i.Provider,{value:n},e.children)}}}]);