Back to Vibe Kanban

OpenAI Codex

docs/agents/openai-codex.mdx

0.1.01.3 KB
Original Source
<Steps> <Step title="Run OpenAI Codex"> ```bash npx -y @openai/codex ``` </Step> <Step title="Follow the login instructions"> Complete the authentication flow as prompted. Follow the authentication instructions from the [OpenAI help centre](https://help.openai.com/en/articles/11369540-using-codex-with-your-chatgpt-plan) to use Codex with your ChatGPT plan.

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>

<Step title="Start Vibe Kanban"> Once authenticated, launch Vibe Kanban:
bash
npx vibe-kanban

You can now select OpenAI Codex when creating task attempts. </Step> </Steps>

Custom Configuration Directory

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.

bash
# Example: Using a project-specific Codex configuration
export CODEX_HOME=/path/to/custom/codex
npx vibe-kanban

This is useful for:

  • Project-specific Codex profiles
  • Separating work and personal configurations
  • Custom automation setups