Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.apigo.ai/llms.txt

Use this file to discover all available pages before exploring further.

Install Codex CLI

Install Codex CLI globally with npm:
# Version 0.57.0 is recommended
npm i -g @openai/codex@0.57.0

Configure ApiGo API

Important: clear OpenAI environment variables before use Before configuring, clear the following OpenAI-related environment variables so they do not override your ApiGo settings:
  • OPENAI_BASE_URL
  • OPENAI_API_KEY

Choose an integration method

@apigo/vibe-coding corresponds to the interactive terminal tool Agent CLI Switch. This flow writes and switches Codex config for you directly.Follow the flow shown in the screenshots:
  1. Open Agent CLI Switch v0.1.0.
  2. In the Main menu, choose Configure tools.
Agent CLI Switch main menu with Configure tools selected.
  1. In Select tool, choose Codex.
Agent CLI Switch tool selection screen for switching between Claude Code and Codex.
  1. In Codex edit config, enter: API URL: https://maas.apigo.ai/v1 API Key: your ApiGo key
  2. After you see the config-saved prompt, choose to apply the configuration immediately.
After that, run codex directly. Before you use it, confirm the currently supported Token Plan model IDs in the Model Catalog, then choose the model you need.