[{"data":1,"prerenderedAt":394},["ShallowReactive",2],{"doc:en:\u002Fproviders\u002Fopencode":3,"navigation:en":161,"surround:en:\u002Fproviders\u002Fopencode":389},{"page":4,"fallback":160},{"id":5,"title":6,"body":7,"description":151,"extension":152,"meta":153,"navigation":154,"path":156,"seo":157,"stem":158,"__hash__":159},"docs_en\u002Fproviders\u002Fopencode.md","OpenCode",{"type":8,"value":9,"toc":146},"minimark",[10,19,24,27,82,85,96,100,103,139,142],[11,12,13,14,18],"p",{},"Zekoder runs OpenCode through your installed ",[15,16,17],"code",{},"opencode"," CLI. It uses your existing credentials and configuration.",[20,21,23],"h2",{"id":22},"getting-started","Getting started",[11,25,26],{},"OpenCode is built in and enabled by default.",[28,29,30,69,75],"ol",{},[31,32,33,34,40,41],"li",{},"Install ",[35,36,6],"a",{"href":37,"rel":38},"https:\u002F\u002Fopencode.ai\u002F",[39],"nofollow"," on your host:",[42,43,48],"pre",{"className":44,"code":45,"language":46,"meta":47,"style":47},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","npm install -g opencode-ai\n","bash","",[15,49,50],{"__ignoreMap":47},[51,52,55,59,63,66],"span",{"class":53,"line":54},"line",1,[51,56,58],{"class":57},"sBMFI","npm",[51,60,62],{"class":61},"sfazB"," install",[51,64,65],{"class":61}," -g",[51,67,68],{"class":61}," opencode-ai\n",[31,70,71,72,74],{},"Connect OpenCode to a model provider, and make sure ",[15,73,17],{}," runs in a terminal.",[31,76,77,78,81],{},"In Zekoder, choose ",[79,80,6],"strong",{}," when you start an agent.",[11,83,84],{},"If you use OpenCode v2, install version 2.0.10 or later. Zekoder rejects older v2 versions.",[11,86,87,88,90,91,95],{},"If ",[15,89,17],{}," is outside the daemon's PATH, set a command override (see ",[35,92,94],{"href":93},"\u002Fproviders","Supported providers",").",[20,97,99],{"id":98},"modes","Modes",[11,101,102],{},"Zekoder shows OpenCode agents as modes.",[104,105,106,119],"table",{},[107,108,109],"thead",{},[110,111,112,116],"tr",{},[113,114,115],"th",{},"Mode",[113,117,118],{},"Effect",[120,121,122,131],"tbody",{},[110,123,124,128],{},[125,126,127],"td",{},"Build",[125,129,130],{},"Allows edits and tool execution.",[110,132,133,136],{},[125,134,135],{},"Plan",[125,137,138],{},"Read-only planning. OpenCode avoids file edits.",[11,140,141],{},"Primary agents that you define in OpenCode appear in the same list.",[143,144,145],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":47,"searchDepth":147,"depth":147,"links":148},2,[149,150],{"id":22,"depth":147,"text":23},{"id":98,"depth":147,"text":99},"Install OpenCode and run it in Zekoder.","md",{},{"order":155},9,"\u002Fproviders\u002Fopencode",{"title":6,"description":151},"providers\u002Fopencode","_K7HNq8gt2YUvS7DxJ_bDqHvAZFtJm0VGdw_jE2BF2M",false,[162,167,187,213,261,278,323,356,370,384],{"title":163,"path":164,"stem":165,"order":166},"Zekoder documentation","\u002F","index",-1,{"title":23,"path":168,"stem":22,"children":169,"page":160},"\u002Fgetting-started",[170,174,178,182],{"title":171,"path":172,"stem":173},"Install","\u002Fgetting-started\u002Finstall","getting-started\u002Finstall",{"title":175,"path":176,"stem":177,"order":54},"Quick start","\u002Fgetting-started\u002Fquick-start","getting-started\u002Fquick-start",{"title":179,"path":180,"stem":181,"order":147},"Connect a host","\u002Fgetting-started\u002Fconnect-a-host","getting-started\u002Fconnect-a-host",{"title":183,"path":184,"stem":185,"order":186},"Install on a remote machine","\u002Fgetting-started\u002Fremote-host","getting-started\u002Fremote-host",3,{"title":188,"path":189,"stem":190,"children":191,"page":160},"Hosts","\u002Fhosts","hosts",[192,196,200,204,208],{"title":193,"path":194,"stem":195},"Security","\u002Fhosts\u002Fsecurity","hosts\u002Fsecurity",{"title":197,"path":198,"stem":199,"order":54},"The built-in host","\u002Fhosts\u002Fbuilt-in-host","hosts\u002Fbuilt-in-host",{"title":201,"path":202,"stem":203,"order":147},"Update a remote host","\u002Fhosts\u002Fupdate-a-remote-host","hosts\u002Fupdate-a-remote-host",{"title":205,"path":206,"stem":207,"order":186},"Register a remote host on a host","\u002Fhosts\u002Fregister-a-remote-host","hosts\u002Fregister-a-remote-host",{"title":209,"path":210,"stem":211,"order":212},"Connectivity","\u002Fhosts\u002Fconnectivity","hosts\u002Fconnectivity",4,{"title":94,"path":93,"stem":214,"children":215},"providers",[216,219,223,227,231,235,240,245,250,255,256],{"title":94,"path":93,"stem":217,"order":218},"providers\u002Findex",0,{"title":220,"path":221,"stem":222,"order":54},"Antigravity","\u002Fproviders\u002Fantigravity","providers\u002Fantigravity",{"title":224,"path":225,"stem":226,"order":147},"Claude Code","\u002Fproviders\u002Fclaude-code","providers\u002Fclaude-code",{"title":228,"path":229,"stem":230,"order":186},"Codex","\u002Fproviders\u002Fcodex","providers\u002Fcodex",{"title":232,"path":233,"stem":234,"order":212},"fx","\u002Fproviders\u002Ffx","providers\u002Ffx",{"title":236,"path":237,"stem":238,"order":239},"GitHub Copilot","\u002Fproviders\u002Fgithub-copilot","providers\u002Fgithub-copilot",5,{"title":241,"path":242,"stem":243,"order":244},"Hoplite","\u002Fproviders\u002Fhoplite","providers\u002Fhoplite",6,{"title":246,"path":247,"stem":248,"order":249},"Muse Code","\u002Fproviders\u002Fmuse-code","providers\u002Fmuse-code",7,{"title":251,"path":252,"stem":253,"order":254},"Oh My Pi","\u002Fproviders\u002Fomp","providers\u002Fomp",8,{"title":6,"path":156,"stem":158,"order":155},{"title":257,"path":258,"stem":259,"order":260},"Pi","\u002Fproviders\u002Fpi","providers\u002Fpi",10,{"title":262,"path":263,"stem":264,"children":265,"page":160},"Reference","\u002Freference","reference",[266,270,274],{"title":267,"path":268,"stem":269,"order":54},"CLI reference","\u002Freference\u002Fcli","reference\u002Fcli",{"title":271,"path":272,"stem":273,"order":54},"Plugin reference","\u002Freference\u002Fplugins","reference\u002Fplugins",{"title":275,"path":276,"stem":277,"order":147},"Configuration","\u002Freference\u002Fconfiguration","reference\u002Fconfiguration",{"title":279,"path":280,"stem":281,"children":282,"page":160},"Using Zekoder","\u002Fusing-zekoder","using-zekoder",[283,287,291,295,299,303,307,311,315,319],{"title":284,"path":285,"stem":286,"order":54},"Projects and workspaces","\u002Fusing-zekoder\u002Fprojects-and-workspaces","using-zekoder\u002Fprojects-and-workspaces",{"title":288,"path":289,"stem":290,"order":147},"Agents and the composer","\u002Fusing-zekoder\u002Fagents","using-zekoder\u002Fagents",{"title":292,"path":293,"stem":294,"order":147},"Worktree setup and teardown","\u002Fusing-zekoder\u002Fworktrees","using-zekoder\u002Fworktrees",{"title":296,"path":297,"stem":298,"order":186},"Review changes","\u002Fusing-zekoder\u002Freview-changes","using-zekoder\u002Freview-changes",{"title":300,"path":301,"stem":302,"order":212},"Keyboard shortcuts","\u002Fusing-zekoder\u002Fkeyboard-shortcuts","using-zekoder\u002Fkeyboard-shortcuts",{"title":304,"path":305,"stem":306,"order":239},"Settings and updates","\u002Fusing-zekoder\u002Fsettings-and-updates","using-zekoder\u002Fsettings-and-updates",{"title":308,"path":309,"stem":310,"order":244},"Metadata generation","\u002Fusing-zekoder\u002Fmetadata-generation","using-zekoder\u002Fmetadata-generation",{"title":312,"path":313,"stem":314,"order":249},"Schedules","\u002Fusing-zekoder\u002Fschedules","using-zekoder\u002Fschedules",{"title":316,"path":317,"stem":318,"order":254},"Orchestration skills","\u002Fusing-zekoder\u002Fskills","using-zekoder\u002Fskills",{"title":320,"path":321,"stem":322,"order":155},"Phone and web","\u002Fusing-zekoder\u002Fphone-and-web","using-zekoder\u002Fphone-and-web",{"title":324,"path":325,"stem":326,"children":327,"page":160},"Zekoder workflow","\u002Fzekoder-workflow","zekoder-workflow",[328,332,336,340,344,348,352],{"title":329,"path":330,"stem":331,"order":54},"How the workflow works","\u002Fzekoder-workflow\u002Foverview","zekoder-workflow\u002Foverview",{"title":333,"path":334,"stem":335,"order":147},"Commands","\u002Fzekoder-workflow\u002Fcommands","zekoder-workflow\u002Fcommands",{"title":337,"path":338,"stem":339,"order":186},"The Issues screen","\u002Fzekoder-workflow\u002Fissues","zekoder-workflow\u002Fissues",{"title":341,"path":342,"stem":343,"order":212},"Project settings","\u002Fzekoder-workflow\u002Fproject-settings","zekoder-workflow\u002Fproject-settings",{"title":345,"path":346,"stem":347,"order":239},"Coding health reports","\u002Fzekoder-workflow\u002Freports","zekoder-workflow\u002Freports",{"title":349,"path":350,"stem":351,"order":244},"Versions and updates","\u002Fzekoder-workflow\u002Fversion","zekoder-workflow\u002Fversion",{"title":353,"path":354,"stem":355,"order":249},"Error codes","\u002Fzekoder-workflow\u002Ferror-codes","zekoder-workflow\u002Ferror-codes",{"title":357,"order":358,"path":359,"stem":360,"children":361,"page":160},"Productivity tips",50,"\u002Fproductivity-tips","productivity-tips",[362,366],{"title":363,"path":364,"stem":365,"order":54},"Background tasks","\u002Fproductivity-tips\u002Fbackground-tasks","productivity-tips\u002Fbackground-tasks",{"title":367,"path":368,"stem":369,"order":147},"Agent-to-agent messaging","\u002Fproductivity-tips\u002Fagent-messaging","productivity-tips\u002Fagent-messaging",{"title":371,"order":372,"path":373,"stem":374,"children":375,"page":160},"FAQs",98,"\u002Ffaq","faq",[376,380],{"title":377,"path":378,"stem":379,"order":54},"Codex related FAQs","\u002Ffaq\u002Fcodex","faq\u002Fcodex",{"title":381,"path":382,"stem":383,"order":147},"Linux related FAQs","\u002Ffaq\u002Flinux","faq\u002Flinux",{"title":385,"path":386,"stem":387,"order":388},"What changed","\u002Fwhats-changed","whats-changed",99,[390,392],{"title":251,"path":252,"stem":253,"description":391,"order":254,"children":-1},"Install and turn on Oh My Pi for Zekoder.",{"title":257,"path":258,"stem":259,"description":393,"order":260,"children":-1},"Install Pi and run it in Zekoder.",1796318317626]