Event ·Single source

OpenAI 发布 Codex Python SDK,一行 pip 安装即可编程调用

OpenAI 发布了 Codex Python SDK,通过一行 pip install openai-codex 即可安装。该 SDK 允许开发者在 Python 代码中直接启动线程、运行 turn、实时流式传输进度、恢复会话、传递图片,并精细控制沙盒访问权限。它复用现有 Codex 认证,无需额外账号,底层通过本地 app-server 与脚本通信,解决了每次输入都新建 node 进程的内存和状态管理问题。这标志着 Codex 从浏览器中的 AI IDE 转变为可编程基础设施,开发者可将其作为 agent harness 集成到脚本、调度器或仪表盘中,实现断点续跑和状态保留,重构了从“切出去问 AI”到“让 AI 在代码中执行”的工作流。

Current read

Codex SDK 把 AI 编程从手动 Vibe Coding 升级为可编程基础设施,做 agent pipeline 的开发者终于不用手写胶水代码了——线程管理、状态持久、沙盒隔离全打包好,直接 pip 安装就能用。

1 source88° AI heatLast updated 2026/6/2 17:31:56

Evidence

1 source

Conflict check

Dedup data only shows that these sources discuss the same event, not that they agree. There is no structured supporting or refuting evidence yet, so no conflict is inferred automatically.