docs/agents/openai-codex.mdx
Alternatively, Codex can be used via the OpenAI API by setting the OPENAI_API_KEY environment variable. For more details, see the OpenAI documentation
</Step>
npx vibe-kanban
You can now select OpenAI Codex when creating task attempts. </Step> </Steps>
By default, Codex stores its configuration and session data in ~/.codex. If you have configured a custom location using the CODEX_HOME environment variable, Vibe Kanban will automatically detect and use that location.
# Example: Using a project-specific Codex configuration
export CODEX_HOME=/path/to/custom/codex
npx vibe-kanban
This is useful for: