OpenAI Codex Python SDK: Embed Codex Agents in Your Python App
OpenAI released a Python SDK for Codex
Now Codex can be embedded directly into your Python app without hacks and wrappers.
You can start new sessions, run individual agent steps, receive streaming updates on execution progress, restore previously created sessions, pass images, and manage access to the sandbox environment.
At the same time, it uses Codex’s already configured authorization.
Installation:
pip install openai-codex
Time to build something on top of it