Assistants API Shut Down: Responses Migration vs Custom Agents
OpenAI Assistants API shut down August 26, 2026. Restore previously saved Thread histories with Responses API and Conversations, with application-owned business state.
Evidence 5 cited sources
On this page
OpenAI Assistants API shut down on August 26, 2026. Its retired Threads API no longer retrieves historical messages. New integrations should use Responses API and Conversations; restoring earlier histories depends on messages actually saved by the application before sunset, not automatic conversion of old IDs.
The useful comparison has changed. The question is no longer “Assistants API or custom agent?” It is now: which responsibilities move to Responses API and Conversations, and which responsibilities must remain in your own orchestration layer?
Start by separating six responsibilities
Before changing SDK calls, inventory the current system as six layers:
- Instructions and model configuration — assistant instructions, model choice and tool configuration;
- Conversation state — what Thread and Message objects currently store;
- Tools and files — function calling, File Search and Code Interpreter boundaries;
- Run state — required actions, tool outputs and execution waiting states;
- Business approval — payment, publishing, deletion and other high-risk approvals;
- External side effects — idempotency keys, unique constraints and result reuse.
The first four can move substantially into the current OpenAI Responses/Conversations/Tools stack. The last two remain application responsibilities.
Assistants API is shut down: what history can you recover?
OpenAI’s official migration guide confirms the August 26, 2026 sunset. The legacy Threads API cannot retrieve historical messages today. Inventory the conversation messages, configuration and file mappings that the application saved before sunset. Without those records, a legacy Thread ID cannot promise recovery of missing data.
The conceptual mapping is Assistants → prompt/configuration, Threads → Conversations, Runs → Responses, not a lossless one-to-one conversion. Use retained messages to rebuild Conversation items or application-owned context and make new calls through Responses API. The migration guide also flags a separate lifecycle for reusable Prompt objects. Authorizations, recovery and tool side effects still belong to the business system; XBSTACK does not claim to have migrated a reader’s production history.
What Responses API changes
Responses API is OpenAI’s current unified interface for model calls and tools. It can combine text or multimodal input with function calling, Web Search, File Search, Code Interpreter and Remote MCP.
Multi-turn state no longer has to be designed around Assistants Threads and Runs. Applications that want persistent server-side conversation items can use Conversations across Response calls. Lighter flows can chain context with previous_response_id.
The important boundary is that a Conversation is not your business database. User identity, tenant permissions, order state, approval tickets, idempotency keys, expiry policy and compensating transactions should remain application-owned.
Do not perform a mechanical one-to-one object mapping
A typical Assistants architecture looks like this:
Assistant
└─ Thread
├─ Message
└─ Run
├─ Run Step
└─ required_action / submit_tool_outputs
A migration is cleaner when platform state and business truth are separated:
Application database
├─ user / tenant / permission
├─ workflow state
├─ approval ticket
└─ idempotency ledger
OpenAI
├─ Responses API
├─ Conversation / previous_response_id
└─ Tools: function / file_search / code_interpreter / remote MCP
This makes future model or provider changes much less disruptive because orders, approvals and external side effects are not encoded only in a vendor conversation object.
Responses API vs custom orchestration
| Requirement | Responses API first | Custom orchestration first |
|---|---|---|
| Model response plus tools | Yes | Usually unnecessary |
| File Search / Code Interpreter | Yes | Only for special compliance or cost constraints |
| Simple multi-turn state | Conversation / previous_response_id | Usually unnecessary |
| Cross-provider model routing | Needs an adapter | Better fit |
| Explicit workflow / long-running process | Requires application state | Better fit |
| High-risk human approval | Platform tools can participate | Business approval state should remain external |
| Exactly-once external side effects | No business guarantee | Must be application-owned |
| Private/local models | Not the target | Better fit |
Custom orchestration therefore does not compete with Responses API. A robust design often uses Responses API for OpenAI model/tool execution and an application orchestration layer for business state, authorization, recovery and cross-system transactions.
Post-sunset migration checklist
- Identify calls to retired Assistants/Threads/Runs endpoints and affected user flows.
- Inventory messages, assistant settings and file mappings saved before August 26, 2026; the old API cannot re-export missing histories.
- Reconstruct new Conversation items or app-owned context only from records that actually exist.
- Recreate prompts and tool definitions on supported APIs; review reusable Prompts deprecation.
- Test function schemas,
call_id, File Search, Code Interpreter and retention requirements. - Keep identity, permission, approvals, retry and idempotency state in your application database.
- Stage release and roll back only to a supported implementation, not the retired API.
- Document gaps when messages were never saved, rather than inventing full recovery.
Data retention is part of the migration
OpenAI’s current data-control documentation describes different application-state retention behavior for /v1/responses, Conversations and legacy Assistants objects. A migration therefore includes privacy and retention review, not only SDK method renaming.
Teams handling private enterprise data, health information, financial records or other sensitive material should include retention, Zero Data Retention eligibility, background execution and tool-specific storage behavior in the release checklist.
FAQ
Will old Threads automatically become Conversations?
No automatic migration exists. The old Threads endpoints no longer retrieve histories; use previously saved messages to rebuild Conversations, and keep application business keys separate.
Can an old Thread be exported now that the API is shut down?
Not from the retired Threads API. Check messages and exports stored by your application before August 26, 2026. Validate reconstruction against those records and clearly identify anything missing.
Can Responses API replace LangGraph?
They operate at different layers. Responses API provides model, tool and conversation capabilities. LangGraph and similar frameworks provide explicit workflow state, branching, recovery and long-running orchestration. Simple systems may only need Responses API; complex systems can use it as the model/tool execution layer inside a broader workflow.
More to Explore
- OpenAI Agents SDK RunState: cross-process Tool Approval recovery
- Complete AI Agent Engineering Guide
- LangGraph Human-in-the-loop approval
- MCP OAuth authentication and authorization
Continue from one agent pattern to the complete production system
The AI Agent hub organizes architecture, memory, tool use, evaluation, security, deployment and multi-agent coordination into a single learning path.
Next step: continue the Agent system
Full decision path →Choose the next architecture, tool, memory, evaluation, security, or production decision instead of starting over.
DISCUSSION
Questions, verification and corrections
Sign in to comment. Every new comment is reviewed before publication; while pending, it is visible only to you and the administrator.