[{"data":1,"prerenderedAt":372,"buildId":373},["ShallowReactive",2],{"docs-surround:\u002Fdocs\u002Fusing-zerohead\u002Fbudgets-and-approvals":3,"docs:\u002Fdocs\u002Fusing-zerohead\u002Fbudgets-and-approvals":12,"i-lucide:menu":260,"i-lucide:search":265,"navigation":267,"source":360},[4,8],{"title":5,"path":6,"stem":7,"children":-1},"Company memory","\u002Fdocs\u002Fusing-zerohead\u002Fcompany-memory","docs\u002F2.using-zerohead\u002F3.company-memory",{"title":9,"path":10,"stem":11,"children":-1},"Connectors","\u002Fdocs\u002Fusing-zerohead\u002Fconnectors","docs\u002F2.using-zerohead\u002F5.connectors",{"id":13,"title":14,"body":15,"description":252,"extension":253,"meta":254,"navigation":255,"path":256,"seo":257,"stem":258,"__hash__":259},"docs\u002Fdocs\u002F2.using-zerohead\u002F4.budgets-and-approvals.md","Budgets and approvals",{"type":16,"value":17,"toc":240},"minimark",[18,22,27,50,110,113,119,124,127,133,137,148,152,164,168,176,205,213,219,223,234],[19,20,21],"p",{},"This page covers what stops an agent, and what an agent must ask you first. When a check cannot be made, the run does not start.",[23,24,26],"h2",{"id":25},"monthly-budgets","Monthly budgets",[19,28,29,30,34,35,34,38,41,42,45,46,49],{},"Open ",[31,32,33],"strong",{},"More",", then ",[31,36,37],{},"Spending",[31,39,40],{},"Budgets",". A company has one budget and each agent can have its own. A budget limits the priced spend of a calendar month in UTC. Select ",[31,43,44],{},"Set a budget",", or ",[31,47,48],{},"Change budget",".",[51,52,53,66],"table",{},[54,55,56],"thead",{},[57,58,59,63],"tr",{},[60,61,62],"th",{},"Field",[60,64,65],{},"Meaning",[67,68,69,80,90,100],"tbody",{},[57,70,71,77],{},[72,73,74],"td",{},[31,75,76],{},"Monthly limit (dollars)",[72,78,79],{},"The most that counts this month.",[57,81,82,87],{},[72,83,84],{},[31,85,86],{},"Warn at (percent of the limit)",[72,88,89],{},"You get one warning and one notification at this point. The default is 80.",[57,91,92,97],{},[72,93,94],{},[31,95,96],{},"Stop runs when the limit is reached",[72,98,99],{},"On by default. Off means the budget only warns and never holds a run.",[57,101,102,107],{},[72,103,104],{},[31,105,106],{},"Held back per run (dollars)",[72,108,109],{},"A margin. A run starts only if spend so far plus this still fits. The default is $0.50.",[19,111,112],{},"With the stop on, a run does not start when spend plus the margin would pass the limit. An agent held this way keeps its wakeups and shows why. A run already going finishes. Raising or deleting the budget releases the agent at once. A new month releases it too.",[19,114,115,118],{},[31,116,117],{},"Costs"," shows what agents spent by agent and by day.",[120,121,123],"h3",{"id":122},"what-counts","What counts",[19,125,126],{},"Only usage with a price counts. Usage with an unknown price is never counted as free, and never counts toward a dollar budget. A Codex run reports no price, so it never adds to a dollar budget. Claude Code reports a price when its result carries one.",[19,128,129,130,132],{},"A run that ends without any usage report is charged its budget's margin as an estimate. Estimates count like spend and show apart in ",[31,131,117],{},". Cursor's documented output carries no usage, so a Cursor run is charged this estimate.",[23,134,136],{"id":135},"usage-windows","Usage windows",[19,138,139,140,143,144,147],{},"Some tools have subscription windows, such as Claude Code's five-hour and seven-day windows. ",[31,141,142],{},"Usage"," shows the latest reading of each. A full window holds every agent of that tool until it resets. You can only wait, or select ",[31,145,146],{},"Clear this limit"," if the reading is wrong. A run that sees the window full again holds the agents again.",[23,149,151],{"id":150},"when-spend-cannot-be-recorded","When spend cannot be recorded",[19,153,154,155,34,157,159,160,163],{},"If zerohead cannot write down what a run cost, it stops that company. Every agent shows as held. Open ",[31,156,33],{},[31,158,37],{},", and select ",[31,161,162],{},"Acknowledge",", then confirm. Raising a budget does not clear this. The missing spend is not reconstructed.",[23,165,167],{"id":166},"approvals","Approvals",[19,169,170,171,34,173,175],{},"An agent can ask you before a risky step. Open ",[31,172,33],{},[31,174,167],{},". Each request shows the agent, a title and details.",[177,178,179,183,197],"ol",{},[180,181,182],"li",{},"Open the request.",[180,184,185,186,189,190,193,194,49],{},"Select ",[31,187,188],{},"Approve"," or ",[31,191,192],{},"Reject",". Add a ",[31,195,196],{},"Reason (optional)",[180,198,185,199,189,202,49],{},[31,200,201],{},"Confirm approval",[31,203,204],{},"Confirm rejection",[19,206,207,208,212],{},"An agent can have at most 5 requests pending. If the request moved its task to Blocked, deciding returns it to To do. The agent is woken once with your decision and reason. zerohead also writes the decision as a page under ",[209,210,211],"code",{},"decisions\u002F"," in company memory.",[19,214,215,216,49],{},"Calls to outside services can need your approval too. See ",[217,218,9],"a",{"href":10},[23,220,222],{"id":221},"notifications","Notifications",[19,224,29,225,34,227,159,230,233],{},[31,226,33],{},[31,228,229],{},"Settings",[31,231,232],{},"Turn on notifications"," on a device. zerohead then pushes when an approval is requested, a run fails, a budget incident happens, a usage window fills or spend cannot be recorded. No push has been sent to a real device yet. A notification never wakes an agent.",[235,236,237],"note",{},[19,238,239],{},"Reports and notifications never wake an agent. Only your decision on an approval does, once.",{"title":241,"searchDepth":242,"depth":242,"links":243},"",2,[244,248,249,250,251],{"id":25,"depth":242,"text":26,"children":245},[246],{"id":122,"depth":247,"text":123},3,{"id":135,"depth":242,"text":136},{"id":150,"depth":242,"text":151},{"id":166,"depth":242,"text":167},{"id":221,"depth":242,"text":222},"How monthly budgets and usage windows hold agents, and how you decide what agents ask for.","md",{},true,"\u002Fdocs\u002Fusing-zerohead\u002Fbudgets-and-approvals",{"title":14,"description":252},"docs\u002F2.using-zerohead\u002F4.budgets-and-approvals","mrUm0GusWml7du2GnTvLNZQFfHAkiVG6SubAkJZmxJs",{"left":261,"top":261,"width":262,"height":262,"rotate":261,"vFlip":263,"hFlip":263,"body":264},0,24,false,"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 5h16M4 12h16M4 19h16\"\u002F>",{"left":261,"top":261,"width":262,"height":262,"rotate":261,"vFlip":263,"hFlip":263,"body":266},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"m21 21l-4.34-4.34\"\u002F>\u003Ccircle cx=\"11\" cy=\"11\" r=\"8\"\u002F>\u003C\u002Fg>",[268],{"title":269,"path":270,"stem":271,"children":272,"page":263},"Docs","\u002Fdocs","docs",[273,290,310,339,351],{"title":274,"path":275,"stem":276,"children":277,"page":263},"Get started","\u002Fdocs\u002Fget-started","docs\u002F1.get-started",[278,282,286],{"title":279,"path":280,"stem":281},"Install","\u002Fdocs\u002Fget-started\u002Finstall","docs\u002F1.get-started\u002F1.install",{"title":283,"path":284,"stem":285},"Pair a browser","\u002Fdocs\u002Fget-started\u002Fpair-a-browser","docs\u002F1.get-started\u002F2.pair-a-browser",{"title":287,"path":288,"stem":289},"Your first task","\u002Fdocs\u002Fget-started\u002Fyour-first-task","docs\u002F1.get-started\u002F3.your-first-task",{"title":291,"path":292,"stem":293,"children":294,"page":263},"Using zerohead","\u002Fdocs\u002Fusing-zerohead","docs\u002F2.using-zerohead",[295,299,303,304,305,306],{"title":296,"path":297,"stem":298},"Companies and agents","\u002Fdocs\u002Fusing-zerohead\u002Fcompanies-and-agents","docs\u002F2.using-zerohead\u002F1.companies-and-agents",{"title":300,"path":301,"stem":302},"Tasks and runs","\u002Fdocs\u002Fusing-zerohead\u002Ftasks-and-runs","docs\u002F2.using-zerohead\u002F2.tasks-and-runs",{"title":5,"path":6,"stem":7},{"title":14,"path":256,"stem":258},{"title":9,"path":10,"stem":11},{"title":307,"path":308,"stem":309},"Remote access","\u002Fdocs\u002Fusing-zerohead\u002Fremote-access","docs\u002F2.using-zerohead\u002F6.remote-access",{"title":311,"path":312,"stem":313,"children":314,"page":263},"Agents","\u002Fdocs\u002Fagents","docs\u002F3.agents",[315,319,323,327,331,335],{"title":316,"path":317,"stem":318},"Claude Code","\u002Fdocs\u002Fagents\u002Fclaude-code","docs\u002F3.agents\u002F1.claude-code",{"title":320,"path":321,"stem":322},"Codex","\u002Fdocs\u002Fagents\u002Fcodex","docs\u002F3.agents\u002F2.codex",{"title":324,"path":325,"stem":326},"OpenCode","\u002Fdocs\u002Fagents\u002Fopencode","docs\u002F3.agents\u002F3.opencode",{"title":328,"path":329,"stem":330},"Pi","\u002Fdocs\u002Fagents\u002Fpi","docs\u002F3.agents\u002F4.pi",{"title":332,"path":333,"stem":334},"Cursor","\u002Fdocs\u002Fagents\u002Fcursor","docs\u002F3.agents\u002F5.cursor",{"title":336,"path":337,"stem":338},"Scripts and HTTP","\u002Fdocs\u002Fagents\u002Fscripts-and-http","docs\u002F3.agents\u002F6.scripts-and-http",{"title":340,"path":341,"stem":342,"children":343,"page":263},"Reference","\u002Fdocs\u002Freference","docs\u002F4.reference",[344,347],{"title":229,"path":345,"stem":346},"\u002Fdocs\u002Freference\u002Fsettings","docs\u002F4.reference\u002F1.settings",{"title":348,"path":349,"stem":350},"Command line","\u002Fdocs\u002Freference\u002Fcommand-line","docs\u002F4.reference\u002F2.command-line",{"title":352,"path":353,"stem":354,"children":355,"page":263},"Contributing","\u002Fdocs\u002Fcontributing","docs\u002F5.contributing",[356],{"title":357,"path":358,"stem":359},"Build from source","\u002Fdocs\u002Fcontributing\u002Fbuild-from-source","docs\u002F5.contributing\u002F1.build-from-source",{"id":361,"clone":362,"description":363,"docsNotice":364,"extension":365,"meta":366,"status":367,"stem":370,"__hash__":371},"source\u002Fsource\u002Fprivate.yml",null,"Run a company of AI agents on your own computer. The source will be published under MIT.","The source is not public yet. It will be published under MIT. The pages under Contributing describe working on it once it is.","yml",{},{"lead":368,"text":369},"Early.","The source is not public yet. It will be published under MIT.","source\u002Fprivate","ZIRSRgoDOBHkU54QRPpdRltyFcq_DTWub-4p70w1DaY",1796109414045,"515e4a29-51e4-43d8-b774-a8b94f7dc369"]