OpenAI Files Patent for AI That Keeps Using Tools Until the Job Is Done
OpenAI's filing describes an AI that keeps picking up tools, checking the results, and looping until it decides the job is done. A built-in stop signal ends the loop and sends you the answer.

- Publication number
- US 2026/0386925 A1(US20260386925A1)
- USPTO patent title:
- Application Programming Interface for Tool Call Chaining with Generative Response Engine
- Applicant
- OpenAI OpCo, LLC.
- Filed · Published
- May 30, 2025 · Dec 3, 2026
- Inventors
- Steve Coffey, Nikunj Handa, Manoli Liodakis
- Status when we published
- Waiting for an examiner
- Document
- 19 claims
- US classification
- 719/330
- Examiner
- JORDAN, KIMBERLY L (Art Unit 2196)
What OpenAI's tool-chaining patent actually does
You ask an AI assistant to dig through your files, pull out last quarter's numbers, and write you a summary. The AI can't do all that in one breath. It has to open a file, read it, search it, and check what it found, one step at a time.
Today, the developer's code often has to babysit each of those steps, passing the AI's result back and asking what to do next. OpenAI's patent application describes a setup where the AI keeps going on its own. It asks for a tool, gets the result, decides whether it needs another one, and repeats.
When the AI decides the job is finished, it attaches a special stop signal to its answer. Only then does the finished response reach you. The filing also describes a second idea: giving each reply an ID so the AI can be rewound to an earlier point in a conversation.
… generating, by the AI model, a second output comprising a response and an end turn token based on a determination, by the AI model, that the task is complete …
Translation: The AI decides when the job is done and issues a stop signal.
How the end turn token tells the loop to stop
The core of the filing is a loop between an app, a connecting layer called an API (a standard way for one piece of software to ask another for something), and an AI model. The app sends a request that would benefit from outside tools, such as a file search or a web browser.
- The model replies with a tool call, a structured request to use a specific tool.
- The API hands that call to the client application, which runs the tool.
- The result goes back into the model's context window (everything the model can see when it writes its next output).
- The model decides whether the job is done. If so, it outputs an end turn token, a stop marker, and the app shows the answer to the user.
The claims also cover constrained sampling: limiting which word pieces (tokens) the model may pick so its output has to be a tool call. That matters because models are probabilistic, so they might otherwise skip the tool. In the file search example, the model can issue several in-between calls, like open and read, that never reach the client app.
The description also covers a separate idea: a response ID tied to a tree of past responses, so a developer can return the model to an earlier point, such as backing up from Response 3 to Response 2 in a travel-planning chat.
Why fewer back-and-forth calls could matter to you
If you use AI assistants that search, book, or file things for you, the plumbing behind them matters. Each extra round trip between an app and an AI costs time and computing money, and developers have to write code for every step. A loop that handles multi-step jobs itself could mean fewer delays and fewer bugs in the apps you use.
For developers, the pitch is simpler tools: one flow instead of separate hand-built calls for each tool, plus the ability to rewind an AI to an earlier answer. For OpenAI, it is a bid to protect how its own interface handles agent-style work. A patent application is not proof any of this ships, and the claims could change before anything is granted.
OpenAI's tenth filing we've tracked in our AI agents acting for you watchlist since July follows patents like AI programmer in your setup and clickable coding receipts.
Source: US 2026/0386925 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/0386925 A1 · click any drawing to enlarge

No comments yet