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.

- 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.
… 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.
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.
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

No comments yet