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.

- 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.
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.
… 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.
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
Show the other 6 sheets

No comments yet