zap harness bake zap-heavy-opencode --livezap harness doctor zap-heavy-opencode
⌘I
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"Zap","colors":{"primary":"#00b8d9","light":"#00e5ff","dark":"#00b8d9"},"logo":{"light":"https://media.brand.dev/86f129d9-0957-49c1-8c00-f63ea0d1e19c.png","dark":"https://media.brand.dev/86f129d9-0957-49c1-8c00-f63ea0d1e19c.png"},"favicon":"https://icons.duckduckgo.com/ip3/zap-sepia.vercel.app.ico","background":{"decoration":"gradient","color":{"dark":"#05080c"}},"navbar":{"links":[{"href":"https://zap.wzrd.tech","label":"zap.wzrd.tech"},{"href":"https://www.npmjs.com/package/@wzrdtech/zap","label":"npm"}],"primary":{"type":"github","href":"https://github.com/gratitude5dee/zap"}},"footer":{"socials":{"github":"https://github.com/gratitude5dee/zap","website":"https://zap.wzrd.tech"}},"styling":{"codeblocks":"system","latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"gratitude5dee-zap-56","hasAudioNarration":false,"actualSubdomain":"gratitude5dee-zap-56","customDomains":["docs.zap.wzrd.tech"],"gitSource":{"type":"github","owner":"gratitude5dee","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"collectionId":"c4431571-377e-441d-80c1-e25271f9ac42","liveDeploymentHistoryId":"6a99c31bb3934ee5b070d0e6","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6a99c31bb3934ee5b070d0e6"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6a99c31bb3934ee5b070d0e6","clientVersion":"0.0.4039","searchFilterCounts":[{"language":"default","tag":"Documentation","count":38},{"language":"default","tag":"Legacy (0.3.1)","count":29},{"language":"default","tag":"Reference","count":14},{"language":"default","tag":"Core Concepts","count":10},{"language":"default","tag":"Sandboxes","count":10},{"language":"default","tag":"Web App","count":6},{"language":"default","tag":"Harnesses \u0026 Templates","count":5},{"language":"default","tag":"Runtime Services","count":5},{"language":"default","tag":"Agents as Code","count":4},{"language":"default","tag":"Get Started","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"harnesses/opencode","slug":"/harnesses/opencode","pageMetadata":{"title":"OpenCode","description":"opencode serve driven via HTTP runs on the zap-heavy-opencode named snapshot — also the base of the grok overlay.","href":"/harnesses/opencode"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"opencode serve driven via HTTP runs on the zap-heavy-opencode named snapshot — also the base of the grok overlay.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`OpenCode runs `,_jsx(_components.code,{children:`opencode serve`}),` on port 4096 (private), driven via HTTP runs. It is the base of the `,_jsx(_components.code,{children:`grok`}),` overlay and the `,_jsx(_components.code,{children:`env-omarchy`}),` environment.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`field`}),_jsx(_components.th,{children:`value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`run adapter`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`http-runs`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`min weight`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`heavy`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`template`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`zap-heavy-opencode`}),` (named snapshot)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`ports`}),_jsx(_components.td,{children:`4096 (api, private)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`pins`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`[email protected]`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`units`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`opencode-serve.service`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`state dirs`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`~/.config/opencode`}),`, `,_jsx(_components.code,{children:`~/.local/share/opencode`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`MCP config`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`~/.config/opencode/opencode.json`}),` (json)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`LLM auth`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`OPENAI_API_KEY`}),` / `,_jsx(_components.code,{children:`ANTHROPIC_API_KEY`}),` (byok)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`managed gateway`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`provider.zap.options.baseURL`}),` in `,_jsx(_components.code,{children:`~/.config/opencode/opencode.json`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`disabled inbound`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`tui`}),`, `,_jsx(_components.code,{children:`share`})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`compose`,children:`Compose`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`createRuntime`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` weight:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"heavy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` plugins:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`box`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`template:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"zap-heavy-opencode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`size:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"large\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` })],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`build-and-verify`,children:`Build and verify`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`zap`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` harness`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` bake`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` zap-heavy-opencode`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --live`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`zap`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` harness`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` doctor`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` zap-heavy-opencode`})]}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"OpenCode","description":"opencode serve driven via HTTP runs on the zap-heavy-opencode named snapshot — also the base of the grok overlay.","href":"/harnesses/opencode"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Compose","slug":"compose","depth":2,"children":[]},{"title":"Build and verify","slug":"build-and-verify","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"gratitude5dee-zap-56","siteName":"Zap","title":"OpenCode - Zap","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-26T05:10:10.426Z","originalFileLocation":"harnesses/opencode.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"opencode serve driven via HTTP runs on the zap-heavy-opencode named snapshot — also the base of the grok overlay.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Zap\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/x-icon\" sizes=\"180x180\" href=\"https://icons.duckduckgo.com/ip3/zap-sepia.vercel.app.ico\">\u003clink data-mint-head rel=\"icon\" type=\"image/x-icon\" sizes=\"32x32\" href=\"https://icons.duckduckgo.com/ip3/zap-sepia.vercel.app.ico\">\u003clink data-mint-head rel=\"icon\" type=\"image/x-icon\" sizes=\"16x16\" href=\"https://icons.duckduckgo.com/ip3/zap-sepia.vercel.app.ico\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://icons.duckduckgo.com/ip3/zap-sepia.vercel.app.ico\">\u003cmeta data-mint-head property=\"og:title\" content=\"OpenCode - Zap\">\u003cmeta data-mint-head property=\"og:description\" content=\"opencode serve driven via HTTP runs on the zap-heavy-opencode named snapshot — also the base of the grok overlay.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Zap\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.zap.wzrd.tech/harnesses/opencode\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://gratitude5dee-zap-56.mintlify.app/_mintlify/api/og/v2?division=Harnesses+%26+Templates\u0026amp;title=OpenCode\u0026amp;description=opencode+serve+driven+via+HTTP+runs+on+the+zap-heavy-opencode+named+snapshot+%E2%80%94+also+the+base+of+the+grok+overlay.\u0026amp;theme=de810e164bd9fa2eb36e0685\u0026amp;signature=1f23f95bd17ce3064b014d1752be1742119ed97aa791810ee89ecc8bee6e6901\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"OpenCode - Zap\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"opencode serve driven via HTTP runs on the zap-heavy-opencode named snapshot — also the base of the grok overlay.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://gratitude5dee-zap-56.mintlify.app/_mintlify/api/og/v2?division=Harnesses+%26+Templates\u0026amp;title=OpenCode\u0026amp;description=opencode+serve+driven+via+HTTP+runs+on+the+zap-heavy-opencode+named+snapshot+%E2%80%94+also+the+base+of+the+grok+overlay.\u0026amp;theme=de810e164bd9fa2eb36e0685\u0026amp;signature=1f23f95bd17ce3064b014d1752be1742119ed97aa791810ee89ecc8bee6e6901\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/gratitude5dee-zap-56/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Zap\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#00b8d9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.zap.wzrd.tech/harnesses/opencode\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/harnesses/opencode.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.zap.wzrd.tech/#organization\",\"name\":\"Zap\",\"url\":\"https://docs.zap.wzrd.tech\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://media.brand.dev/86f129d9-0957-49c1-8c00-f63ea0d1e19c.png\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.zap.wzrd.tech#website\",\"name\":\"Zap\",\"url\":\"https://docs.zap.wzrd.tech\",\"publisher\":{\"@id\":\"https://docs.zap.wzrd.tech/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.zap.wzrd.tech/harnesses/opencode#webpage\",\"url\":\"https://docs.zap.wzrd.tech/harnesses/opencode\",\"name\":\"OpenCode\",\"description\":\"opencode serve driven via HTTP runs on the zap-heavy-opencode named snapshot — also the base of the grok overlay.\",\"dateModified\":\"2026-08-26T05:10:10.426Z\",\"isPartOf\":{\"@id\":\"https://docs.zap.wzrd.tech#website\"},\"breadcrumb\":{\"@id\":\"https://docs.zap.wzrd.tech/harnesses/opencode#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.zap.wzrd.tech/harnesses/opencode#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Harnesses \u0026 Templates\",\"item\":\"https://docs.zap.wzrd.tech/harnesses/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"OpenCode\",\"item\":\"https://docs.zap.wzrd.tech/harnesses/opencode\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.zap.wzrd.tech/harnesses/opencode#article\",\"headline\":\"OpenCode\",\"name\":\"OpenCode\",\"description\":\"opencode serve driven via HTTP runs on the zap-heavy-opencode named snapshot — also the base of the grok overlay.\",\"url\":\"https://docs.zap.wzrd.tech/harnesses/opencode\",\"mainEntityOfPage\":{\"@id\":\"https://docs.zap.wzrd.tech/harnesses/opencode#webpage\"},\"dateModified\":\"2026-08-26T05:10:10.426Z\",\"publisher\":{\"@id\":\"https://docs.zap.wzrd.tech/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.zap.wzrd.tech#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Zap\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Zap","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Get Started","pages":[{"title":"Zap v5: Composable CPU Agent Runtime","sidebarTitle":"Introduction","href":"/introduction"},{"title":"Quickstart","href":"/quickstart"},{"title":"Agents quickstart","href":"/agents/quickstart"},{"title":"Use Zap from your agent","sidebarTitle":"Use Zap from your agent","href":"/agents/use-zap"}]},{"group":"Core Concepts","pages":[{"title":"Kernel and plugins","href":"/concepts/kernel"},{"title":"Runtime profiles","href":"/concepts/runtime-profiles"},{"title":"Box-first sandboxes and isolation","href":"/concepts/sandboxes"},{"title":"Plan-only and the payer model","href":"/concepts/plan-live"},{"title":"Deployments and sessions","href":"/concepts/deployments-sessions"},{"title":"Secrets and connections","href":"/concepts/secrets-connections"}]},{"group":"Agents as Code","pages":[{"title":"Agents as code","href":"/agents/overview"},{"title":"Render model and hooks","href":"/agents/render-model"},{"title":"Connections","href":"/agents/connections"},{"title":"Example: transcode agent","href":"/agents/transcode-example"}]},{"group":"Runtime Services","pages":[{"title":"Memory","href":"/services/memory"},{"title":"Gateway","href":"/services/gateway"},{"title":"Media filesystem","href":"/services/mediafs"},{"title":"Pay","href":"/services/pay"},{"title":"API and skills store","href":"/services/api-skills-store"}]},{"group":"Sandboxes","pages":[{"title":"Box","href":"/sandboxes/box"},{"title":"Namespace","href":"/sandboxes/namespace"},{"title":"Self-host (zap-VM)","href":"/sandboxes/selfhost"},{"title":"microsandbox","href":"/sandboxes/microsandbox"},{"title":"Docker","href":"/sandboxes/docker"},{"title":"E2B","href":"/sandboxes/e2b"},{"title":"Daytona","href":"/sandboxes/daytona"},{"title":"Cloudflare Sandbox","href":"/sandboxes/cloudflare"},{"title":"Modal (GPU lane)","href":"/sandboxes/modal"},{"title":"Catalog stubs","href":"/sandboxes/catalog-stubs"}]},{"group":"Harnesses \u0026 Templates","pages":[{"title":"Harnesses","href":"/harnesses/overview"},{"title":"Hermes","href":"/harnesses/hermes"},{"title":"OpenClaw","description":"OpenClaw gateway driven through its OpenAI-compatible endpoint on the zap-heavy-openclaw named snapshot.","href":"/harnesses/openclaw"},{"title":"OpenCode","href":"/harnesses/opencode"},{"title":"Templates and overlays","description":"Base weights, named harness snapshots, overlays, and environment overlays — all built without secrets.","href":"/harnesses/templates"}]},{"group":"Commerce","pages":[{"title":"Commerce steps","href":"/commerce/overview"},{"title":"Commerce agents","href":"/commerce/agents"},{"title":"Commerce rollout guide","href":"/commerce/rollout"}]},{"group":"MCP","pages":[{"title":"MCP","href":"/mcp"}]}]},{"tab":"Reference","pages":[{"title":"Reference","href":"/reference/cli"}]},{"tab":"Legacy (0.3.1)","pages":[{"title":"Legacy (0.3.1)","href":"/legacy/home"}]}]},"basePath":"","title":"OpenCode - Zap","buildId":"dpl_77Hw7ZuAABM8E3WMbYAf2ohQCr3v","deploymentId":"dpl_77Hw7ZuAABM8E3WMbYAf2ohQCr3v","dynamics":[],"chunks":[]}