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
- He benchmarks new models by having them build their own copilot — $28 of compute — bucolucas · 2026-10-27
- Should agents be allowed to change plans mid-task? Reddit debates the drift boundary — wistfulcracker84 · 2026-10-27
- HeyGen + Canva MCP turns slide speaker notes into an avatar presentation video — HeyGen · 2026-10-27
- Local beats cloud: Qwen 3.8 FN handles private student data as well as frontier models — dr_lm · 2026-10-27
- LLM Tails cuts agent input tokens 80% by making agents read before they write — savadks1818 · 2026-10-27
- 10 practical ways to run Astra computer use on Premiere Pro for video editing — beechinour · 2026-10-27