[{"data":1,"prerenderedAt":481},["ShallowReactive",2],{"doc:en:\u002Fproviders\u002Fcodex":3,"navigation:en":250,"surround:en:\u002Fproviders\u002Fcodex":476},{"page":4,"fallback":249},{"id":5,"title":6,"body":7,"description":241,"extension":242,"meta":243,"navigation":244,"path":245,"seo":246,"stem":247,"__hash__":248},"docs_en\u002Fproviders\u002Fcodex.md","Codex",{"type":8,"value":9,"toc":235},"minimark",[10,19,24,27,92,103,114,118,121,125,131,141,186,189,214,218,224,231],[11,12,13,14,18],"p",{},"Zekoder runs Codex through the official ",[15,16,17],"code",{},"codex"," CLI and its app-server interface. It uses your local installation and existing OpenAI sign-in.",[20,21,23],"h2",{"id":22},"getting-started","Getting started",[11,25,26],{},"Codex is built in and enabled by default.",[28,29,30,70,85],"ol",{},[31,32,33,34,41,42],"li",{},"Install the ",[35,36,40],"a",{"href":37,"rel":38},"https:\u002F\u002Fdevelopers.openai.com\u002Fcodex\u002Fcli",[39],"nofollow","Codex CLI"," on your host:",[43,44,49],"pre",{"className":45,"code":46,"language":47,"meta":48,"style":48},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","npm install -g @openai\u002Fcodex\n","bash","",[15,50,51],{"__ignoreMap":48},[52,53,56,60,64,67],"span",{"class":54,"line":55},"line",1,[52,57,59],{"class":58},"sBMFI","npm",[52,61,63],{"class":62},"sfazB"," install",[52,65,66],{"class":62}," -g",[52,68,69],{"class":62}," @openai\u002Fcodex\n",[31,71,72,73],{},"Sign in with ChatGPT for subscription access:",[43,74,76],{"className":45,"code":75,"language":47,"meta":48,"style":48},"codex login\n",[15,77,78],{"__ignoreMap":48},[52,79,80,82],{"class":54,"line":55},[52,81,17],{"class":58},[52,83,84],{"class":62}," login\n",[31,86,87,88,91],{},"In Zekoder, choose ",[89,90,6],"strong",{}," when you start an agent.",[11,93,94,95,98,99,102],{},"To bill through an OpenAI Platform API key instead, run ",[15,96,97],{},"printenv OPENAI_API_KEY | codex login --with-api-key"," on macOS or Linux. On Windows PowerShell, run ",[15,100,101],{},"$env:OPENAI_API_KEY | codex login --with-api-key",".",[11,104,105,106,108,109,113],{},"If ",[15,107,17],{}," is outside the daemon's PATH, set a command override (see ",[35,110,112],{"href":111},"\u002Fproviders","Supported providers",").",[20,115,117],{"id":116},"does-codex-cost-extra-in-zekoder","Does Codex cost extra in Zekoder?",[11,119,120],{},"No. Sign in with ChatGPT to use the access in your plan, or with an API key to bill through your OpenAI Platform account. Your plan's normal Codex limits and OpenAI's API pricing apply.",[20,122,124],{"id":123},"codex-is-missing-in-zekoder","Codex is missing in Zekoder",[11,126,127,128,130],{},"The ChatGPT desktop app and the Codex CLI are separate installs. The desktop app does not add the ",[15,129,17],{}," command.",[11,132,133,134,136,137,140],{},"Check that ",[15,135,17],{}," is on your ",[15,138,139],{},"PATH",":",[43,142,144],{"className":45,"code":143,"language":47,"meta":48,"style":48},"# macOS or Linux\nwhich -a codex\n\n# Windows\nwhere.exe codex\n",[15,145,146,152,165,172,178],{"__ignoreMap":48},[52,147,148],{"class":54,"line":55},[52,149,151],{"class":150},"sHwdD","# macOS or Linux\n",[52,153,155,159,162],{"class":54,"line":154},2,[52,156,158],{"class":157},"s2Zo4","which",[52,160,161],{"class":62}," -a",[52,163,164],{"class":62}," codex\n",[52,166,168],{"class":54,"line":167},3,[52,169,171],{"emptyLinePlaceholder":170},true,"\n",[52,173,175],{"class":54,"line":174},4,[52,176,177],{"class":150},"# Windows\n",[52,179,181,184],{"class":54,"line":180},5,[52,182,183],{"class":58},"where.exe",[52,185,164],{"class":62},[11,187,188],{},"If it is not found:",[28,190,191,194,201,204],{},[31,192,193],{},"Install the Codex CLI.",[31,195,196,197,200],{},"Sign in with ",[15,198,199],{},"codex login"," or an API key.",[31,202,203],{},"If the daemon was running when you installed the CLI, restart Zekoder.",[31,205,206,207,210,211,102],{},"Open ",[89,208,209],{},"Settings → Hosts → your host → Providers → Codex"," and select ",[89,212,213],{},"Refresh",[20,215,217],{"id":216},"use-codex-in-the-terminal","Use Codex in the terminal",[11,219,220,221,223],{},"Open a terminal in your workspace and run ",[15,222,17],{}," for the standard CLI experience.",[11,225,226,227,102],{},"See also ",[35,228,230],{"href":229},"\u002Ffaq\u002Fcodex#why-does-codex-archive-my-sessions","Why does Codex archive my sessions?",[232,233,234],"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);}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}",{"title":48,"searchDepth":154,"depth":154,"links":236},[237,238,239,240],{"id":22,"depth":154,"text":23},{"id":116,"depth":154,"text":117},{"id":123,"depth":154,"text":124},{"id":216,"depth":154,"text":217},"Run Codex in Zekoder using the official Codex CLI and your existing OpenAI account.","md",{},{"order":167},"\u002Fproviders\u002Fcodex",{"title":6,"description":241},"providers\u002Fcodex","yDqX010LQcBfcP-2ELWyvgh6K_MIj-ydTpJp3cMeNKQ",false,[251,256,275,300,348,365,410,443,457,471],{"title":252,"path":253,"stem":254,"order":255},"Zekoder documentation","\u002F","index",-1,{"title":23,"path":257,"stem":22,"children":258,"page":249},"\u002Fgetting-started",[259,263,267,271],{"title":260,"path":261,"stem":262},"Install","\u002Fgetting-started\u002Finstall","getting-started\u002Finstall",{"title":264,"path":265,"stem":266,"order":55},"Quick start","\u002Fgetting-started\u002Fquick-start","getting-started\u002Fquick-start",{"title":268,"path":269,"stem":270,"order":154},"Connect a host","\u002Fgetting-started\u002Fconnect-a-host","getting-started\u002Fconnect-a-host",{"title":272,"path":273,"stem":274,"order":167},"Install on a remote machine","\u002Fgetting-started\u002Fremote-host","getting-started\u002Fremote-host",{"title":276,"path":277,"stem":278,"children":279,"page":249},"Hosts","\u002Fhosts","hosts",[280,284,288,292,296],{"title":281,"path":282,"stem":283},"Security","\u002Fhosts\u002Fsecurity","hosts\u002Fsecurity",{"title":285,"path":286,"stem":287,"order":55},"The built-in host","\u002Fhosts\u002Fbuilt-in-host","hosts\u002Fbuilt-in-host",{"title":289,"path":290,"stem":291,"order":154},"Update a remote host","\u002Fhosts\u002Fupdate-a-remote-host","hosts\u002Fupdate-a-remote-host",{"title":293,"path":294,"stem":295,"order":167},"Register a remote host on a host","\u002Fhosts\u002Fregister-a-remote-host","hosts\u002Fregister-a-remote-host",{"title":297,"path":298,"stem":299,"order":174},"Connectivity","\u002Fhosts\u002Fconnectivity","hosts\u002Fconnectivity",{"title":112,"path":111,"stem":301,"children":302},"providers",[303,306,310,314,315,319,323,328,333,338,343],{"title":112,"path":111,"stem":304,"order":305},"providers\u002Findex",0,{"title":307,"path":308,"stem":309,"order":55},"Antigravity","\u002Fproviders\u002Fantigravity","providers\u002Fantigravity",{"title":311,"path":312,"stem":313,"order":154},"Claude Code","\u002Fproviders\u002Fclaude-code","providers\u002Fclaude-code",{"title":6,"path":245,"stem":247,"order":167},{"title":316,"path":317,"stem":318,"order":174},"fx","\u002Fproviders\u002Ffx","providers\u002Ffx",{"title":320,"path":321,"stem":322,"order":180},"GitHub Copilot","\u002Fproviders\u002Fgithub-copilot","providers\u002Fgithub-copilot",{"title":324,"path":325,"stem":326,"order":327},"Hoplite","\u002Fproviders\u002Fhoplite","providers\u002Fhoplite",6,{"title":329,"path":330,"stem":331,"order":332},"Muse Code","\u002Fproviders\u002Fmuse-code","providers\u002Fmuse-code",7,{"title":334,"path":335,"stem":336,"order":337},"Oh My Pi","\u002Fproviders\u002Fomp","providers\u002Fomp",8,{"title":339,"path":340,"stem":341,"order":342},"OpenCode","\u002Fproviders\u002Fopencode","providers\u002Fopencode",9,{"title":344,"path":345,"stem":346,"order":347},"Pi","\u002Fproviders\u002Fpi","providers\u002Fpi",10,{"title":349,"path":350,"stem":351,"children":352,"page":249},"Reference","\u002Freference","reference",[353,357,361],{"title":354,"path":355,"stem":356,"order":55},"CLI reference","\u002Freference\u002Fcli","reference\u002Fcli",{"title":358,"path":359,"stem":360,"order":55},"Plugin reference","\u002Freference\u002Fplugins","reference\u002Fplugins",{"title":362,"path":363,"stem":364,"order":154},"Configuration","\u002Freference\u002Fconfiguration","reference\u002Fconfiguration",{"title":366,"path":367,"stem":368,"children":369,"page":249},"Using Zekoder","\u002Fusing-zekoder","using-zekoder",[370,374,378,382,386,390,394,398,402,406],{"title":371,"path":372,"stem":373,"order":55},"Projects and workspaces","\u002Fusing-zekoder\u002Fprojects-and-workspaces","using-zekoder\u002Fprojects-and-workspaces",{"title":375,"path":376,"stem":377,"order":154},"Agents and the composer","\u002Fusing-zekoder\u002Fagents","using-zekoder\u002Fagents",{"title":379,"path":380,"stem":381,"order":154},"Worktree setup and teardown","\u002Fusing-zekoder\u002Fworktrees","using-zekoder\u002Fworktrees",{"title":383,"path":384,"stem":385,"order":167},"Review changes","\u002Fusing-zekoder\u002Freview-changes","using-zekoder\u002Freview-changes",{"title":387,"path":388,"stem":389,"order":174},"Keyboard shortcuts","\u002Fusing-zekoder\u002Fkeyboard-shortcuts","using-zekoder\u002Fkeyboard-shortcuts",{"title":391,"path":392,"stem":393,"order":180},"Settings and updates","\u002Fusing-zekoder\u002Fsettings-and-updates","using-zekoder\u002Fsettings-and-updates",{"title":395,"path":396,"stem":397,"order":327},"Metadata generation","\u002Fusing-zekoder\u002Fmetadata-generation","using-zekoder\u002Fmetadata-generation",{"title":399,"path":400,"stem":401,"order":332},"Schedules","\u002Fusing-zekoder\u002Fschedules","using-zekoder\u002Fschedules",{"title":403,"path":404,"stem":405,"order":337},"Orchestration skills","\u002Fusing-zekoder\u002Fskills","using-zekoder\u002Fskills",{"title":407,"path":408,"stem":409,"order":342},"Phone and web","\u002Fusing-zekoder\u002Fphone-and-web","using-zekoder\u002Fphone-and-web",{"title":411,"path":412,"stem":413,"children":414,"page":249},"Zekoder workflow","\u002Fzekoder-workflow","zekoder-workflow",[415,419,423,427,431,435,439],{"title":416,"path":417,"stem":418,"order":55},"How the workflow works","\u002Fzekoder-workflow\u002Foverview","zekoder-workflow\u002Foverview",{"title":420,"path":421,"stem":422,"order":154},"Commands","\u002Fzekoder-workflow\u002Fcommands","zekoder-workflow\u002Fcommands",{"title":424,"path":425,"stem":426,"order":167},"The Issues screen","\u002Fzekoder-workflow\u002Fissues","zekoder-workflow\u002Fissues",{"title":428,"path":429,"stem":430,"order":174},"Project settings","\u002Fzekoder-workflow\u002Fproject-settings","zekoder-workflow\u002Fproject-settings",{"title":432,"path":433,"stem":434,"order":180},"Coding health reports","\u002Fzekoder-workflow\u002Freports","zekoder-workflow\u002Freports",{"title":436,"path":437,"stem":438,"order":327},"Versions and updates","\u002Fzekoder-workflow\u002Fversion","zekoder-workflow\u002Fversion",{"title":440,"path":441,"stem":442,"order":332},"Error codes","\u002Fzekoder-workflow\u002Ferror-codes","zekoder-workflow\u002Ferror-codes",{"title":444,"order":445,"path":446,"stem":447,"children":448,"page":249},"Productivity tips",50,"\u002Fproductivity-tips","productivity-tips",[449,453],{"title":450,"path":451,"stem":452,"order":55},"Background tasks","\u002Fproductivity-tips\u002Fbackground-tasks","productivity-tips\u002Fbackground-tasks",{"title":454,"path":455,"stem":456,"order":154},"Agent-to-agent messaging","\u002Fproductivity-tips\u002Fagent-messaging","productivity-tips\u002Fagent-messaging",{"title":458,"order":459,"path":460,"stem":461,"children":462,"page":249},"FAQs",98,"\u002Ffaq","faq",[463,467],{"title":464,"path":465,"stem":466,"order":55},"Codex related FAQs","\u002Ffaq\u002Fcodex","faq\u002Fcodex",{"title":468,"path":469,"stem":470,"order":154},"Linux related FAQs","\u002Ffaq\u002Flinux","faq\u002Flinux",{"title":472,"path":473,"stem":474,"order":475},"What changed","\u002Fwhats-changed","whats-changed",99,[477,479],{"title":311,"path":312,"stem":313,"description":478,"order":154,"children":-1},"Run Claude Code in Zekoder using your existing Claude plan.",{"title":316,"path":317,"stem":318,"description":480,"order":174,"children":-1},"Install and add fx for Zekoder.",1796318316993]