Skip to main content
The OpenAI Codex SDK (@openai/codex-sdk) is a TypeScript SDK for running Codex coding agents programmatically. Braintrust traces Codex threads, agent turns, and tool calls.
This page documents the @openai/codex-sdk SDK. To use the Codex CLI with Braintrust’s MCP server instead, see Codex.