You can use codex within your own programs using the Python SDK. It's awesome. Built by @ah20im and friends
```
pip install openai-codex
```
developers.openai.com/codex/…
If you ever get tired of managing your Codex threads, just let Codex manage itself! Codex can now create threads, search them, organize them, pin the important ones, and spin up worktrees for parallel tasks.