Run OpenAI Agents API sessions in Daytona sandboxes with zero inbound ports
mattturck · x · 2026-09-11
OpenAI's new Agents API hosts the entire agent loop (the Codex harness handles planning, tool calls, context management and failure recovery) — you only supply a sandbox. Daytona published a guide: the sandbox runs codex exec-server, which dials out to OpenAI and registers as the session's execution environment, exposing no inbound ports, with least-privilege keys and bring-your-own-image support.
Unlike the self-hosted Agents SDK, your app just creates a session, attaches a sandbox, submits a task and streams output. OpenAI offers first-class sandbox integrations with Daytona, E2B, Modal, Cloudflare and others.
Related event: OpenAI Launches Agents API Beta, Opening Up the Codex Harness(21 posts)→
More from coding & agent
- AIE Code Summit 2026 opens applications: 800 seats, keynotes streamed free — trq212 · 2026-10-27
- Decade-long cloud architect: enterprise AI architecture is far more than bolting on an LLM — kashifmanzoor · 2026-10-27
- TRL adds Score Centering, a simple fix for RLHF training instability — lvwerra · 2026-10-27
- Precompute golden answers and match at runtime for exact wording control — colinmcnamara · 2026-10-27
- Dev argues there's still alpha in working with your coding agent interactively — alex_frantic · 2026-10-27
- Researchers launch AMA on patterns for safer AI agents used by citizen developers — Loose_Rip359 · 2026-10-27