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

Microsoft Patents a System That Tests AI Setups Before Committing to Them

Before an AI assistant ever talks to a customer, Microsoft's patent application has a program rehearse many ways of answering, then builds a router that picks the best one for each question.

A testing tool runs mock AI queries across cloud servers and personal devices to balance costs against accuracy before a system goes live. Drawing from patent filing US 2026/0359087 A1.
A testing tool runs mock AI queries across cloud servers and personal devices to balance costs against accuracy before a system goes live.All 13 drawings ↓
Publication number
US 2026/0359087 A1(US20260359087A1)
Applicant
Microsoft Technology Licensing, LLC
Filed · Published
May 7, 2025 · Nov 12, 2026
Inventors
Prasoon PATIDAR, Alexander Steven Crown, Tsu-wang Hsieh, Yifei Xu, Tusher Chakraborty, Leonardo De Oliveira Nunes, Ranveer Chandra
Status when we published
Waiting for an examiner
Document
20 claims
US classification
703/23

What Microsoft's AI practice arena actually does

A shopper at a store kiosk asks whether wireless noise-canceling headphones under $200 are in stock. Behind the screen, an AI assistant has to make a call: answer on the kiosk's own small chip, or send the question to a much bigger AI in the cloud? Choose wrong and the answer is slow, off-target, or expensive to produce.

Microsoft's patent application describes a practice arena for making that choice. Before a company launches its assistant, the system simulates the kiosk, the cloud, and the connection between them. It then tries many combinations of tools and measures how accurate, fast, and costly each one is.

Once the assistant goes live, a small traffic director built from those tests sends each question down the route that fits what you asked, the device you're using, and your connection. Engineers no longer have to test every combination by hand.

From the filing · CLAIM 1
… simulating interactions of a hybrid edge-cloud computing environment, wherein the interactions are associated with functionality of the artificial intelligence system …

Translation: It tests how the AI setup will behave in mixed local and cloud settings before actual deployment.

How the emulator scores each answer route

The system starts with a configuration profile (a settings file) that describes one specific AI assistant. It captures what the owner cares about, such as accuracy, cost, and speed, plus the subject area the assistant covers and the hardware it runs on.

Using that profile, an emulator (a testing program that imitates the real setup) simulates how a small AI model on the local device and a large model in the cloud would work together. The simulation includes saving repeat answers and making remote calls. It tries different combinations of the steps that make up an answer:

  • User input, then query clean-up such as adding synonyms
  • Context retrieval (looking up relevant documents in a database, often called RAG, or retrieval-augmented generation)
  • Post-retrieval filtering and re-ranking of what was found
  • A model query, sent to either the local model or the cloud model
  • The final response

From those tests the emulator produces two things. One is an orchestrator, a lightweight router that picks the best path for each live question. The other is a performance trade-off profile, a report scoring the paths on accuracy, cost, and latency (delay). The filing says the router uses unsupervised methods (techniques that find patterns without labeled examples), such as clustering and similarity matching. If a path misses its speed or accuracy goal, the system can reroute the question.

From the filing · THE ABSTRACT
… automates performance trade-off profiles evaluation of various component combinations to optimize edge AI systems …

Translation: The software automatically compares different parts to find the best balance of speed and cost.

Why cheaper AI answers matter for stores and banks

If you've ever waited on a slow chatbot, or seen a company cut an AI feature because the bills got too high, this is the problem the filing targets. Its examples have simple questions answered on the device itself, such as a cached account balance, while harder ones go to a bigger AI in the cloud.

For businesses, the pitch is skipping manual testing and paying for cloud AI only when a question needs it. The description also says the system can reroute a question if a path misses its speed or accuracy target, and that it can be updated as models change. For you, the best case is quicker answers from kiosks and apps, even on a weak connection.

Microsoft's 47th filing we've tracked since May on AIs working in teams builds on earlier ideas like one model gaining specialties and two small AIs sharing tasks.

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

The drawings · 13 sheets

13 drawing sheets from US 2026/0359087 A1 · click any drawing to enlarge

Testing AI setups between personal devices and the cloud, drawing sheet 1 from US 2026/0359087 A1
Sheet 1 Testing AI setups between personal devices and the cloud
Storing recent answers locally to cut cloud costs, drawing sheet 2 from US 2026/0359087 A1
Sheet 2 Storing recent answers locally to cut cloud costs
How user questions travel through search and AI models, drawing sheet 3 from US 2026/0359087 A1
Sheet 3 How user questions travel through search and AI models
Gathering test prompts and device limits to balance speed, drawing sheet 4 from US 2026/0359087 A1
Sheet 4 Gathering test prompts and device limits to balance speed
Running automated experiments to find the best AI path, drawing sheet 5 from US 2026/0359087 A1
Sheet 5 Running automated experiments to find the best AI path
Connecting user devices and sensors to cloud AI systems, drawing sheet 6 from US 2026/0359087 A1
Sheet 6 Connecting user devices and sensors to cloud AI systems
Steps for answering a user prompt with the best model, drawing sheet 7 from US 2026/0359087 A1
Sheet 7 Steps for answering a user prompt with the best model
Simulating device networks before building a query router, drawing sheet 8 from US 2026/0359087 A1
Sheet 8 Simulating device networks before building a query router
Show the other 5 sheets
How user devices request and display AI answers, drawing sheet 9 from US 2026/0359087 A1
Sheet 9 How user devices request and display AI answers
Routing each question to nearby devices or the cloud, drawing sheet 10 from US 2026/0359087 A1
Sheet 10 Routing each question to nearby devices or the cloud
Components that run and support the AI models, drawing sheet 11 from US 2026/0359087 A1
Sheet 11 Components that run and support the AI models
Cloud servers that host virtual machines for AI workloads, drawing sheet 12 from US 2026/0359087 A1
Sheet 12 Cloud servers that host virtual machines for AI workloads
Hardware parts that make up each computer in the network, drawing sheet 13 from US 2026/0359087 A1
Sheet 13 Hardware parts that make up each computer in the network
Patent filing page

More in AI assistant & agent

All 413 AI assistant & agent patents →

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.