[{"data":1,"prerenderedAt":426},["ShallowReactive",2],{"navigation_docs":3,"-reference-cli":168,"-reference-cli-surround":421},[4,146],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":36},"Guide","i-lucide-book-open","\u002Fguide","1.guide",[10,14,37,55,59,63,67,71,75,79,83,87,109,134,138,142],{"title":11,"path":12,"stem":13},"What is Agent Zero?","\u002Fguide\u002Fintroduction","1.guide\u002F1.introduction",{"title":15,"icon":16,"path":17,"stem":18,"children":19,"page":36},"API","i-lucide-plug","\u002Fguide\u002Fapi","1.guide\u002F10.api",[20,24,28,32],{"title":21,"path":22,"stem":23},"API overview","\u002Fguide\u002Fapi\u002Foverview","1.guide\u002F10.api\u002F1.overview",{"title":25,"path":26,"stem":27},"Define endpoints","\u002Fguide\u002Fapi\u002Fdefine-endpoints","1.guide\u002F10.api\u002F2.define-endpoints",{"title":29,"path":30,"stem":31},"Use the API from a client","\u002Fguide\u002Fapi\u002Fuse-from-client","1.guide\u002F10.api\u002F3.use-from-client",{"title":33,"path":34,"stem":35},"Protect endpoints","\u002Fguide\u002Fapi\u002Fprotect-endpoints","1.guide\u002F10.api\u002F4.protect-endpoints",false,{"title":38,"icon":39,"path":40,"stem":41,"children":42,"page":36},"Authentication","i-lucide-lock","\u002Fguide\u002Fauthentication","1.guide\u002F11.authentication",[43,47,51],{"title":44,"path":45,"stem":46},"Authentication overview","\u002Fguide\u002Fauthentication\u002Foverview","1.guide\u002F11.authentication\u002F1.overview",{"title":48,"path":49,"stem":50},"GitHub OAuth","\u002Fguide\u002Fauthentication\u002Foauth","1.guide\u002F11.authentication\u002F2.oauth",{"title":52,"path":53,"stem":54},"Permissions","\u002Fguide\u002Fauthentication\u002Fpermissions","1.guide\u002F11.authentication\u002F3.permissions",{"title":56,"path":57,"stem":58},"Organizations","\u002Fguide\u002Forganizations","1.guide\u002F12.organizations",{"title":60,"path":61,"stem":62},"Frontend","\u002Fguide\u002Ffrontend","1.guide\u002F13.frontend",{"title":64,"path":65,"stem":66},"Mails","\u002Fguide\u002Fmails","1.guide\u002F14.mails",{"title":68,"path":69,"stem":70},"Internationalization","\u002Fguide\u002Finternationalization","1.guide\u002F15.internationalization",{"title":72,"path":73,"stem":74},"Deployment","\u002Fguide\u002Fdeployment","1.guide\u002F16.deployment",{"title":76,"path":77,"stem":78},"Tech stack","\u002Fguide\u002Ftech-stack","1.guide\u002F2.tech-stack",{"title":80,"path":81,"stem":82},"Installation","\u002Fguide\u002Finstallation","1.guide\u002F3.installation",{"title":84,"path":85,"stem":86},"Environment variables","\u002Fguide\u002Fenvironment-variables","1.guide\u002F4.environment-variables",{"title":88,"icon":89,"path":90,"stem":91,"children":92,"page":36},"Codebase","i-lucide-folder-tree","\u002Fguide\u002Fcodebase","1.guide\u002F5.codebase",[93,97,101,105],{"title":94,"path":95,"stem":96},"Codebase structure","\u002Fguide\u002Fcodebase\u002Fstructure","1.guide\u002F5.codebase\u002F1.structure",{"title":98,"path":99,"stem":100},"Dependencies","\u002Fguide\u002Fcodebase\u002Fdependencies","1.guide\u002F5.codebase\u002F2.dependencies",{"title":102,"path":103,"stem":104},"Formatting and linting","\u002Fguide\u002Fcodebase\u002Fformatting-linting","1.guide\u002F5.codebase\u002F3.formatting-linting",{"title":106,"path":107,"stem":108},"Agent Skills","\u002Fguide\u002Fcodebase\u002Fagent-skills","1.guide\u002F5.codebase\u002F4.agent-skills",{"title":110,"icon":111,"path":112,"stem":113,"children":114,"page":36},"Architecture","i-lucide-layers","\u002Fguide\u002Farchitecture","1.guide\u002F6.architecture",[115,118,122,126,130],{"title":110,"path":116,"stem":117},"\u002Fguide\u002Farchitecture\u002Foverview","1.guide\u002F6.architecture\u002F1.overview",{"title":119,"path":120,"stem":121},"State machine","\u002Fguide\u002Farchitecture\u002Fstate-machine","1.guide\u002F6.architecture\u002F2.state-machine",{"title":123,"path":124,"stem":125},"Execution boundary","\u002Fguide\u002Farchitecture\u002Fexecution-boundary","1.guide\u002F6.architecture\u002F3.execution-boundary",{"title":127,"path":128,"stem":129},"Issue-to-PR workflow","\u002Fguide\u002Farchitecture\u002Fissue-to-pr","1.guide\u002F6.architecture\u002F4.issue-to-pr",{"title":131,"path":132,"stem":133},"Adding a capability","\u002Fguide\u002Farchitecture\u002Fadding-a-capability","1.guide\u002F6.architecture\u002F5.adding-a-capability",{"title":135,"path":136,"stem":137},"Repository policy","\u002Fguide\u002Fconfiguration","1.guide\u002F7.configuration",{"title":139,"path":140,"stem":141},"Safety model","\u002Fguide\u002Fsafety","1.guide\u002F8.safety",{"title":143,"path":144,"stem":145},"Database","\u002Fguide\u002Fdatabase","1.guide\u002F9.database",{"title":147,"icon":148,"path":149,"stem":150,"children":151,"page":36},"Reference","i-lucide-book-marked","\u002Freference","2.reference",[152,156,160,164],{"title":153,"path":154,"stem":155},"CLI","\u002Freference\u002Fcli","2.reference\u002F1.cli",{"title":157,"path":158,"stem":159},"Model providers","\u002Freference\u002Fmodel-providers","2.reference\u002F2.model-providers",{"title":161,"path":162,"stem":163},"Source-control providers","\u002Freference\u002Fsource-control-providers","2.reference\u002F3.source-control-providers",{"title":165,"path":166,"stem":167},"Sandbox providers","\u002Freference\u002Fsandbox-providers","2.reference\u002F4.sandbox-providers",{"id":169,"title":153,"body":170,"description":414,"extension":415,"links":416,"meta":417,"navigation":418,"path":154,"seo":419,"stem":155,"__hash__":420},"docs\u002F2.reference\u002F1.cli.md",{"type":171,"value":172,"toc":400},"minimark",[173,204,209,219,226,239,245,252,258,269,275,285,291,304,308,321,325,328,378,382],[174,175,176,177,181,182,191,192,199,200,203],"p",{},"The ",[178,179,180],"code",{},"zero"," CLI is the local entry point: it parses arguments with ",[183,184,188],"a",{"href":185,"rel":186},"https:\u002F\u002Fgithub.com\u002Fbomb-sh\u002Fargs",[187],"nofollow",[178,189,190],{},"@bomb.sh\u002Fargs"," and renders with ",[183,193,196],{"href":194,"rel":195},"https:\u002F\u002Fgithub.com\u002Fbombshell-dev\u002Fclack",[187],[178,197,198],{},"@clack\u002Fprompts",". Inside the repository, run it as ",[178,201,202],{},"aube run zero \u003Ccommand>",".",[205,206,208],"h2",{"id":207},"commands","Commands",[210,211,217],"pre",{"className":212,"code":214,"language":215,"meta":216},[213],"language-text","zero init                   create .agent-zero.yml\nzero --version              print the injected CLI version\nzero doctor [--json]        inspect the local environment\nzero review (--feedback X | --proactive)  inspect without editing\nzero fix (--feedback X | --proactive)     validate, edit, and verify (policy permitting)\nzero run (--feedback X | --proactive)     run using the configured mode\n","text","",[178,218,214],{"__ignoreMap":216},[220,221,223],"h3",{"id":222},"zero-init",[178,224,225],{},"zero init",[174,227,228,229,232,233,236,237,203],{},"Creates ",[178,230,231],{},".agent-zero.yml"," with the safe defaults (",[178,234,235],{},"mode: observe",", autofix disabled). See ",[183,238,135],{"href":136},[220,240,242],{"id":241},"zero-doctor",[178,243,244],{},"zero doctor",[174,246,247,248,251],{},"Inspects the local environment: toolchain, configuration, and provider credentials. ",[178,249,250],{},"--json"," emits machine-readable output for scripts and CI.",[220,253,255],{"id":254},"zero-review",[178,256,257],{},"zero review",[174,259,260,261,264,265,268],{},"Inspects without editing — safe on any checkout. Provide the finding to check with ",[178,262,263],{},"--feedback \"…\"",", or use ",[178,266,267],{},"--proactive"," to inspect the working-tree diff without reviewer feedback.",[220,270,272],{"id":271},"zero-fix",[178,273,274],{},"zero fix",[174,276,277,278,280,281,284],{},"Validates, edits, and verifies — when repository policy permits. The full authorization chain in the ",[183,279,139],{"href":140}," applies; without it, ",[178,282,283],{},"fix"," degrades to reporting the refusal.",[220,286,288],{"id":287},"zero-run",[178,289,290],{},"zero run",[174,292,293,294,296,297,300,301,303],{},"Runs using the mode configured in ",[178,295,231],{},", so the same invocation is safe (",[178,298,299],{},"observe",") or active (",[178,302,283],{},") depending on the repository's own policy.",[205,305,307],{"id":306},"triggers-and-interactivity","Triggers and interactivity",[174,309,310,311,314,315,317,318,320],{},"When neither ",[178,312,313],{},"--feedback"," nor ",[178,316,267],{}," is provided in a terminal, the CLI asks for the task interactively. Use explicit flags with ",[178,319,250],{}," for scripts and CI.",[205,322,324],{"id":323},"exit-codes","Exit codes",[174,326,327],{},"Exit codes are a contract:",[329,330,331,344],"table",{},[332,333,334],"thead",{},[335,336,337,341],"tr",{},[338,339,340],"th",{},"Code",[338,342,343],{},"Meaning",[345,346,347,358,368],"tbody",{},[335,348,349,355],{},[350,351,352],"td",{},[178,353,354],{},"0",[350,356,357],{},"Clean run",[335,359,360,365],{},[350,361,362],{},[178,363,364],{},"1",[350,366,367],{},"Run failed",[335,369,370,375],{},[350,371,372],{},[178,373,374],{},"2",[350,376,377],{},"A human decision is required",[205,379,381],{"id":380},"version","Version",[174,383,384,387,388,395,396,399],{},[178,385,386],{},"zero --version"," prints the version injected at build time by ",[183,389,392],{"href":390,"rel":391},"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@redstardev\u002Funplugin-version-injector",[187],[178,393,394],{},"@redstardev\u002Funplugin-version-injector"," into ",[178,397,398],{},"@agent-zero\u002Fshared","; the CLI displays the same version in its header.",{"title":216,"searchDepth":401,"depth":401,"links":402},2,[403,411,412,413],{"id":207,"depth":401,"text":208,"children":404},[405,407,408,409,410],{"id":222,"depth":406,"text":225},3,{"id":241,"depth":406,"text":244},{"id":254,"depth":406,"text":257},{"id":271,"depth":406,"text":274},{"id":287,"depth":406,"text":290},{"id":306,"depth":401,"text":307},{"id":323,"depth":401,"text":324},{"id":380,"depth":401,"text":381},"The zero CLI is the local entry point: it parses arguments with @bomb.sh\u002Fargs and renders with @clack\u002Fprompts. Inside the repository, run it as aube run zero \u003Ccommand>.","md",null,{},true,{"title":153,"description":414},"asej73szNyPXU87RsCzo-bgw9eku6ruEYiutM--Xabw",[422,424],{"title":143,"path":144,"stem":145,"description":423,"children":-1},"Agent Zero's runtime is deliberately persistence-free. The repository contains exactly one database — Postgres, used by the dashboard's authentication session store — and one package that owns it.",{"title":157,"path":158,"stem":159,"description":425,"children":-1},"Agent Zero supports native OpenAI, Anthropic, and Google Generative AI adapters, Vercel AI Gateway, and arbitrary OpenAI-compatible endpoints — all behind one ModelProvider contract in packages\u002Fmodels, sharing one structured-output, usage-accounting, timeout, and error-redaction path.",1787482151431]