Guide · · 9 min read
Moving off OpenAI Agent Builder: two paths for your exported workflows
OpenAI Agent Builder shut down on November 30, 2026. If you exported your workflow, you have Agents SDK code, not a canvas. Here's how to run that code on a sandbox with a few added lines, or rebuild a fixed-step flow with approvals and limits in Agent Playground.

OpenAI Agent Builder shut down on November 30, 2026. OpenAI's migration guide offers two ways forward: run your exported code with the Agents SDK, or describe the workflow to a ChatGPT workspace agent.
If you clicked Code in Agent Builder before it closed, you're holding TypeScript or Python written for the OpenAI Agents SDK. That's the first thing to understand about this move: you got code, not a canvas. There's no file you can open in another visual tool. Whatever you pick next, you either run that code somewhere or rebuild the flow by hand.
This guide covers both, with Quiet Robot as the place they run:
- Path 1: run your exported Agents SDK code on a sandbox. Your agents keep their models, prompts and tools, and get a private computer to run commands and code in, with your network rules and approvals around it. It takes a few added lines.
- Path 2: rebuild a fixed-step workflow in Agent Playground. If your workflow was really a flowchart (do this, check that, ask a person, then do the next thing), draw it again on a canvas where the approvals and limits are part of the drawing.
Pick by how your workflow behaves, not how it was built. The table at the end of this post maps each Agent Builder node to where it goes.
Before you start: what you have, and what you don't
The export. Agent Builder's Code dialog gave you the agents, their instructions and tools, and the control flow, written against the Agents SDK in TypeScript or Python. OpenAI's guide says it "targets the Agents SDK."
What didn't come with it. Connected apps and MCP connections need to be set up again with their own sign-ins. The export also describes how the workflow was built, not how it behaved, so if you saved any test inputs and the answers you got, keep them. You'll want them to check the new version.
If you didn't export in time. You can still rebuild from what you know: the prompts you wrote, the tools each agent had, the branches and the approvals. Path 2 is often the quicker rebuild, because you draw the flow rather than write the orchestration code.
Which path fits your workflow
OpenAI is direct about one limit of workspace agents: "Workflows with strong determinism at their core may not migrate faithfully to a workspace agent." In other words, if your workflow needs to do the same steps in the same order every time, a chat assistant that decides for itself is the wrong replacement.
| Your workflow looks like | Go with |
|---|---|
| One or more agents with tools, where the model decides what to do next | Path 1: run the export on a sandbox |
| Agents that need to run code, edit files or try things on a real computer | Path 1 |
| File search, hosted tools or MCP tools you want to keep as they are | Path 1 |
| Fixed steps in a fixed order, with if/else branches and a loop or two | Path 2: rebuild in Agent Playground |
| A person must approve before anything real happens | Path 2 (or Path 1 with approval rules) |
| You need a hard cap on how long it runs or what it spends | Path 2 |
Plenty of teams will use both: the export for the open-ended agent, the Playground for the steps around it.
Path 1: run your exported Agents SDK code on a sandbox
Our sandbox tools for the OpenAI Agents SDK give an agent six tools on a private Linux computer of its own: run_command, run_code, read_file, write_file, list_files and expose_port. The sandbox starts the first time the model uses one. Every command goes through your organization's rules, so a risky one waits for a person and the audit log records the rest.
Your export stays as it is. You add the tools to the agents that should have a computer.
Python
pip install openai-agents quietrobot-sandboxes
export QR_API_KEY=qr_live_... # from quietrobot.ai/app → API keys
# workflow.py: your Agent Builder export, with three lines added
import asyncio
from agents import Agent, Runner
from quietrobot_sandboxes.integrations import SandboxTools # added
from quietrobot_sandboxes.integrations.openai_agents import openai_agents_tools # added
# One sandbox for this run. It may reach PyPI and nothing else on the internet.
box = SandboxTools(create={"egress": {"mode": "allowlist", "allow": ["pypi.org", "files.pythonhosted.org"]}})
analyst = Agent(
name="Data analyst",
instructions="Answer with numbers you computed in the sandbox, not estimates.",
tools=[*openai_agents_tools(box)], # added; keep any tools your export already lists
)
async def main():
with box: # the sandbox is deleted when the run ends
result = await Runner.run(analyst, "Make a CSV of 1,000 random order totals and tell me the median.")
print(result.final_output)
asyncio.run(main())
TypeScript
npm install @openai/agents @quietrobot/sandboxes-ai zod
import { Agent, run } from "@openai/agents";
import { sandboxTools } from "@quietrobot/sandboxes-ai/openai-agents"; // added
const { tools, session } = sandboxTools({
create: { egress: { mode: "allowlist", allow: ["registry.npmjs.org"] } },
});
const analyst = new Agent({
name: "Data analyst",
instructions: "Answer with numbers you computed in the sandbox, not estimates.",
tools: [...tools], // added; keep any tools your export already lists
});
try {
const result = await run(analyst, "Make a CSV of 1,000 random order totals and tell me the median.");
console.log(result.finalOutput);
} finally {
await session.close(); // deletes the sandbox
}
The model the agent uses, its instructions and its other tools don't change. Only the agents you hand the tools to get a computer, so a router or classifier agent in your export can stay as it is. If you only want some of the tools, pass a list: openai_agents_tools(box, names=["run_command", "read_file"]) in Python, or tools: ["run_command", "read_file"] in TypeScript.
Run the whole workflow inside a sandbox
You can also run the exported program itself in a sandbox instead of on your laptop or server. That's useful when you're still testing a migration and don't want an agent, or a package it installs, anywhere near your own machine.
Save your OpenAI key once under Policies → Secrets as OPENAI_API_KEY, allowed to go only to api.openai.com. The key never enters the sandbox: code inside sees a stand-in that's useless anywhere else, and the real key is added on the way out. How that works.
qr run --secret OPENAI_API_KEY \
--allow pypi.org --allow files.pythonhosted.org \
--upload . -- sh -c '
export OPENAI_BASE_URL=$QR_GATEWAY_URL/api.openai.com/v1 OPENAI_AGENTS_DISABLE_TRACING=1
pip install -q openai-agents && python3 workflow.py'
qr run starts a sandbox, copies your folder in, runs the command, prints the output and deletes the sandbox. Point the OpenAI SDK at the address shown so the stand-in can be swapped for your key. Tracing is turned off in this example because the sandbox may only reach the hosts you allow; leave it on if you add its address to the list.
If you used hosted ChatKit
The integration that let OpenAI host the backend for your ChatKit chat came from Agent Builder, so a chat that points at an Agent Builder workflow ID needs a new backend. ChatKit itself remains available. OpenAI's custom ChatKit guide has the steps: run a small ChatKit server with the openai-chatkit Python package, have its respond method run your exported agent with the Agents SDK, and point the frontend's api.url at that server instead of fetching a client secret.
The agent inside that server can use the same sandbox tools as above. And while you're building the server, you can try it from a sandbox and share a link with your team: start it there and give its port a URL with qr expose. For production, host it next to the rest of your app.
Path 2: rebuild a fixed-step workflow in Agent Playground
Agent Playground is a visual builder for agent workflows on Quiet Robot. You drag steps onto a canvas, join them with arrows and press Run. Every step runs on a real sandbox, and the steps of one run share its files.
It's a good home for the workflows OpenAI says may not move cleanly to a workspace agent, because the things that made them predictable are boxes and arrows you can see:
- Fixed steps. Run command, Run code, Ask AI and Agent are each a box. The run follows the arrows, in the order you drew them.
- Branches. A Decide block answers a yes-or-no question with a command, like "did the tests pass" or "is the score above 0.8". An AI choice block sorts something into 2 to 6 named choices, each with its own arrow.
- Approvals. An Approval block stops the run until a person approves or denies, from the dashboard or the approval email. An API key can never approve, so an agent can't approve its own work.
- Limits. Every flow has limits on how many times a loop may go around, how long a run may take and how much it may spend. When one is reached, the run stops, however the agent feels about it.
- Cost before you run. Simulate shows what a run will likely cost and the most it could ever spend.
The Playground's AI steps (Ask AI, AI choice, Agent) are built in. To call another provider, such as an OpenAI model, put that call in a Run code step, or have the step run the agent from your export, with your OpenAI key saved as a secret. The key stays out of the sandbox the same way.
To start, open Agent Playground in the dashboard and pick a recipe close to your workflow, or start from a blank canvas. The quickstart takes about five minutes. You can also save flows as JSON and check them through the Playground API, if you'd rather keep the flow in your repository.
Where each Agent Builder node goes
| Agent Builder node | Path 1: Agents SDK code on a sandbox | Path 2: Agent Playground |
|---|---|---|
| Start | Your program's input | The first step |
| Agent | An Agent, plus sandbox tools if it needs a computer |
Agent or Ask AI, or Run code that calls your OpenAI agent |
| If / else | An if in your code |
Decide (a command) or AI choice |
| While | A loop with a maximum count | An arrow back to an earlier step, capped by the loop limit |
| Human approval | A tool with needs_approval, or a command rule that waits for a person |
Approval |
| Guardrails | Agents SDK guardrails, plus your sandbox network rules | Policy, Limits, and No internet for this step; a content check goes in an Ask AI or Run code step |
| Transform, Set state | Code | Run code; steps share the sandbox's files |
| File search | The file search tool, unchanged | Run code that calls it, or keep that part in Path 1 |
| MCP | Reconnect the MCP tool in code | Keep that part in Path 1 for now |
| Note | A code comment | The step's name |
Check it before you switch over
Whichever path you take, run the test inputs you saved through the new version and compare the answers. OpenAI's guide suggests checking which tools ran, what data they received, and whether a rejected action had any side effects. In a sandbox the last one is easy to check: the audit log lists every command, and a denied command never ran.
FAQ
When did Agent Builder shut down?
On November 30, 2026, according to OpenAI's migration guide. ChatKit remains available.
Can I import my Agent Builder workflow into Quiet Robot?
Not as a file. The export is Agents SDK code, so you run it (Path 1) or redraw the flow (Path 2). There's no converter from Agent Builder to any other visual builder.
Do I have to change models?
Not for Path 1. Your exported agents keep the OpenAI models they use. In Agent Playground, the AI steps are built in, and a Run code step can call OpenAI or any other provider.
What does it cost?
Sandboxes are billed only while they run, and every account gets $5 of sandbox time free each month. Model usage is billed by the model provider to your own key. See pricing.
Where do I get help?
Write to hello@quietrobot.ai with what your workflow does, and we'll tell you which path fits.