OpenAI Codex Python SDK: Embed Codex Agents in Your Python App
OpenAI released the Codex Python SDK. Start sessions, run agent steps, stream progress, restore sessions, pass images, and manage sandbox access.
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
Comments
Weekly digest
The best of vibe coding, AI agents and open source — once a week, no spam.
Related articles
All articlesOpenAI Codex Adds Native Chrome Extension for Parallel Browser Tasks
OpenAI Codex now supports a native Chrome extension on macOS and Windows, enabling parallel background tab processing for automation, data entry, and CRM updates.
OpenAI Frontier Models and Codex Now Available on AWS via Bedrock
OpenAI’s frontier models and Codex are now on AWS through Amazon Bedrock, enabling secure, compliant adoption with existing AWS governance and future integrations.
OpenAI Codex Build iOS Apps: Run, Preview, Hot Reload in One Place
Codex Build iOS Apps plugin runs iOS apps in Codex, opens SwiftUI Preview, and hot reloads changes—ending the copy-paste, build, screenshot loop.