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.

4.2 KB
Raw Blame
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["6384"],{21060(e,t,s){s.r(t),s.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>d,frontMatter:()=>o,metadata:()=>a,toc:()=>c});var a=s(76894),n=s(74848),r=s(28453);let o={slug:"asks-before-it-acts",title:"Asks before it acts: how Mercury's permission model works",description:"An agent with a shell, a file system and network access is only useful if you can trust what it will do with them. A tour of the layers between the model and your machine: scopes, approvals, a blocklist nothing can override, an SSRF guard, and tiers for unattended bots.",authors:["mercury-eng"],tags:["product","security"],image:"./cover.jpg",keywords:["ai agent permissions","ai agent security","sandbox ai agent","ssrf protection","human in the loop","llm tool safety","self-hosted agent"]},i,l={image:s(52809).A,authorsImageUrls:[void 0]},c=[];function u(e){let t={p:"p",...(0,r.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.p,{children:"Giving a language model a shell is easy. Giving it a shell and still being able to sleep at night is the actual product."}),"\n",(0,n.jsx)(t.p,{children:"Mercury can read and write files, run commands, push to git, call the GitHub API and fetch web pages. Every one of those goes through the same question first: is this allowed, and if it isn't obviously allowed, has a person said yes? This post explains the layers that answer it, in the order a request hits them."})]})}function d(e={}){let{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(u,{...e})}):u(e)}},52809(e,t,s){s.d(t,{A:()=>a});let a=s.p+"assets/images/cover-8cae85a96e863fa1d6561f32acc5870c.jpg"},28453(e,t,s){s.d(t,{R:()=>o,x:()=>i});var a=s(96540);let n={},r=a.createContext(n);function o(e){let t=a.useContext(r);return a.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:o(e.components),a.createElement(r.Provider,{value:t},e.children)}},76894(e){e.exports=JSON.parse('{"permalink":"/blog/asks-before-it-acts","editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/blog/2026-10-09-asks-before-it-acts/index.md","source":"@site/blog/2026-10-09-asks-before-it-acts/index.md","title":"Asks before it acts: how Mercury\'s permission model works","description":"An agent with a shell, a file system and network access is only useful if you can trust what it will do with them. A tour of the layers between the model and your machine: scopes, approvals, a blocklist nothing can override, an SSRF guard, and tiers for unattended bots.","date":"2026-10-09T00:00:00.000Z","tags":[{"inline":false,"label":"Product","permalink":"/blog/tags/product","description":"How Mercury\'s features work and why they work that way."},{"inline":false,"label":"Security","permalink":"/blog/tags/security","description":"Permissions, sandboxing and how Mercury keeps an agent with real tools safe to run."}],"readingTime":5.66,"hasTruncateMarker":true,"authors":[{"name":"Mercury Engineering","title":"The team behind Mercury","description":"Postmortems, design notes and the reasoning behind how Mercury works.","url":"https://github.com/cosmicstack-labs/mercury-agent","page":{"permalink":"/blog/authors/mercury-eng"},"socials":{"github":"https://github.com/cosmicstack-labs"},"imageURL":"/img/avatar-mercury.png","key":"mercury-eng"}],"frontMatter":{"slug":"asks-before-it-acts","title":"Asks before it acts: how Mercury\'s permission model works","description":"An agent with a shell, a file system and network access is only useful if you can trust what it will do with them. A tour of the layers between the model and your machine: scopes, approvals, a blocklist nothing can override, an SSRF guard, and tiers for unattended bots.","authors":["mercury-eng"],"tags":["product","security"],"image":"./cover.jpg","keywords":["ai agent permissions","ai agent security","sandbox ai agent","ssrf protection","human in the loop","llm tool safety","self-hosted agent"]},"unlisted":false,"prevItem":{"title":"Mercury 1.3: an agent you can actually leave running","permalink":"/blog/mercury-1-3"}}')}}]);