Get the newsletter
OpenAI · AI / ML · Filed May 30, 2025 · USPTO published Dec 3, 2026 · This week's release

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.

An AI checks other software programs as many times as needed to finish a complex request before answering. Drawing from patent filing US 2026/0386925 A1.
An AI checks other software programs as many times as needed to finish a complex request before answering.All 12 drawings ↓
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.

From the filing · CLAIM 1
… 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.

There are more where this came from

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

Parts of the system that run AI conversations safely, drawing sheet 1 from US 2026/0386925 A1
Sheet 1 Parts of the system that run AI conversations safely
Data center components tracking conversation history, drawing sheet 2 from US 2026/0386925 A1
Sheet 2 Data center components tracking conversation history
Returning an AI model to an earlier conversation step, drawing sheet 3 from US 2026/0386925 A1
Sheet 3 Returning an AI model to an earlier conversation step
Branching conversation paths stemming from earlier replies, drawing sheet 4 from US 2026/0386925 A1
Sheet 4 Branching conversation paths stemming from earlier replies
Automatically running external tools before answering, drawing sheet 5 from US 2026/0386925 A1
Sheet 5 Automatically running external tools before answering
Letting an app run external tools during a conversation, drawing sheet 6 from US 2026/0386925 A1
Sheet 6 Letting an app run external tools during a conversation
Restoring past conversation history using an ID tag, drawing sheet 7 from US 2026/0386925 A1
Sheet 7 Restoring past conversation history using an ID tag
Looping through tools until the AI finishes its task, drawing sheet 8 from US 2026/0386925 A1
Sheet 8 Looping through tools until the AI finishes its task
Show the other 4 sheets
Training setups that help build and improve the AI, drawing sheet 9 from US 2026/0386925 A1
Sheet 9 Training setups that help build and improve the AI
How the AI model turns user prompts into replies, drawing sheet 10 from US 2026/0386925 A1
Sheet 10 How the AI model turns user prompts into replies
Internal parts that digest input and assemble new text, drawing sheet 11 from US 2026/0386925 A1
Sheet 11 Internal parts that digest input and assemble new text
Computer hardware that powers the AI assistant service, drawing sheet 12 from US 2026/0386925 A1
Sheet 12 Computer hardware that powers the AI assistant service
Patent filing page

Watchlists this filing belongs to

All watchlists →
Reader comments

No comments yet

Start the discussion

Real name or a handle, either is fine. Comments are read by a person before they appear, so allow a little time. Keep it about the filing.