Get the newsletter
Microsoft · AI / ML · Filed May 22, 2025 · USPTO published Nov 26, 2026 · This week's release

Microsoft Files Patent for One-Click Chatbots That Only Answer From Files You Can Open

Microsoft's patent describes turning a folder of work files into a chatbot with a single click. The chatbot is only allowed to answer from files the person asking can already open.

A computer screen shows a list of selected work files alongside a button that builds a chatbot trained only on those items. Drawing from patent filing US 2026/0377761 A1.
A computer screen shows a list of selected work files alongside a button that builds a chatbot trained only on those items.All 14 drawings ↓
Publication number
US 2026/0377761 A1(US20260377761A1)
USPTO patent title:
Generating Dynamic Generative Artificial Intelligence (AI) Agents from Secured Documents
Applicant
Microsoft Technology Licensing, LLC
Filed · Published
May 22, 2025 · Nov 26, 2026
Inventors
Akash RAVI, Thuy Thanh DUONG, John Giang NGUYEN, Luca BANDINELLI, Roberta CANNEROZZI, Daron SPEKTOR, Rolf Arnold EBELING, Chia-Jiun TAN, Aliaxei TERENTIEV, Ruth Oviedo HOLLANDS, Robert Ryan RACADIO, Benjamin Ping Chun TSAI
Status when we published
Waiting for an examiner
Document
20 claims
US classification
706/12

What Microsoft's one-click file chatbot does

Ever wished you could just ask a folder of company files a question instead of digging through them yourself? Microsoft's new patent describes a way to do that with one click. You select some files in your company's cloud storage, click an "AI agent" button in the toolbar or right-click menu, and a chatbot built on those files appears.

The clever part is what happens next. The chatbot is saved as a tiny file (the filing says often under 100 KB) that you can share like any other document. But when a coworker asks it something, it only draws on files that person is already allowed to open. If they can open none of them, it declines to answer.

You can tweak the chatbot's name, look, starter questions and instructions in a side panel, and test each change live as you make it, with no coding.

From the filing · CLAIM 1
identifying selected files within a tenant of a cloud computing system, the selected files being accessible by a user identifier assigned to the tenant; detecting a selection of an AI agent builder element designed to initiate creation of a generative AI agent …

Translation: The system finds files you can access in the cloud and starts making a custom chatbot when you click a button.

How the agent file checks who is asking

The system lives inside a company's tenant, which is the walled-off slice of a cloud service that holds one organization's files and controls who can open what. You select files (or select none, in which case it grabs everything in the current folder) and click an AI agent builder button in a toolbar or right-click menu.

That click generates an AI agent file, a small structured text file. Inside is a manifest (think of it as a spec sheet) listing the agent's name, description, instructions for the AI model, and the IDs and locations of the chosen files. The system fills in defaults by reading those files, such as a name, an icon, a welcome message and suggested starter questions.

An editing screen has three sections: identity (how the agent looks), sources (which files and folders it uses) and behavior (the hidden instructions it passes to the model). A live copy of the chatbot sits beside it and updates as you edit.

When someone asks a question, the system compares their user ID against each file's access list, keeps only the files they can open, and may narrow those down to the most relevant ones. It then sends them with the question to a generative AI model. This is retrieval-augmented generation (RAG), meaning the model answers from supplied documents instead of from memory. The filing also describes guardrails against attacks and audit logs.

From the filing · THE ABSTRACT
… the agent creation system incorporates safeguards to ensure that generative responses are based solely on documents that users are authorized to access, even when shared.

Translation: Security checks ensure the chatbot only answers using files the person is actually allowed to view.

Why permission-aware chatbots matter at work

If your workplace keeps documents in the cloud, this describes a way to get a chatbot for a project folder, a policy library or a customer file without a developer building anything. Because the agent is just a small file, you could hand it to a teammate the way you would share a spreadsheet, and it would respect what each person is allowed to see.

That permission check is the sticking point for AI at work. Companies worry that a chatbot fed everything will happily repeat the salary spreadsheet to the wrong person. The filing's answer is to check access on every question and, in group chats, to confirm that everyone present can see the source files before an answer is posted. The goal is useful AI answers without loosening the locks on the documents behind them.

Microsoft files its 89th application among the patents we've tracked in our AI assistant and agent coverage since May, building on filings like a meeting lookup tool and AI tools inside Word and Excel.

Source: US 2026/0377761 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 Microsoft 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 · 14 sheets

14 drawing sheets from US 2026/0377761 A1 · click any drawing to enlarge

Steps to generate a custom chatbot from selected files, drawing sheet 1 from US 2026/0377761 A1
Sheet 1 Steps to generate a custom chatbot from selected files
Cloud setup that connects stored files to an AI model, drawing sheet 2 from US 2026/0377761 A1
Sheet 2 Cloud setup that connects stored files to an AI model
Two ways to trigger chatbot creation from a file menu, drawing sheet 3 from US 2026/0377761 A1
Sheet 3 Two ways to trigger chatbot creation from a file menu
Confirmation screen listing the files powering the new chatbot, drawing sheet 4 from US 2026/0377761 A1
Sheet 4 Confirmation screen listing the files powering the new chatbot
Naming the chatbot and defining its core purpose, drawing sheet 5 from US 2026/0377761 A1
Sheet 5 Naming the chatbot and defining its core purpose
Managing which documents feed information to the chatbot, drawing sheet 6 from US 2026/0377761 A1
Sheet 6 Managing which documents feed information to the chatbot
Setting greeting messages and prewritten question prompts, drawing sheet 7 from US 2026/0377761 A1
Sheet 7 Setting greeting messages and prewritten question prompts
Testing the chatbot in a live preview pane before saving, drawing sheet 8 from US 2026/0377761 A1
Sheet 8 Testing the chatbot in a live preview pane before saving
Show the other 6 sheets
Testing the custom AI helper directly inside the editor, drawing sheet 9 from US 2026/0377761 A1
Sheet 9 Testing the custom AI helper directly inside the editor
Routing user questions to files they can access, drawing sheet 10 from US 2026/0377761 A1
Sheet 10 Routing user questions to files they can access
Opening a saved AI assistant stored alongside regular files, drawing sheet 11 from US 2026/0377761 A1
Sheet 11 Opening a saved AI assistant stored alongside regular files
Chatting with a saved assistant in a dedicated window, drawing sheet 12 from US 2026/0377761 A1
Sheet 12 Chatting with a saved assistant in a dedicated window
Steps for turning selected cloud documents into a chatbot, drawing sheet 13 from US 2026/0377761 A1
Sheet 13 Steps for turning selected cloud documents into a chatbot
Hardware parts that run the assistant creator, drawing sheet 14 from US 2026/0377761 A1
Sheet 14 Hardware parts that run the assistant creator
Patent filing page

More in AI assistant & agent

All 458 AI assistant & agent patents →
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.