A New OpenAI Patent Lets Developers Rewind an AI Chatbot to Any Earlier Reply
Every answer an AI gives could get its own bookmark, so an app can send you back to that exact moment in a conversation and start a new path from there.

- Publication number
- US 2026/0387570 A1(US20260387570A1)
- USPTO patent title:
- Application Programming Interface with Generative Response Engine State Management
- Applicant
- OpenAI OpCo, LLC.
- Filed · Published
- Feb 10, 2026 · Dec 3, 2026
- Inventors
- Steve Coffey, Nikunj Handa, Manoli Liodakis
- Status when we published
- Waiting for an examiner
- Document
- 20 claims
- US classification
- 706/12
- Parent application
- Continuation of 19/223,685 (filed May 30, 2025)(19223685)
What OpenAI's rewind-by-ID idea actually does
Imagine you're planning a trip with a chatbot. It suggests a few destinations, you pick one, and the answers that follow turn out to be a letdown. You'd love to go back to the moment right before you chose and try a different place, without retyping the whole conversation.
OpenAI's filing tackles exactly that. Every reply the AI gives gets its own ID, like a bookmark. An app built on OpenAI's models can hand that ID back later, and the system pulls up that reply and everything leading to it, so the AI picks up as if nothing after it ever happened.
The description also covers a second idea: letting the AI use several tools in a row on its own, such as a web browser or a file search, instead of the app developer managing each step by hand.
The present technology pertains to an API for state management and function chaining using a generative response engine.
Translation: This patent covers an API that tracks conversation history and connects AI functions.
How a response ID pulls up the chat history
The main claim covers an API (a doorway that lets one program talk to another, here an app talking to an AI model). The app sends a prompt plus a response ID that the AI handed out with an earlier reply. The system looks in a database, pulls the chain of replies that ends with that one, and loads the chain into the model's context window (everything the AI reads before it answers, basically its working memory). The AI then answers based on that chain.
The description stores replies as a tree. In its example, a trip-planning chat produces Responses 0, 1, 2 and 3. Passing the ID of Response 2 retrieves Responses 0, 1 and 2, but not 3, and the new answer attaches as a branch off Response 2. Side branches that split off earlier are left out. The filing says this prevents state drift, where an unwanted answer keeps bleeding into later ones.
Because a long chain can outgrow the context window, the description says the chain can be compressed, with the AI writing a shorter summary of it.
Tool chaining, the other big topic in the description, appears in the claims only as claim 8, where the ID gets passed to a tool. The description adds more:
- A setting can force the AI to output a tool call (constrained sampling, meaning the AI may only pick from a set of allowed words).
- The AI can keep calling tools until it emits an end turn token (a stop signal), and only then does the app get its answer.
… retrieving, by the generative response engine from a database, a chain of responses in a sequence that ends with the previous response having the first response ID; …
Translation: The system pulls up the exact past conversation thread from a database using a specific ID.
Why developers would care about chat bookmarks
If you have ever gone down a wrong turn with a chatbot, you know the usual fix is to start over or scroll back and retype. A bookmark on every reply would let apps built on OpenAI's models offer a real undo button, and let you explore two or three directions from the same starting point, like comparing destinations in a trip plan.
For developers, the filing's other pitch is less busywork. As the description tells it, an app often has to carry the conversation around itself and manage each tool call by hand. Keeping the history on the server and letting the AI run a chain of tools until it signals it's done would cut the number of requests an app has to make. A patent isn't proof any of this ships, but the filing does refer to a 'Responses API' for this job.
OpenAI's 16th filing we've tracked in AI assistant and agent patents since May adds to a run that includes one locking the coder offline and one skipping setup for simple tasks.
Source: US 2026/0387570 A1 at the USPTO (PDF). Full patent text and figures are in the official publication.
Get our take in your Top Stories
Liked this breakdown? Add Patentlyze as a preferred source on Google, and our plain-English take shows up more often in your Top Stories the next time OpenAI patent news breaks.
We read the new patents from Big Tech, carmakers and more and send you the ones worth knowing. Plain English, free, every week.
The drawings · 12 sheets
12 drawing sheets from US 2026/0387570 A1 · click any drawing to enlarge

No comments yet