Skip to main content
Use AIsa in the Codex CLI with one provider block in ~/.codex/config.toml and one API key. AIsa endpoint:

Prerequisites

Before you start, make sure you have:

1. Install Codex

Or with Homebrew:
Verify the installation:

2. Add AIsa as the model provider

Export your AIsa API key (add it to ~/.zshrc or ~/.bashrc to persist):
Then add this to ~/.codex/config.toml (create the file if it doesn’t exist):
  • env_key tells Codex which environment variable holds your key.
  • wire_api = "chat" uses AIsa’s standard OpenAI-compatible Chat Completions endpoint. Models that expose POST /v1/responses in the catalog (e.g. gpt-5.4, gpt-5.5) also work with wire_api = "responses".
  • Swap model for any coding-capable model — gpt-5, claude-opus-4-8, kimi-k2.5, qwen3-coder-plus, etc.

3. Start Codex and connect AIsa capabilities

Then paste this prompt:
Codex will fetch AIsa’s agent-facing instructions and guide you through the remaining setup. Try:

Quick reference

Troubleshooting

Use AIsa in Claude Code

Configure Anthropic’s Claude Code with the same AIsa key.

Authentication

API key creation, rotation, and storage best practices.

Model Catalog

Browse coding models before choosing a Codex default.