# OpenAI Agent Builder: Workflow, Deployment and Sunset Plan

Separate Agent Builder’s retiring visual workflow service from exported application code and ChatKit, then plan a controlled transition.

Last updated: 2026-10-08

OpenAI Agent Builder turns an agent workflow into a visual graph: agents, tools and control-flow steps connected through defined inputs and outputs. It helps you design a process, inspect a run and publish a version that an application can call. It is not the same thing as the application’s chat interface or an independently operated server.

That distinction now matters more than the canvas itself. **Agent Builder is scheduled to shut down on 30 November 2026. ChatKit remains available.** OpenAI announced the deprecation on 3 June 2026, with a transition window for existing users. Those are the documented dates as of 30 September 2026.

For an existing project, the useful next step is to preserve its workflow and move the surrounding application deliberately. For a new project, build around a continuing execution route rather than making the retiring hosted workflow service a dependency. OpenAI’s current ChatKit guidance directs new projects and migrations towards a custom server-side agent implementation.

## Understand the workflow before moving it

Agent Builder combines three concerns that are easy to mistake for a single deployment: designing a graph, publishing a version and connecting that version to an application. A transition starts by identifying what each concern contributes.

### Design the steps and their boundaries

The canvas supports templates and connected nodes. A node can represent an agent, a tool or a control-flow step; typed inputs and outputs define the information passed between them. The workflow is the combination of those pieces, not just the instructions in its main agent.

Read the graph from entry to exit. Record where a tool is invoked, where a branch changes direction and where intermediate results become input to another step. This produces a useful transition inventory: the replacement needs to preserve the relevant decisions and actions, not merely return a similarly worded final answer.

### Preview and evaluate behaviour

Preview runs the workflow with live inputs and supports inspecting intermediate steps. Files and sample inputs can exercise the same paths that the application uses. Evaluation then examines traces and selected behaviour with grading criteria.

Use those views to distinguish a successful answer from a successful process. An answer can sound correct while the wrong tool ran, an approval was skipped or a required result was never stored. Your acceptance criteria should name the observable action as well as the final response.

Preserve the representative inputs, expected outcomes and relevant trace observations outside the canvas. They are the comparison material for the replacement, rather than a promise that exporting code carries the entire surrounding evaluation setup with it.

### Publish a version, then integrate it

Autosaving an edit is different from publishing a workflow version. Publishing creates a versioned snapshot, and an integration can use a specified version. The documented deployment choices include a ChatKit connection to the hosted workflow and an SDK-code route that runs in your own application.

Before changing anything, record the workflow identifier and the version actually used by the application. The latest canvas edit is not a reliable substitute for that information. Otherwise, a migration comparison can accidentally compare the replacement against an unpublished experiment rather than the live behaviour you intended to preserve.

## Decide what continues after Agent Builder

The sunset affects the Agent Builder service. It does not mean that every application using OpenAI models must close, nor does it retire ChatKit. The migration work depends on which component currently owns execution.

An existing Builder application needs a replacement execution route before shutdown. A ChatKit interface can remain part of the application while its backend changes. Exported SDK code belongs inside an application you operate; it does not install a private copy of the Agent Builder canvas.

The components therefore have different responsibilities:

| Component | Role in the application | What is retained or reimplemented | Execution and integration ownership |
| --- | --- | --- | --- |
| OpenAI Agent Builder | Visual design, inspection and versioned hosted workflow | Export the workflow code and retain your version/integration inventory; move the required behaviour before shutdown | OpenAI operates the retiring Builder service; your application still owns its integration |
| OpenAI Agents SDK | Code-based agent execution inside your application | Integrate the export, then wire the runtime, tools, authentication, permissions and state handling | You operate the application and deployment; the SDK supplies the agent loop |
| ChatKit | Embedded chat interface and its server integration | Retain the interface where suitable; connect a custom backend and implement the relevant thread, file and action handling | You operate the custom server and enforce application-user access; ChatKit is not the retiring workflow host |

These are complementary layers rather than three interchangeable hosting products. An application can use the Agents SDK for execution and ChatKit for its interface, with both connected through its own server.

## Build a portability inventory

Create one inventory for the application, not a separate disconnected note for each node. The following fields come from the documented workflow, export and ChatKit integration boundaries; fill them with the values from your existing project.

| Inventory item | Record from the existing application | Carry into the replacement plan |
| --- | --- | --- |
| Workflow identity | Workflow identifier, published version and the application entry point using it | The exact baseline being replaced |
| Agent and control flow | Instructions, node relationships, branches and required outputs | The behaviour the exported or rebuilt application must preserve |
| Tools and access | Tool connections, permission decisions and authentication ownership | Reconnection work and the authority each tool is allowed to exercise |
| State | Conversation/thread use, stored results and any application state needed between steps | Explicit storage and continuation responsibilities |
| Interface | ChatKit integration, file handling, client tools and custom actions actually used | Backend endpoints and interface behaviours that need to remain functional |
| Acceptance material | Representative inputs, expected actions, failure cases and relevant observations | A repeatable comparison between the existing and replacement routes |

The inventory is a planning record, not evidence that a migration has succeeded. Keep credentials in the appropriate secret store rather than putting their values into the document. Refer to a connection or secret by its purpose and owner.

State deserves its own entry because “the agent answered” does not establish continuity. Where your application resumes conversations, retrieves stored messages or accepts attachments, those are separate behaviours to preserve. Identify them before choosing where the replacement will run, rather than discovering them after the interface has been switched.

## Export the workflow and choose its destination

OpenAI’s documented export sequence is straightforward: open the workflow, select **Code**, choose **Agents SDK**, select Python or TypeScript, and copy the complete exported code.

Keep that export with the inventory of the version being replaced. Then choose between continuing as an application using the SDK and rebuilding the task as a ChatGPT workspace agent. The latter is a different operating model, not an alternative name for your current web application.

### Continue in an SDK application

The exported code is a starting point for application integration. Runtime configuration, tools, authentication, permissions and deployment still need to be wired into the destination. The OpenAI Agents SDK runs inside your application; the application owner controls the environment and operational policy.

This is the route to consider when the existing application’s interface and explicit workflow remain important. Preserve the required behaviour through code and application tests instead of treating the export as a complete deployment package.

### Rebuild as a workspace agent

OpenAI also documents recreation as a ChatGPT workspace agent. That route requires an eligible Business, Enterprise or Edu workspace with workspace-agent access and permission to create an agent. The process includes reviewing the resulting instructions and capabilities, reconnecting the required apps or tools, and exercising representative inputs before creation.

It is not a one-to-one graph conversion. Deterministic control flow can need manual recreation, and identical behaviour is not guaranteed. Choose this route for a task that belongs in the workspace experience, not merely because it avoids operating the existing application’s backend.

## Keep ChatKit separate from the retiring host

For a continuing ChatKit application, the current custom-server route connects the interface to your server-side agent implementation. That requires more than replacing a workflow identifier: the backend receives requests, runs the agent and returns the appropriate streamed events.

The custom ChatKit guide defines a `Store` for threads, messages and related records. Production use calls for durable storage rather than the development in-memory example. Applications using uploads also need the associated file-storage and lifecycle handling. Client tools and custom actions need the corresponding client and server wiring.

Identity must travel through that design. The application authenticates its users and applies permissions when accessing stored records and executing actions. A familiar-looking chat window is not proof that the replacement backend is enforcing the same access boundary.

Keep these obligations visible in the inventory. A text-only application and an application using attachments, persistent threads and client actions have different migration work because they use different integration features—not because ChatKit itself is being retired.

## Compare behaviour before switching traffic

Treat the move as an application change with an acceptance gate. OpenAI’s migration guidance calls for representative-input testing and reviewing the destination’s capabilities and connections. The following sequence turns that guidance into a controlled cutover plan; it does not claim that your migration has already been tested.

First, preserve the current supported route and record its configuration. Keep a versioned copy of the replacement as well, and use a non-production environment with appropriately limited tool access. Do not make the first comparison through an unrestricted production action.

Next, run the representative cases from your inventory through both routes. Compare the decisions and resulting actions, not only the wording of the answer. Inspect the applicable behaviours:

- A normal request reaches the intended tool or branch and returns the required result.
- An unavailable tool, denied permission or invalid input produces a controlled failure rather than an invented success.
- Where state and files are used, the right user can resume the intended conversation or access the intended attachment; another user cannot cross that boundary.
- Where approvals or custom actions are used, the replacement pauses or invokes them at the required point and reports the outcome accurately.

Include untrusted-content cases as part of the permission review. OpenAI’s safety guidance treats external content as a possible prompt-injection route and recommends constrained data flow and approval controls. Those measures reduce risk; they are not a guarantee that every hostile input will be handled safely.

Record differences that matter to the task. A wording change may be acceptable; a changed recipient, an extra write or access to another user’s records is a different class of failure. The acceptance decision belongs to the application’s owner and its defined requirements.

## Make the reversal path explicit

Switch the application only after the required comparisons succeed. Keep the previous configuration and route available during the supported transition window, with a clear owner for restoring them if the replacement fails.

If a pre-cutover comparison fails, leave the working route in place and repair the replacement. If a problem appears after cutover, direct the application back to its retained, still-supported route and stop sending new work to the faulty one. Examine actions already performed and recover them deliberately before retrying requests; returning traffic is a separate decision from repairing those effects.

This is an application-level reversal plan, not an automatic Agent Builder migration feature. It is also time-bounded. After the scheduled shutdown, the retiring Builder service is not a durable fallback. Complete the transition while the comparison and recovery options are still available.

## Where a self-managed VPS fits

A VPS is relevant when you choose to operate the replacement application yourself. It hosts your compatible runtime and supporting application components; it does not preserve access to the retiring Agent Builder service.

Our [AI Agent VPS](<https://virtarix.com/solutions/ai-agent-hosting/>) category provides self-managed infrastructure for this kind of workload. Virtarix supplies the infrastructure, while you configure and operate the application, credentials, integrations, software updates and recovery procedures.

Make the software decision first: retain the workflow’s required behaviour, choose its continuing execution route, and account for ChatKit and state separately. Then deploy the application you have deliberately designed to operate—not an export you have mistaken for the entire service.
