Get the newsletter
Microsoft · AI / ML · Filed Jun 24, 2025 · USPTO published Dec 3, 2026 · This week's release

Microsoft Files Patent for Booting Idle AI Agents Out of Group Conversations

Microsoft describes a way for a team of AI helpers to show finished or idle members the door and wipe their old chatter from the shared notes.

Software that removes silent AI bots from a conversation and clears their past posts to save space. Drawing from patent filing US 2026/0390162 A1.
Software that removes silent AI bots from a conversation and clears their past posts to save space.All 7 drawings ↓
Publication number
US 2026/0390162 A1(US20260390162A1)
USPTO patent title:
Scalable Multi-Agent Collaboration with Dynamic Ejection
Applicant
Microsoft Technology Licensing, LLC
Filed · Published
Jun 24, 2025 · Dec 3, 2026
Inventors
Sivachandran Duraisamy, Sayan Chaliha, Rajiv Srivastava, Aloka Sanjib Kumar Mitra, Ashutosh Tripathi, Rohit Ravindra Jog
Status when we published
Waiting for an examiner
Document
20 claims
US classification
709/206
Examiner
JOSHI, SURAJ M (Art Unit 2447)

What Microsoft's AI agent ejection actually does

A conference call has twelve people on it, and eight of them finished their part an hour ago. They stay on the line anyway, and everyone still has to wade through their old comments. That is roughly what happens when several AI helpers work on one task together.

Microsoft's patent application describes a fix. The system watches each AI helper, and when one has finished its job, gone silent or stopped being relevant, it is ejected from the conversation. Its old messages can then be trimmed from the shared notes everyone else reads.

The payoff is that the remaining helpers read less, answer faster and use less computing power. If an ejected helper becomes useful again later, the system can bring it back.

From the filing · CLAIM 1
… identifying an agent from the plurality of agents with a diminished contextual relevance by monitoring agent participation and conversation history; in response to identifying the agent, ejecting the agent from active participation in the shared conversational environment; and pruning the conversation history of the ejected agent from a shared context memory …

Translation: The system kicks out AI participants that stop contributing and erases their past messages from the shared memory.

How idle agents get pruned from shared memory

The filing covers a shared conversational environment where several large language model agents (separate AI chatbot instances, each given a job such as collecting data, planning or processing) trade messages. All of those messages land in a shared context memory, the running notes every agent reads before it answers.

A component the filing calls an agent ejector watches each agent's participation and the conversation history. When an agent shows diminished contextual relevance, it is ejected from active participation. The triggers described include:

  • The agent finishing its task
  • Inactivity past a set timeout
  • Dependency resolution (no other agent needs its output anymore)
  • A low semantic similarity score (a measure of how closely its messages match the current topic)

A second component, the context pruner, then trims the ejected agent's history from the shared notes. Three styles are described. Soft pruning removes the agent but keeps its message in memory. Hard pruning deletes both the agent and its messages. Relevance-based pruning keeps or drops pieces using dependency graphs (maps of which messages rely on which) or how recent the data is.

Active agents then work from a pruned shared prompt context. An ejected agent can be reactivated if it becomes relevant again, and the amount of pruning can be adjusted to the computing resources available.

From the filing · THE ABSTRACT
Dynamic agent ejection selectively removes agents from active communication based on criteria like task completion, inactivity, or diminished relevance. Context pruning optimizes shared memory by retaining only relevant conversation segments …

Translation: The software cuts off inactive bots to save memory space and keeps only the useful parts of the chat.

Why shorter AI group chats cost less to run

Anyone who has watched an AI chat slow down or lose the thread in a long session has felt what this filing targets. Every extra message the AI has to reread costs time and money, and the filing says a bloated history also hurts reasoning and can cause crashes or made-up answers. Trimming it could mean faster, cheaper responses from AI tools that use several helpers at once.

The description also points to phones and embedded devices with limited resources, where memory is tight. Microsoft sells AI assistants across its apps, and as they hand work to teams of agents, housekeeping like this decides whether they stay affordable to run. Keep in mind this is a patent application, not proof of a shipping feature.

Microsoft's 59th filing we've tracked since May in our AI teams working together series follows one tracing flaws to code lines and one on AI teams explaining outages.

Source: US 2026/0390162 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 · 7 sheets

7 drawing sheets from US 2026/0390162 A1 · click any drawing to enlarge

How the system kicks out unneeded AI helpers, drawing sheet 1 from US 2026/0390162 A1
Sheet 1 How the system kicks out unneeded AI helpers
Trimming chat memory after ejecting idle assistants, drawing sheet 2 from US 2026/0390162 A1
Sheet 2 Trimming chat memory after ejecting idle assistants
Keeping all messages before memory cleanup begins, drawing sheet 3 from US 2026/0390162 A1
Sheet 3 Keeping all messages before memory cleanup begins
Erasing messages sent by an unneeded helper, drawing sheet 4 from US 2026/0390162 A1
Sheet 4 Erasing messages sent by an unneeded helper
Retaining relevant messages even from booted agents, drawing sheet 5 from US 2026/0390162 A1
Sheet 5 Retaining relevant messages even from booted agents
Steps for removing idle bots from a group chat, drawing sheet 6 from US 2026/0390162 A1
Sheet 6 Steps for removing idle bots from a group chat
Computer hardware that coordinates the AI assistants, drawing sheet 7 from US 2026/0390162 A1
Sheet 7 Computer hardware that coordinates the AI assistants
Patent filing page

More in AI assistant & agent

All 491 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.