The example code has an incorrect import statement: codex_app_server should be openai_codex.
Open 💬 0 comments Opened May 17, 2026 by cache-miss-hue
What is the type of issue?
Documentation is missing
What is the issue?
Issue Description
The documentation or example code uses an incorrect import statement:
from codex_app_server import Codex # ❌ This module name does not exist
The correct implementation should be:
from openai_codex import Codex, AppServerConfig # ✅ This works correctly
Verification Steps
- Execute
python -m pip install -e .in thesdk/pythondirectory to install the SDK - Run
python -c "import openai_codex; print(dir(openai_codex))"to confirm the module name isopenai_codex - The
codex_app_servermodule cannot be found, butopenai_codexworks correctly
Environment Information
- Python 3.13
- openai-codex 0.131.0a4
- Windows
Where did you find it?
_No response_