packages/ai-codex/README.md
The @theia/ai-codex integrates OpenAI's Codex agent into the Theia platform, providing natural language coding assistance through the chat interface.
Codex requires an OpenAI API key. You can configure it in several ways (in order of priority):
Codex-specific key (highest priority):
ai-features.codex.apiKeyShared OpenAI key (fallback):
ai-features.openAiOfficial.openAiApiKeyEnvironment variable (final fallback):
export OPENAI_API_KEY=your-api-key-here
If you already use OpenAI features in Theia, Codex will automatically use that API key. No additional configuration needed!
"Theia" is a trademark of the Eclipse Foundation https://www.eclipse.org/theia