For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation

Migrate from Agent Builder

Move a workflow to ChatGPT Workspace Agents or the Agents SDK.

Agent Builder shut down on November 30, 2026. Use your exported Agents SDK code to run the workflow in your application or recreate the workflow as a ChatGPT Workspace Agent.

If you don’t have an export, use the workflow requirements and configuration you have to rebuild the agent. Validate the migrated behavior before using it in production.

Choose a migration path

  • Agents SDK: Best for building agents through code.
  • ChatGPT Workspace Agents: Best for building agents through natural language and sharing them with teams.

Start with an export or your workflow requirements

If you saved the TypeScript or Python code from the Agent Builder Code dialog, run it with the Agents SDK or use it to describe the workflow to a workspace agent. If you’re rebuilding from notes or tests, map the original nodes to application behavior. Record what each branch should do, including what happens when a tool fails or a user declines an action.

If the workflow needs a long-running session with OpenAI managing the Codex harness, you can also build it with the Agents API. Start a new implementation from those requirements. The exported code targets the Agents SDK.

Option 1: Continue with the Agents SDK

Use this option to run the workflow in an application you build and deploy.

Install the matching Agents SDK and copy the TypeScript or Python export into your application. If you’re rebuilding the workflow, define the agents and tools and recreate the orchestration in code. Test the workflow with your application’s configuration before deploying it.

Option 2: Create a workspace agent

To use this option, you need a ChatGPT Business, Enterprise, or Edu workspace with access to workspace agents and permission to create agents.

In ChatGPT, create a workspace agent. Paste your exported code or workflow requirements into the chat with this prompt:

Please help me convert this workflow into an agent:

<paste your exported code or workflow requirements here>

Review any behavior that the builder identifies as requiring changes before you continue.

Review and test the agent

Some workflow behavior may need manual recreation. Review control flow, triggers, tools, and permissions as you test the migrated agent.

For a workspace agent, test it in ChatGPT before publishing it.

  1. Review the generated instructions and configured capabilities.
  2. Configure any required apps, tools, skills, authentication, and connection permissions.
  3. Select Preview and test representative inputs from the original workflow.
  4. Compare the previewed behavior with the original workflow’s expected behavior.
  5. Select Create only after you have validated the migrated agent.

For an SDK or API implementation, run the same cases in your application. Verify which tools ran, what data they received, and whether a rejected action had any side effects. Review the safeguards at each step.

Limitations

  • Workflows with strong determinism at their core may not migrate faithfully to a workspace agent.
  • Connected apps, authentication, publishing, and permission configuration require separate review in ChatGPT.
  • An Agents SDK implementation requires you to validate your application’s runtime configuration, tools, authentication, permissions, and deployment.