Get the newsletter
OpenAI · AI / ML · Filed Feb 7, 2025 · USPTO published Aug 13, 2026 · Aug 13 release

OpenAI Patents a File Search Tool Built Directly Into Its AI Assistant

OpenAI is patenting a system that lets its AI assistant search through a collection of your own files to answer questions, rather than relying solely on what it already knows.

User interface example displaying an AI assistant answering a financial question using a tool within a conversation thread. Drawing from patent filing US 2026/0236435 A1.
User interface example displaying an AI assistant answering a financial question using a tool within a conversation thread.All 11 drawings ↓
Publication number
US 2026/0236435 A1(US20260236435A1)
Applicant
OpenAI OpCo, LLC.
Filed · Published
Feb 7, 2025 · Aug 13, 2026
Inventors
Athyuttam Eleti, Michal Pokrass, Paul Baltescu, Dibya Bhattacharjee
Status when we published
Company responded; back with the examiner
Document
20 claims
US classification
707/713
Examiner
MOBIN, HASANUL (Art Unit 2168)

What OpenAI's file-searching AI assistant actually does

Imagine you drop hundreds of company reports, research papers, or internal documents into a folder and ask an AI assistant: "What did our Q3 sales team recommend?" Normally, an AI has no idea what's in your private files. This patent describes a system that changes that.

OpenAI's filing covers a method where the AI assistant can call on a dedicated file search tool when it gets a question that requires digging through a specific collection of documents. The assistant figures out that a file search is needed, sends the right query to the tool, gets back the relevant passages, and then uses those to write its answer.

For you, this means the AI stops being a general-knowledge engine and starts acting more like a research assistant that actually knows your material. Think of it as giving the AI a library card for your own files.

From the filing · CLAIM 1
… determining, by the generative response engine, to utilize a file search tool to search the collection of files for information relevant to generating the response …

Translation: The AI decides on its own when it needs to look through your uploaded documents to answer your question.

How the assistant queries and pulls from your file index

The patent describes a pipeline with three moving parts: a generative response engine (the AI that writes answers), a file search tool (a separate index that knows what's in a collection of documents), and the documents themselves stored in that index.

When you ask the AI a question, it first decides whether a file search is warranted. If it determines the answer lives in your document collection rather than its general training, it fires a query at the file search tool. That tool scans the indexed files and returns the most relevant passages (not the whole documents, just the useful chunks). The AI then uses those passages to compose its final response.

The key technical detail is that the file search tool operates as a callable function the AI can invoke mid-conversation. This is sometimes called a "tool use" or "function-calling" pattern, where the AI knows it has access to external capabilities and decides on its own when to use them. The index is built separately, which means large file collections can be searched quickly without the AI having to read every document from scratch each time.

The claim is broad: any prompt, any collection of files, the AI decides when to search and what to query. That decision logic sitting inside the AI itself is the core of what the patent protects.

From the filing · THE ABSTRACT
… the present technology pertains to a service that can create a database and index of files and make them searchable by the generative response engine, which can provide responses based on the documents in the index.

Translation: The system organizes your files into a searchable library so the AI can read them and use that data for its answers.

What this means for people who work with large document sets

For anyone who has tried to get an AI to answer questions about a specific set of documents, this describes the architecture that makes that actually work well. The AI doesn't hallucinate answers from general knowledge when the real answer is in your files, and it doesn't require you to paste in documents manually. The file search happens automatically, mid-conversation, when the AI judges it necessary. That judgment layer is what separates this from a simple keyword search bolted onto a chatbot.

OpenAI already offers something called "file search" inside its Assistants API, so this patent likely covers the underlying method powering a live product feature. The broader AI industry is racing to build reliable retrieval systems that let language models work with private, up-to-date documents without retraining, and this filing sits squarely in that race, alongside the latest Big Tech patents in AI document retrieval and enterprise knowledge tools.

Source: US 2026/0236435 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 every patent application Big Tech publishes and send you the ones worth knowing. Plain English, free, every week.

The drawings · 11 sheets

11 drawing sheets from US 2026/0236435 A1 · click any drawing to enlarge

System architecture of AI assistant, drawing sheet 1 from US 2026/0236435 A1
Sheet 1 System architecture of AI assistant
Memory structure for virtual assistant, drawing sheet 2 from US 2026/0236435 A1
Sheet 2 Memory structure for virtual assistant
Workflow for creating virtual assistants, drawing sheet 3 from US 2026/0236435 A1
Sheet 3 Workflow for creating virtual assistants
Loading and processing assistant messages, drawing sheet 4 from US 2026/0236435 A1
Sheet 4 Loading and processing assistant messages
Conversation thread user interface, drawing sheet 5 from US 2026/0236435 A1
Sheet 5 Conversation thread user interface
Indexing and chunking collection files, drawing sheet 6 from US 2026/0236435 A1
Sheet 6 Indexing and chunking collection files
File search tool and result reranking, drawing sheet 7 from US 2026/0236435 A1
Sheet 7 File search tool and result reranking
Machine learning training pipeline, drawing sheet 8 from US 2026/0236435 A1
Sheet 8 Machine learning training pipeline
Show the other 3 sheets
OpenAI Patents a File Search Tool Built Directly Into Its AI Assistant patent drawing, sheet 9
Sheet 9
OpenAI Patents a File Search Tool Built Directly Into Its AI Assistant patent drawing, sheet 10
Sheet 10
OpenAI Patents a File Search Tool Built Directly Into Its AI Assistant patent drawing, sheet 11
Sheet 11
Patent filing page

More in AI assistant & agent

All 413 AI assistant & agent patents →

Watchlists this filing belongs to

All watchlists →