[{"data":1,"prerenderedAt":351,"buildId":352},["ShallowReactive",2],{"docs-surround:\u002Fdocs\u002Fusing-zerohead\u002Fcompanies-and-agents":3,"docs:\u002Fdocs\u002Fusing-zerohead\u002Fcompanies-and-agents":12,"i-lucide:menu":244,"i-lucide:search":249,"navigation":251,"source":339},[4,8],{"title":5,"path":6,"stem":7,"children":-1},"Your first task","\u002Fdocs\u002Fget-started\u002Fyour-first-task","docs\u002F1.get-started\u002F3.your-first-task",{"title":9,"path":10,"stem":11,"children":-1},"Tasks and runs","\u002Fdocs\u002Fusing-zerohead\u002Ftasks-and-runs","docs\u002F2.using-zerohead\u002F2.tasks-and-runs",{"id":13,"title":14,"body":15,"description":236,"extension":237,"meta":238,"navigation":239,"path":240,"seo":241,"stem":242,"__hash__":243},"docs\u002Fdocs\u002F2.using-zerohead\u002F1.companies-and-agents.md","Companies and agents",{"type":16,"value":17,"toc":226},"minimark",[18,22,27,30,34,46,139,142,145,149,152,156,159,190,197,201,212,216],[19,20,21],"p",{},"A company is the unit you work in. It holds agents, projects, tasks, runs, budgets and its own memory.",[23,24,26],"h2",{"id":25},"companies","Companies",[19,28,29],{},"Each company has its own SQLite file and its own memory repository in your data folder. Nothing is shared between companies. The app shows one company at a time. Create another from the company switcher, and switch between them there.",[23,31,33],{"id":32},"agents","Agents",[19,35,36,37,41,42,45],{},"An agent is an employee with a role, a manager and instructions. Open ",[38,39,40],"strong",{},"Team"," to see the org tree. Select ",[38,43,44],{},"New agent"," to add one.",[47,48,49,62],"table",{},[50,51,52],"thead",{},[53,54,55,59],"tr",{},[56,57,58],"th",{},"Field",[56,60,61],{},"What it does",[63,64,65,80,90,105,119,129],"tbody",{},[53,66,67,77],{},[68,69,70,73,74],"td",{},[38,71,72],{},"Name"," and ",[38,75,76],{},"Title",[68,78,79],{},"Who it is. The title and instructions go into the agent's prompt.",[53,81,82,87],{},[68,83,84],{},[38,85,86],{},"Reports to",[68,88,89],{},"The agent's manager. Leave it at \"Top of org (no manager)\" for the top of the tree.",[53,91,92,97],{},[68,93,94],{},[38,95,96],{},"Adapter",[68,98,99,100,104],{},"Which tool runs the agent: Claude Code, Codex, OpenCode, Cursor, Pi, a program or a web service. See ",[101,102,33],"a",{"href":103},"\u002Fdocs\u002Fagents\u002Fclaude-code",".",[53,106,107,112],{},[68,108,109],{},[38,110,111],{},"Memory trust",[68,113,114,115,104],{},"Whether the agent writes to company memory directly or waits for you. See ",[101,116,118],{"href":117},"\u002Fdocs\u002Fusing-zerohead\u002Fcompany-memory","Company memory",[53,120,121,126],{},[68,122,123],{},[38,124,125],{},"Heartbeat interval (seconds)",[68,127,128],{},"Empty means the agent runs only when woken by a task or comment. A number makes it wake on that interval.",[53,130,131,136],{},[68,132,133],{},[38,134,135],{},"Instructions",[68,137,138],{},"Added to the agent's prompt on every run.",[19,140,141],{},"The org is a strict tree. An agent cannot report to itself or to anyone below it.",[19,143,144],{},"Switching a heartbeat on never starts a run at once. The interval counts from when you set it.",[23,146,148],{"id":147},"what-an-agent-may-do","What an agent may do",[19,150,151],{},"An agent reaches zerohead through tools. It can read and change only tasks assigned to itself or to agents below it. It can create tasks only for itself or its direct reports. It cannot see another team's tasks. zerohead checks these rules on the server, because an agent's output is an untrusted claim.",[23,153,155],{"id":154},"pause-edit-and-run-now","Pause, edit and run now",[19,157,158],{},"Open an agent to see its adapter, memory trust, heartbeat, manager and recent runs.",[160,161,162,172,178,184],"ul",{},[163,164,165,168,169,104],"li",{},[38,166,167],{},"Pause"," stops new runs. Pending wakeups wait until you select ",[38,170,171],{},"Resume",[163,173,174,177],{},[38,175,176],{},"Edit"," changes any field. The adapter's settings are replaced when you save. Changing the adapter clears them, and the form asks first.",[163,179,180,183],{},[38,181,182],{},"Run now"," starts a run by hand. It needs an active agent.",[163,185,186,189],{},[38,187,188],{},"Assign task"," creates a task for this agent.",[19,191,192,193,104],{},"A held agent cannot be run by hand. The agent's page says why it is held. See ",[101,194,196],{"href":195},"\u002Fdocs\u002Fusing-zerohead\u002Fbudgets-and-approvals","Budgets and approvals",[23,198,200],{"id":199},"secrets-in-agent-settings","Secrets in agent settings",[19,202,203,204,207,208,211],{},"Values in an agent's ",[38,205,206],{},"Environment"," (or ",[38,209,210],{},"Headers",") are never shown again once saved. The app shows that a value is set. To keep it, leave the row alone. To replace it, type a new value. zerohead also removes saved values of at least 8 characters from what an agent prints during a run, before that output is stored or shown. A shorter value is not removed, and the form warns you.",[23,213,215],{"id":214},"projects","Projects",[19,217,218,219,222,223,225],{},"A project is a name and an absolute working folder on the computer that runs zerohead. Open ",[38,220,221],{},"More",", then ",[38,224,215],{},", to add one. A task with a project runs in that folder. A task with none runs in a folder zerohead makes for the agent. If a project's folder does not exist, the run fails.",{"title":227,"searchDepth":228,"depth":228,"links":229},"",2,[230,231,232,233,234,235],{"id":25,"depth":228,"text":26},{"id":32,"depth":228,"text":33},{"id":147,"depth":228,"text":148},{"id":154,"depth":228,"text":155},{"id":199,"depth":228,"text":200},{"id":214,"depth":228,"text":215},"How a company, its org tree of agents and its projects fit together, and what you set on an agent.","md",{},true,"\u002Fdocs\u002Fusing-zerohead\u002Fcompanies-and-agents",{"title":14,"description":236},"docs\u002F2.using-zerohead\u002F1.companies-and-agents","44Hsr39Tyfi4WHVEegjxWyAD-kJyumkovtJG1QIX0t8",{"left":245,"top":245,"width":246,"height":246,"rotate":245,"vFlip":247,"hFlip":247,"body":248},0,24,false,"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 5h16M4 12h16M4 19h16\"\u002F>",{"left":245,"top":245,"width":246,"height":246,"rotate":245,"vFlip":247,"hFlip":247,"body":250},"\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>",[252],{"title":253,"path":254,"stem":255,"children":256,"page":247},"Docs","\u002Fdocs","docs",[257,271,290,317,330],{"title":258,"path":259,"stem":260,"children":261,"page":247},"Get started","\u002Fdocs\u002Fget-started","docs\u002F1.get-started",[262,266,270],{"title":263,"path":264,"stem":265},"Install","\u002Fdocs\u002Fget-started\u002Finstall","docs\u002F1.get-started\u002F1.install",{"title":267,"path":268,"stem":269},"Pair a browser","\u002Fdocs\u002Fget-started\u002Fpair-a-browser","docs\u002F1.get-started\u002F2.pair-a-browser",{"title":5,"path":6,"stem":7},{"title":272,"path":273,"stem":274,"children":275,"page":247},"Using zerohead","\u002Fdocs\u002Fusing-zerohead","docs\u002F2.using-zerohead",[276,277,278,280,282,286],{"title":14,"path":240,"stem":242},{"title":9,"path":10,"stem":11},{"title":118,"path":117,"stem":279},"docs\u002F2.using-zerohead\u002F3.company-memory",{"title":196,"path":195,"stem":281},"docs\u002F2.using-zerohead\u002F4.budgets-and-approvals",{"title":283,"path":284,"stem":285},"Connectors","\u002Fdocs\u002Fusing-zerohead\u002Fconnectors","docs\u002F2.using-zerohead\u002F5.connectors",{"title":287,"path":288,"stem":289},"Remote access","\u002Fdocs\u002Fusing-zerohead\u002Fremote-access","docs\u002F2.using-zerohead\u002F6.remote-access",{"title":33,"path":291,"stem":292,"children":293,"page":247},"\u002Fdocs\u002Fagents","docs\u002F3.agents",[294,297,301,305,309,313],{"title":295,"path":103,"stem":296},"Claude Code","docs\u002F3.agents\u002F1.claude-code",{"title":298,"path":299,"stem":300},"Codex","\u002Fdocs\u002Fagents\u002Fcodex","docs\u002F3.agents\u002F2.codex",{"title":302,"path":303,"stem":304},"OpenCode","\u002Fdocs\u002Fagents\u002Fopencode","docs\u002F3.agents\u002F3.opencode",{"title":306,"path":307,"stem":308},"Pi","\u002Fdocs\u002Fagents\u002Fpi","docs\u002F3.agents\u002F4.pi",{"title":310,"path":311,"stem":312},"Cursor","\u002Fdocs\u002Fagents\u002Fcursor","docs\u002F3.agents\u002F5.cursor",{"title":314,"path":315,"stem":316},"Scripts and HTTP","\u002Fdocs\u002Fagents\u002Fscripts-and-http","docs\u002F3.agents\u002F6.scripts-and-http",{"title":318,"path":319,"stem":320,"children":321,"page":247},"Reference","\u002Fdocs\u002Freference","docs\u002F4.reference",[322,326],{"title":323,"path":324,"stem":325},"Settings","\u002Fdocs\u002Freference\u002Fsettings","docs\u002F4.reference\u002F1.settings",{"title":327,"path":328,"stem":329},"Command line","\u002Fdocs\u002Freference\u002Fcommand-line","docs\u002F4.reference\u002F2.command-line",{"title":331,"path":332,"stem":333,"children":334,"page":247},"Contributing","\u002Fdocs\u002Fcontributing","docs\u002F5.contributing",[335],{"title":336,"path":337,"stem":338},"Build from source","\u002Fdocs\u002Fcontributing\u002Fbuild-from-source","docs\u002F5.contributing\u002F1.build-from-source",{"id":340,"clone":341,"description":342,"docsNotice":343,"extension":344,"meta":345,"status":346,"stem":349,"__hash__":350},"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":347,"text":348},"Early.","The source is not public yet. It will be published under MIT.","source\u002Fprivate","ZIRSRgoDOBHkU54QRPpdRltyFcq_DTWub-4p70w1DaY",1796109414045,"515e4a29-51e4-43d8-b774-a8b94f7dc369"]