[{"data":1,"prerenderedAt":290,"buildId":291},["ShallowReactive",2],{"docs-surround:\u002Fdocs\u002Fusing-zerohead\u002Fremote-access":3,"docs:\u002Fdocs\u002Fusing-zerohead\u002Fremote-access":12,"i-lucide:copy":177,"i-lucide:menu":182,"i-lucide:search":184,"navigation":186,"source":278},[4,8],{"title":5,"path":6,"stem":7,"children":-1},"Connectors","\u002Fdocs\u002Fusing-zerohead\u002Fconnectors","docs\u002F2.using-zerohead\u002F5.connectors",{"title":9,"path":10,"stem":11,"children":-1},"Claude Code","\u002Fdocs\u002Fagents\u002Fclaude-code","docs\u002F3.agents\u002F1.claude-code",{"id":13,"title":14,"body":15,"description":169,"extension":170,"meta":171,"navigation":172,"path":173,"seo":174,"stem":175,"__hash__":176},"docs\u002Fdocs\u002F2.using-zerohead\u002F6.remote-access.md","Remote access",{"type":16,"value":17,"toc":162},"minimark",[18,22,28,33,49,58,62,65,76,87,99,110,113,117,120,124,147,150,156],[19,20,21],"p",{},"zerohead Connect is how you reach your computer from a phone or another network. It has three parts: a hosted service for accounts and a relay, a client inside your zerohead server, and a hosted build of the web app.",[23,24,25],"note",{},[19,26,27],{},"Connect is built and tested on one machine. Nothing is deployed, so there is no address to sign in at. It has not run on a real phone, and its encryption has not had a security review by a person. Do not rely on it yet.",[29,30,32],"h2",{"id":31},"how-it-works","How it works",[34,35,36,40,43,46],"ul",{},[37,38,39],"li",{},"Your computer keeps one outbound connection to the relay. You open no port.",[37,41,42],{},"Traffic between your browser and your computer is encrypted end to end. The relay carries ciphertext and cannot read it.",[37,44,45],{},"Your computer decides who gets in. A device needs a short-lived pass from the service, and your computer checks it itself.",[37,47,48],{},"Until you link it, your server makes no connection to a Connect service.",[19,50,51,52,57],{},"Connect is not offered as a hosted service yet, so there is no address to link to. Running your own copy of the service is for people working on zerohead: see ",[53,54,56],"a",{"href":55},"\u002Fdocs\u002Fcontributing\u002Fbuild-from-source#run-connect-yourself","Contributing",".",[29,59,61],{"id":60},"link-your-computer","Link your computer",[19,63,64],{},"There is no default service address. Give the one of the service you use:",[66,67,73],"pre",{"className":68,"code":70,"language":71,"meta":72},[69],"language-sh","zerohead connect --url https:\u002F\u002Fconnect.example\n","sh","",[74,75,70],"code",{"__ignoreMap":72},[19,77,78,79,82,83,86],{},"The address must be ",[74,80,81],{},"https",", or ",[74,84,85],{},"http"," for a loopback address.",[88,89,90,93,96],"ol",{},[37,91,92],{},"The command prints a link and a code.",[37,94,95],{},"Open the link, sign in to your account, and enter the code. Approve it only if you started this sign-in yourself.",[37,97,98],{},"The command registers the computer and writes a private link file in your data folder.",[19,100,101,102,105,106,109],{},"A running ",[74,103,104],{},"zerohead serve"," connects within a second. Run ",[74,107,108],{},"zerohead connect --relink --url \u003Caddress>"," to link again. On Windows, the command warns when the data folder is outside your profile folder, because the link file holds a key.",[19,111,112],{},"The service's free plan allows one computer and one other device.",[29,114,116],{"id":115},"use-it-from-a-phone","Use it from a phone",[19,118,119],{},"Open the service's address in the phone's browser, sign in, register the browser as a device, and choose your computer. The app is the same one your computer serves. If it cannot connect, it shows a screen that says why, for example that the computer is offline.",[29,121,123],{"id":122},"manage-devices","Manage devices",[19,125,126,127,131,132,135,136,138,139,142,143,146],{},"Open ",[128,129,130],"strong",{},"More",", then ",[128,133,134],{},"Settings",", and find ",[128,137,14],{},". It shows the account, the service, the relay state and each device that connected. ",[128,140,141],{},"Refuse"," turns a device away on your computer, whatever the service says. ",[128,144,145],{},"Allow"," lets it in again.",[19,148,149],{},"From the command line:",[66,151,154],{"className":152,"code":153,"language":71,"meta":72},[69],"zerohead connect status\nzerohead connect refuse \u003Cid>\nzerohead connect allow \u003Cid>\nzerohead disconnect\n",[74,155,153],{"__ignoreMap":72},[19,157,158,161],{},[74,159,160],{},"disconnect"," unlinks the computer and removes the link file, whether or not the service answers. The server stops the connection when it sees the file go.",{"title":72,"searchDepth":163,"depth":163,"links":164},2,[165,166,167,168],{"id":31,"depth":163,"text":32},{"id":60,"depth":163,"text":61},{"id":115,"depth":163,"text":116},{"id":122,"depth":163,"text":123},"zerohead Connect reaches your computer through an encrypted relay, and is built but not hosted anywhere yet.","md",{},true,"\u002Fdocs\u002Fusing-zerohead\u002Fremote-access",{"title":14,"description":169},"docs\u002F2.using-zerohead\u002F6.remote-access","0FSBqQ6bBKPTyqS5WmzYo0WmPqFN4jpIXvWeTcWJnqU",{"left":178,"top":178,"width":179,"height":179,"rotate":178,"vFlip":180,"hFlip":180,"body":181},0,24,false,"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Crect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\u002F>\u003C\u002Fg>",{"left":178,"top":178,"width":179,"height":179,"rotate":178,"vFlip":180,"hFlip":180,"body":183},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 5h16M4 12h16M4 19h16\"\u002F>",{"left":178,"top":178,"width":179,"height":179,"rotate":178,"vFlip":180,"hFlip":180,"body":185},"\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>",[187],{"title":188,"path":189,"stem":190,"children":191,"page":180},"Docs","\u002Fdocs","docs",[192,209,232,258,270],{"title":193,"path":194,"stem":195,"children":196,"page":180},"Get started","\u002Fdocs\u002Fget-started","docs\u002F1.get-started",[197,201,205],{"title":198,"path":199,"stem":200},"Install","\u002Fdocs\u002Fget-started\u002Finstall","docs\u002F1.get-started\u002F1.install",{"title":202,"path":203,"stem":204},"Pair a browser","\u002Fdocs\u002Fget-started\u002Fpair-a-browser","docs\u002F1.get-started\u002F2.pair-a-browser",{"title":206,"path":207,"stem":208},"Your first task","\u002Fdocs\u002Fget-started\u002Fyour-first-task","docs\u002F1.get-started\u002F3.your-first-task",{"title":210,"path":211,"stem":212,"children":213,"page":180},"Using zerohead","\u002Fdocs\u002Fusing-zerohead","docs\u002F2.using-zerohead",[214,218,222,226,230,231],{"title":215,"path":216,"stem":217},"Companies and agents","\u002Fdocs\u002Fusing-zerohead\u002Fcompanies-and-agents","docs\u002F2.using-zerohead\u002F1.companies-and-agents",{"title":219,"path":220,"stem":221},"Tasks and runs","\u002Fdocs\u002Fusing-zerohead\u002Ftasks-and-runs","docs\u002F2.using-zerohead\u002F2.tasks-and-runs",{"title":223,"path":224,"stem":225},"Company memory","\u002Fdocs\u002Fusing-zerohead\u002Fcompany-memory","docs\u002F2.using-zerohead\u002F3.company-memory",{"title":227,"path":228,"stem":229},"Budgets and approvals","\u002Fdocs\u002Fusing-zerohead\u002Fbudgets-and-approvals","docs\u002F2.using-zerohead\u002F4.budgets-and-approvals",{"title":5,"path":6,"stem":7},{"title":14,"path":173,"stem":175},{"title":233,"path":234,"stem":235,"children":236,"page":180},"Agents","\u002Fdocs\u002Fagents","docs\u002F3.agents",[237,238,242,246,250,254],{"title":9,"path":10,"stem":11},{"title":239,"path":240,"stem":241},"Codex","\u002Fdocs\u002Fagents\u002Fcodex","docs\u002F3.agents\u002F2.codex",{"title":243,"path":244,"stem":245},"OpenCode","\u002Fdocs\u002Fagents\u002Fopencode","docs\u002F3.agents\u002F3.opencode",{"title":247,"path":248,"stem":249},"Pi","\u002Fdocs\u002Fagents\u002Fpi","docs\u002F3.agents\u002F4.pi",{"title":251,"path":252,"stem":253},"Cursor","\u002Fdocs\u002Fagents\u002Fcursor","docs\u002F3.agents\u002F5.cursor",{"title":255,"path":256,"stem":257},"Scripts and HTTP","\u002Fdocs\u002Fagents\u002Fscripts-and-http","docs\u002F3.agents\u002F6.scripts-and-http",{"title":259,"path":260,"stem":261,"children":262,"page":180},"Reference","\u002Fdocs\u002Freference","docs\u002F4.reference",[263,266],{"title":134,"path":264,"stem":265},"\u002Fdocs\u002Freference\u002Fsettings","docs\u002F4.reference\u002F1.settings",{"title":267,"path":268,"stem":269},"Command line","\u002Fdocs\u002Freference\u002Fcommand-line","docs\u002F4.reference\u002F2.command-line",{"title":56,"path":271,"stem":272,"children":273,"page":180},"\u002Fdocs\u002Fcontributing","docs\u002F5.contributing",[274],{"title":275,"path":276,"stem":277},"Build from source","\u002Fdocs\u002Fcontributing\u002Fbuild-from-source","docs\u002F5.contributing\u002F1.build-from-source",{"id":279,"clone":280,"description":281,"docsNotice":282,"extension":283,"meta":284,"status":285,"stem":288,"__hash__":289},"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":286,"text":287},"Early.","The source is not public yet. It will be published under MIT.","source\u002Fprivate","ZIRSRgoDOBHkU54QRPpdRltyFcq_DTWub-4p70w1DaY",1796109414070,"515e4a29-51e4-43d8-b774-a8b94f7dc369"]