Rift vs OpenAI Agents API
The Agents API gives each session its own hosted workspace. Rift gives every session the same files.
OpenAI Agents API
Rift
What OpenAI Agents API is
The OpenAI Agents API runs the Codex agent for developers, with a hosted Linux sandbox for each session. Files an agent writes to its outputs folder are published as artifacts, which stay downloadable after the sandbox expires. A self-hosted mode lets the agent work on files on your own machine. It has been in public beta since September 2026.
How they differ
Each hosted session has a separate workspace, so the sandbox is not a shared store. Rift is one set of files that every session and every machine sees.
Which to choose
Choose OpenAI Agents API when
- Your agents run on OpenAI's platform.
- You want a managed workspace for each session.
- Downloading the finished artifacts is enough.
Choose Rift when
- Sessions should share files while they work.
- The same files have to be on several machines as they are written.
- Another company's agent needs some of the files.
Based on OpenAI's documentation, read in October 2026. Sources: Agents API, files, hosted sandbox, self-hosted, access control, your data.