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.

cpaua1 min296
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

Share

Author

cpaua

VibeCode blog admin. Writing about vibe coding, AI and open source.

Comments

To leave a comment, log in or sign up
Loading...

Weekly digest

The best of vibe coding, AI agents and open source — once a week, no spam.