[{"data":1,"prerenderedAt":383,"buildId":384},["ShallowReactive",2],{"docs-surround:\u002Fdocs\u002Fusing-zerohead\u002Fcompany-memory":3,"docs:\u002Fdocs\u002Fusing-zerohead\u002Fcompany-memory":12,"i-lucide:menu":270,"i-lucide:search":275,"navigation":277,"source":371},[4,8],{"title":5,"path":6,"stem":7,"children":-1},"Tasks and runs","\u002Fdocs\u002Fusing-zerohead\u002Ftasks-and-runs","docs\u002F2.using-zerohead\u002F2.tasks-and-runs",{"title":9,"path":10,"stem":11,"children":-1},"Budgets and approvals","\u002Fdocs\u002Fusing-zerohead\u002Fbudgets-and-approvals","docs\u002F2.using-zerohead\u002F4.budgets-and-approvals",{"id":13,"title":14,"body":15,"description":262,"extension":263,"meta":264,"navigation":265,"path":266,"seo":267,"stem":268,"__hash__":269},"docs\u002Fdocs\u002F2.using-zerohead\u002F3.company-memory.md","Company memory",{"type":16,"value":17,"toc":252},"minimark",[18,22,27,30,91,98,102,125,169,172,177,181,194,198,205,223,231,235,242,246,249],[19,20,21],"p",{},"Company memory is a set of Markdown pages in a git repository, one for each company. Agents read it before each run and add to it as they work. You can read, edit and undo anything in it.",[23,24,26],"h2",{"id":25},"where-pages-live","Where pages live",[19,28,29],{},"Pages sit in four folders:",[31,32,33,46],"table",{},[34,35,36],"thead",{},[37,38,39,43],"tr",{},[40,41,42],"th",{},"Folder",[40,44,45],{},"Holds",[47,48,49,61,71,81],"tbody",{},[37,50,51,58],{},[52,53,54],"td",{},[55,56,57],"code",{},"decisions\u002F",[52,59,60],{},"Decisions, including a page for every approval you decide",[37,62,63,68],{},[52,64,65],{},[55,66,67],{},"skills\u002F",[52,69,70],{},"How to do things",[37,72,73,78],{},[52,74,75],{},[55,76,77],{},"knowledge\u002F",[52,79,80],{},"What agents learned about the work",[37,82,83,88],{},[52,84,85],{},[55,86,87],{},"handoffs\u002F",[52,89,90],{},"A page for each finished task, written by zerohead",[19,92,93,94,97],{},"The repository is in the company's folder inside your data folder. It needs ",[55,95,96],{},"git"," on your computer. If git is missing, memory tells you it is required.",[23,99,101],{"id":100},"read-and-edit","Read and edit",[19,103,104,105,109,110,113,114,113,117,120,121,124],{},"Open ",[106,107,108],"strong",{},"Memory",". It has four tabs: ",[106,111,112],{},"Pages",", ",[106,115,116],{},"Search",[106,118,119],{},"Changes"," and ",[106,122,123],{},"Proposals",".",[126,127,128,135,153],"ol",{},[129,130,131,132,134],"li",{},"In ",[106,133,112],{},", select a page to read it.",[129,136,137,138,141,142,145,146,149,150,124],{},"Select ",[106,139,140],{},"Edit",", change the ",[106,143,144],{},"Markdown content",", add a ",[106,147,148],{},"Change note (optional)"," and select ",[106,151,152],{},"Save page",[129,154,155,156,158,159,162,163,166,167,124],{},"To add a page, choose a ",[106,157,42],{}," and a ",[106,160,161],{},"File name",". The file name ends in ",[55,164,165],{},".md",". You cannot create pages under ",[55,168,87],{},[19,170,171],{},"If a page changed while you were editing, the app says so and offers to load the new version. It never overwrites a newer version silently.",[19,173,174,176],{},[106,175,116],{}," is full-text search over every page.",[23,178,180],{"id":179},"every-change-is-a-commit","Every change is a commit",[19,182,183,185,186,189,190,193],{},[106,184,119],{}," lists every commit, newest first, whoever made it. Select ",[106,187,188],{},"View diff"," to see one. Select ",[106,191,192],{},"Undo change"," to revert it. If later changes conflict, the undo is refused and nothing changes.",[23,195,197],{"id":196},"trust","Trust",[19,199,200,201,204],{},"Each agent has a ",[106,202,203],{},"Memory trust"," setting.",[206,207,208,214],"ul",{},[129,209,210,213],{},[106,211,212],{},"Trusted"," agents write directly. Their changes are commits.",[129,215,216,219,220,222],{},[106,217,218],{},"Low"," agents write proposals. A proposal waits in ",[106,221,123],{}," until you approve or reject it. If the page changed after the proposal was made, approving it is refused. Reject it, and the agent can propose again.",[19,224,225,226,228,229,124],{},"Agents cannot delete pages or undo changes. They cannot write under ",[55,227,87],{},", and they cannot write the approval pages the server keeps under ",[55,230,57],{},[23,232,234],{"id":233},"handoffs","Handoffs",[19,236,237,238,241],{},"When a trusted agent finishes a task run with a result, zerohead writes ",[55,239,240],{},"handoffs\u002Ftask-\u003Cnumber>.md"," with the outcome and result. A low-trust agent's result stays on its run record and writes no page, so its output cannot reach another agent's prompt without your approval.",[23,243,245],{"id":244},"how-agents-use-memory","How agents use memory",[19,247,248],{},"Agents search, list, read and write pages through tools. Memory goes into each run's prompt last, quoted and labelled as information, not instructions. A page written by one agent cannot pose as zerohead's own instructions to the next.",[19,250,251],{},"Writing to memory never wakes an agent.",{"title":253,"searchDepth":254,"depth":254,"links":255},"",2,[256,257,258,259,260,261],{"id":25,"depth":254,"text":26},{"id":100,"depth":254,"text":101},{"id":179,"depth":254,"text":180},{"id":196,"depth":254,"text":197},{"id":233,"depth":254,"text":234},{"id":244,"depth":254,"text":245},"Markdown pages in a git repository that agents read and write, where every change is a commit you can undo.","md",{},true,"\u002Fdocs\u002Fusing-zerohead\u002Fcompany-memory",{"title":14,"description":262},"docs\u002F2.using-zerohead\u002F3.company-memory","VgVR7oTTZngsyMJdvEuBOIad8-FyzyL48A9bySbOJis",{"left":271,"top":271,"width":272,"height":272,"rotate":271,"vFlip":273,"hFlip":273,"body":274},0,24,false,"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 5h16M4 12h16M4 19h16\"\u002F>",{"left":271,"top":271,"width":272,"height":272,"rotate":271,"vFlip":273,"hFlip":273,"body":276},"\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>",[278],{"title":279,"path":280,"stem":281,"children":282,"page":273},"Docs","\u002Fdocs","docs",[283,300,320,349,362],{"title":284,"path":285,"stem":286,"children":287,"page":273},"Get started","\u002Fdocs\u002Fget-started","docs\u002F1.get-started",[288,292,296],{"title":289,"path":290,"stem":291},"Install","\u002Fdocs\u002Fget-started\u002Finstall","docs\u002F1.get-started\u002F1.install",{"title":293,"path":294,"stem":295},"Pair a browser","\u002Fdocs\u002Fget-started\u002Fpair-a-browser","docs\u002F1.get-started\u002F2.pair-a-browser",{"title":297,"path":298,"stem":299},"Your first task","\u002Fdocs\u002Fget-started\u002Fyour-first-task","docs\u002F1.get-started\u002F3.your-first-task",{"title":301,"path":302,"stem":303,"children":304,"page":273},"Using zerohead","\u002Fdocs\u002Fusing-zerohead","docs\u002F2.using-zerohead",[305,309,310,311,312,316],{"title":306,"path":307,"stem":308},"Companies and agents","\u002Fdocs\u002Fusing-zerohead\u002Fcompanies-and-agents","docs\u002F2.using-zerohead\u002F1.companies-and-agents",{"title":5,"path":6,"stem":7},{"title":14,"path":266,"stem":268},{"title":9,"path":10,"stem":11},{"title":313,"path":314,"stem":315},"Connectors","\u002Fdocs\u002Fusing-zerohead\u002Fconnectors","docs\u002F2.using-zerohead\u002F5.connectors",{"title":317,"path":318,"stem":319},"Remote access","\u002Fdocs\u002Fusing-zerohead\u002Fremote-access","docs\u002F2.using-zerohead\u002F6.remote-access",{"title":321,"path":322,"stem":323,"children":324,"page":273},"Agents","\u002Fdocs\u002Fagents","docs\u002F3.agents",[325,329,333,337,341,345],{"title":326,"path":327,"stem":328},"Claude Code","\u002Fdocs\u002Fagents\u002Fclaude-code","docs\u002F3.agents\u002F1.claude-code",{"title":330,"path":331,"stem":332},"Codex","\u002Fdocs\u002Fagents\u002Fcodex","docs\u002F3.agents\u002F2.codex",{"title":334,"path":335,"stem":336},"OpenCode","\u002Fdocs\u002Fagents\u002Fopencode","docs\u002F3.agents\u002F3.opencode",{"title":338,"path":339,"stem":340},"Pi","\u002Fdocs\u002Fagents\u002Fpi","docs\u002F3.agents\u002F4.pi",{"title":342,"path":343,"stem":344},"Cursor","\u002Fdocs\u002Fagents\u002Fcursor","docs\u002F3.agents\u002F5.cursor",{"title":346,"path":347,"stem":348},"Scripts and HTTP","\u002Fdocs\u002Fagents\u002Fscripts-and-http","docs\u002F3.agents\u002F6.scripts-and-http",{"title":350,"path":351,"stem":352,"children":353,"page":273},"Reference","\u002Fdocs\u002Freference","docs\u002F4.reference",[354,358],{"title":355,"path":356,"stem":357},"Settings","\u002Fdocs\u002Freference\u002Fsettings","docs\u002F4.reference\u002F1.settings",{"title":359,"path":360,"stem":361},"Command line","\u002Fdocs\u002Freference\u002Fcommand-line","docs\u002F4.reference\u002F2.command-line",{"title":363,"path":364,"stem":365,"children":366,"page":273},"Contributing","\u002Fdocs\u002Fcontributing","docs\u002F5.contributing",[367],{"title":368,"path":369,"stem":370},"Build from source","\u002Fdocs\u002Fcontributing\u002Fbuild-from-source","docs\u002F5.contributing\u002F1.build-from-source",{"id":372,"clone":373,"description":374,"docsNotice":375,"extension":376,"meta":377,"status":378,"stem":381,"__hash__":382},"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":379,"text":380},"Early.","The source is not public yet. It will be published under MIT.","source\u002Fprivate","ZIRSRgoDOBHkU54QRPpdRltyFcq_DTWub-4p70w1DaY",1796109414045,"515e4a29-51e4-43d8-b774-a8b94f7dc369"]