Ink and watercolor of a timber-framed barn taken down for moving: a pale patch of footing stones on the left, oak beams and posts lying in two rows beside a heap of wooden pegs, and one bay already raised on new stones next to a mallet, with green hills and an oak behind
All posts

OpenAI prompt objects and Agent Builder deprecated: what to move by November 30

OpenAI shuts down prompt objects and Agent Builder on November 30, 2026. Where the prompt text and an exported workflow can go, and what breaks on the way.

A support lead changes one sentence in a prompt object on the OpenAI dashboard, and the next request with that pmpt_ ID uses the new wording. If the change goes badly, she picks the previous version and it is back. After November 30, 2026 that request fails: OpenAI shuts down reusable prompt objects (v1/prompts) and Agent Builder that day, and its migration guides tell you to move what you built into code. The text copies out in minutes. Her way of working does not: someone on your side has to own editing without a deploy and rolling back, because OpenAI's support account said in September that it has no timeline for a hosted replacement.

OpenAI's migration path for prompt objects is code, with no hosted editor

The deprecations page still lists both shutdowns on November 30, with no postponement, and says ChatKit remains available. Evals, which I covered in its own post, went read-only on October 31 and shuts down on the same November 30. The prompt-object guide lists what changes: the content moves into source, variables become typed function arguments, the messages go in input, versioning moves to git, and static content goes first so that prompt caching still hits, the same prefix rule behind a low cache hit rate. It says rollout and experimentation can be managed "through your own config or feature flags," and it does not say who edits the prompt afterwards.

Developers asked exactly that in the forum thread on June 4, the day after the announcement. One wrote that stored prompts let them "make small fixes to the prompt without redeploying, and also rollback to previous versions". Another listed "application independent, rapid prompt development, model optimizations and hotfixing" as the advantage that a move into the codebase does not keep. On September 9 an OpenAI support account replied: "We hear the loss of hosted editing and quick rollback, and we'll pass that feedback along. We don't have a timeline for an equivalent hosted replacement." Two days earlier, in a thread asking for prompt CRUD endpoints, the same account had said the migration guide "doesn't add the hosted management APIs you requested."

Agent Builder loses the same things. A workflow there was published as a versioned snapshot, and the Agent Builder page says you could pass an older version in your API calls. The migration guide describes one export: open the workflow, select Code, then Agents SDK, and copy the TypeScript or Python. That code either goes into your own application or gets pasted into a ChatGPT Workspace Agent, which needs a Business, Enterprise or Edu workspace. The guide says up front that the process "does not convert your workflow graph or guarantee that every behavior transfers unchanged," and warns that workflows "with strong determinism at their core" may not migrate faithfully to a workspace agent.

The forum shows people still sorting this out a month before the date. An October 30 checklist thread points out that a ChatKit frontend aimed at an Agent Builder workflow ID loses its backend on November 30 even though ChatKit itself stays, and a November 20 thread asks who has already moved off ChatKit and to what.

Copy every prompt version out of the dashboard before November 30

A forum participant who compared the tokens billed for a prompt ID against its contents posted what the object holds: instructions, model, reasoning effort, temperature, top-p, tool choice and tools, which is the parameter set you would send with any request. The same participant says you cannot retrieve a prompt by ID over the API. So copy from the dashboard while it is open, every version you might want to return to as well as the latest, and plan as if old versions disappear with the dashboard.

My view is that if only engineers change your prompts, git and a deploy is a fair trade, and arguably better than the dashboard, because the prompt gets reviewed together with the code that parses its output. Where support or product staff tune wording daily, expect them to ask for a small store with an edit page, which a forum reply suggests building on your own database, or to file tickets for one-line deploys. The last two rows below use an AIVAX gateway, which the next two sections explain.

Where the prompt text can live, what each choice does to editing and rollback, and what to watch, as read on 2026-11-23
Where the text livesA change ships byRollbackWhat to watch
Your repositoryPull request and deployRevert and deployEvery wording change needs a release.
Your own database or config serviceAn edit in an admin page you buildRestore a stored version, if you keep versionsYou own the editor, the history and the access control.
A file in git that an AIVAX gateway fetches as a remote instruction sourceMerge to the file's branch; applies when the gateway's cached copy expires (600 seconds by default)Revert the commit; live after the cache expiresA failed fetch yields no text for up to 30 seconds and shows no error, so verify with a CI question; give the source a read-only token in its headers.
The gateway's own systemInstructionA PATCH to the gatewayNone built in; keep the JSON in git and PATCH it backNo version history on the AIVAX side.

OpenAI's Assistants migration guide still walks you through turning each assistant into a prompt object, with a note that prompt objects are being deprecated. If you followed it, the Assistants post covers the state side of that move.

An AIVAX gateway holds the editable prompt, and git holds its history

An AI gateway stores the model, systemInstruction, userPromptTemplate, remote instruction sources (URLs whose text is appended to the instruction), tools and RAG collections behind a name. Your application sends the gateway's slug as model to https://inference.aivax.net/v1/chat/completions. The slug is the gateway's name plus the last four characters of its ID, such as support-bot:50c3, and a public API key needs the full ID instead. The docs describe the use case as behavior that is "changed without redeploying the calling application." A gateway speaks Chat Completions, not the Responses API, and it has no field for a pmpt_ ID, so the text has to come out of the dashboard first.

A gateway can be read back. GET /api/v1/ai-gateways/<id> returns its configuration, and the apiKey field (your own provider key, when the gateway uses one) and the headers of each instruction source come back in clear. The first jq below drops the key and empties the source headers before the file goes near git; check the headers of any MCP entry by hand. The API reference lists the edit as PATCH /api/v1/ai-gateways/<id>, and the two calls make a rollback you build yourself. The PATCH replaces the source list as a whole, so the restore puts the token back from an environment variable:

GW="https://inference.aivax.net/api/v1/ai-gateways/$GATEWAY_ID"
AUTH="Authorization: Bearer $AIVAX_API_KEY"

curl -fsS -H "$AUTH" "$GW" |
  jq '.data.parameters | del(.apiKey) | .systemInstructionsSources[]?.headers = {}' > support.json

jq --arg token "$PROMPTS_TOKEN" \
  '{parameters: (.systemInstructionsSources[]?.headers = {Authorization: ("Bearer " + $token)})}' support.json |
  curl -fsS -X PATCH -H "$AUTH" -H "Content-Type: application/json" -d @- "$GW"

After a bad edit that changes the instruction and empties the source list, the restore brings back the instruction, the source and its Authorization header.

The gateway stores only its current configuration, so the file above is the history. Omitting a key from the PATCH does not remove it from the gateway, so restoring a file from before you added a key will not take that key away. The gateway is loaded from the database on each request with no cache in between, so a PATCH applies on the next one.

The PATCH merge is shallow, and I ran the product's own merge function on four bodies to see what that means. A top-level key you send replaces the stored one. Sending systemInstructionsSources with one entry left exactly that one entry; the previous two were gone, so send the complete list. The same replacement applies one level down. In the nested queryStrategyParameters object I set rewriteContextSize to 7 and concatenateContextSize to 9, and both default to 3. A body that sent only "queryStrategyParameters": {"rewriteContextSize": 5} came back as 5 and 3, because the 9 reverted to its default. And a misspelled key, foo in my test, was dropped by the merge without an error, so read the gateway back after every PATCH and compare it with the file.

A git file as the gateway's instruction source

The third table row is the closest thing to the hosted editor. A gateway accepts systemInstructionsSources, a list of URLs it fetches as text and appends after the base instruction. This is the part of support.json that holds one:

{
  "systemInstructionsSources": [
    {
      "name": "support-policy",
      "url": "https://prompts.example.com/support/policy.md",
      "headers": { "Authorization": "Bearer <read-only token>" },
      "cacheDuration": 60
    }
  ]
}

The example sets cacheDuration to 60 so that a bad edit stays live for at most a minute; the default is 600. A 200 response is cached for cacheDuration seconds, so the second request inside the window makes no fetch. A 500, a 404, a thrown connection error, a URL that points at localhost or a private address, and a body over the limit all produce the same result: the request goes on without the text. The limit is 5 MB in the docs and 5,242,880 bytes in the code, so a 6 MiB body is dropped and a 4 MiB body comes through whole. The model sees the source's name as a Markdown heading, # support-policy, followed by nothing. This matches the processing pipeline docs, which say a source that cannot be read "contributes no text and the request itself does not fail."

The failure window is short. A failed fetch is cached for at most 30 seconds, or for cacheDuration when that is shorter, so a host that returns a 500 once and recovers is picked up again within half a minute. There is no stale-if-error fallback: when the cached copy of a good source expires while the host is down, the model receives the # support-policy heading with no body. A failed fetch writes no log line and returns no error field, so the first sign you get is the model behaving differently.

The cache lives in each server process's memory, so processes that serve the same gateway can disagree until their copies expire.

The file does not have to be public. Since October 28 the fetch sends the headers configured on the source, as it already did for MCP servers. I pointed a temporary gateway at httpbin.org/headers, which echoes the request headers back as text, and asked the model to list them: it quoted my custom header, User-Agent: aivax/v1 and an X-Request-Nonce. Give the source a token that can only read that one file, such as a fine-grained repository token with read access to contents, and use a URL that answers directly, since the fetch follows redirects with the same headers. The nonce is sent when the account has a hook key and your server can verify it, but the docs describe that header for workers and protocol functions, so treat it as undocumented here.

Keep the rules the product cannot work without in the gateway's own systemInstruction, which is always present, and host only the part people edit often. After each merge, have CI ask the gateway a question whose answer exists only in the file. And choose cacheDuration as your rollback delay: 0 fetches on every request and makes your host part of the request path, while 600 means a bad edit stays live for up to ten minutes, and so does the wait before its fix shows.

Exported Agent Builder code runs elsewhere until it reaches a hosted tool

The node reference shows where a workflow's pieces sit. A file-search node retrieves from vector stores "you've created in the OpenAI platform", so exporting code does not move the documents; leaving OpenAI means re-ingesting them, for example into an AIVAX collection that you attach to a gateway. If/else and While nodes become ordinary control flow in your code. The human-approval node becomes the SDK's own approval flow, which pauses the run in your process, and on an AIVAX gateway a worker receives each server-side tool call before it runs and can block it, so your own approval check decides whether it executes.

To see what happens when Agents SDK code is pointed at another provider, I wrote an agent by hand in the shape of an export and ran it against a local stub of the Chat Completions endpoint. This is the code, with AsyncOpenAI aimed at the gateway and a function tool running in your own process; tracing is switched off for a reason explained below.

import os
from agents import (Agent, AsyncOpenAI, OpenAIChatCompletionsModel, Runner,
                    function_tool, set_tracing_disabled)

set_tracing_disabled(True)

client = AsyncOpenAI(
    base_url="https://inference.aivax.net/v1",
    api_key=os.environ["AIVAX_API_KEY"],
)
model = OpenAIChatCompletionsModel(model="support-bot:50c3", openai_client=client)


@function_tool
def get_order_status(order_id: str) -> str:
    return f"Order {order_id} shipped"


agent = Agent(name="Support", model=model, tools=[get_order_status])
print(Runner.run_sync(agent, "Where is order 1042?").final_output)

openai-agents 0.24.0 made two POST /v1/chat/completions requests and never called /v1/responses. The model string arrived unchanged, the key went out as a bearer token, and the tool call came back to the process that ran the agent, which executed the function and sent the result as a tool message. With no instructions on the Agent, the request carried no system message from the client; with instructions, the SDK sends a system message.

Hosted tools stop the run. When I gave the same agent a WebSearchTool or a FileSearchTool, the run failed before any request was sent: "Hosted tools are not supported with the ChatCompletions API." The SDK's tools documentation lists web search, file search, code interpreter, hosted MCP and image generation as tools for its Responses model only. Code that uses them cannot simply have its base_url changed. You replace each one with a function tool or an MCP server you run, or you stay on OpenAI's Responses API and keep them. The function-tools post covers the other Chat Completions limit you may meet on the way.

Tracing keeps pointing at OpenAI after the model has moved. The SDK docs say tracing is on by default, that generation and function spans capture inputs and outputs unless trace_include_sensitive_data is turned off, and that the exporter authenticates with OPENAI_API_KEY. I removed set_tracing_disabled(True) and ran the agent with and without a dummy OPENAI_API_KEY. Without it, the SDK printed one line saying it was skipping trace export. With it set, the SDK tried to reach api.openai.com three times, and each attempt failed because my proxy setting refused it. The failures were logged as non-fatal, and in that run the agent took about 9 seconds instead of 3 or 4. By the SDK's documentation, someone who moves off OpenAI and still has that variable exported would be sending prompts and tool outputs to OpenAI's trace dashboard unless they disable tracing or set a tracing key on purpose.

ChatKit needs its own plan. OpenAI's ChatKit guide keeps two paths: your own server with the ChatKit Python SDK, and the Agent Builder-hosted integration that works only during the transition window. An AIVAX gateway can serve a chat client, but it is not a ChatKit server. The forum thread on the Agent Builder deprecation shows what the self-hosted path costs. One developer who served several clients from the hosted backend called migrating it "economically unviable"; another measured 20 concurrent cold starts of a FastAPI ChatKit server on a Lambda container, with initialization between 2.5 and 3.4 seconds.

Work through the move in this order before November 30

  1. Search your code and deployment config for pmpt_ and for prompt: in Responses calls, and copy every version that matters out of the dashboard.
  2. Export each Agent Builder workflow through Code > Agents SDK while the product is still open; the export lives in Agent Builder and goes with it.
  3. Decide the owner of each prompt with the table above, because a prompt that support edits weekly and one that changes twice a year do not need the same answer.
  4. Run the exported code against the provider you plan to use, and read the failure about hosted tools now, not on November 30.
  5. If a gateway will hold any of it, put its JSON in git first and test a PATCH on a copy.
  6. If you have evals on OpenAI's platform, pull their definitions and results through the API: the product went read-only on October 31 and shuts down the same day, and the Evals post lists the three calls.

OpenAI pages reread on November 23, 2026. The gateway calls, the header echo and the jq round trip ran on the live AIVAX API on temporary gateways, since deleted; the fetch failures and size limits ran against a fake handler in process, and the Agents SDK against a local stub. No call went to OpenAI, and I did not export a real Agent Builder workflow.