Microsoft Agent Framework gains native memory via Cosmos DB
Microsoft has launched a new feature for its Agent Framework that enables native agent memory management via Azure Cosmos DB. This simplifies the development of AI agents with persistent memory.

What happened?
Microsoft has introduced `CosmosMemoryContextProvider` as part of the `agent-framework-azure-cosmos-memory` package for Python. This update allows AI agents built with the Microsoft Agent Framework to use Azure Cosmos DB to store conversation history and derive high-level memories, such as thread summaries and user profiles. The functionality is now integrated directly into the framework, eliminating the need for separate orchestration code for memory management.
Key facts
”With the latest release of Microsoft Agent Framework, you can now drop that memory into an agent with a single object: the`CosmosMemoryContextProvider`, shipped in the new`agent-framework-azure-cosmos-memory` package for Python (currently in preview).”
Why it matters
Previously, custom code was required to manage agent memory, which could be complex and time-consuming. By integrating memory management directly into the framework, supported by Azure Cosmos DB, Microsoft is reducing the development burden required to build AI agents that can remember and act based on past interactions. This enables more advanced and coherent agent behaviours across multiple sessions.
Who is affected?
This update primarily affects developers building AI agents using the Microsoft Agent Framework and Azure Cosmos DB. Companies using the Azure platform for their AI solutions can benefit from simplified architectures and faster development cycles. Indirectly, end-users may gain access to more intelligent and context-aware AI applications.
Impact on the EU
The feature is available globally via Azure Cosmos DB, meaning it is also available to users within the EU. As Azure Cosmos DB complies with relevant data protection standards, EU companies can implement this solution while maintaining regulatory compliance.
What else you should know
The new feature is currently in preview. This means it may undergo further changes before a final version is released.
Quick answers about this story
Vad har hänt?
När hände det?
Varför spelar det roll?
Påverkar det EU-användare?
The link opens in a new window and leads to the publisher's own site.
Källan har spårats automatiskt från utgivaren via Aheadlines signalkedja.
AI-verktyg i artikeln
Topics
Get similar news straight to your inbox
The reader's room
Send in a question or an addition. The newsroom reads everything before it's published and replies when relevant. No AI-generated text – just people.
Sign in to submit a comment or question.
Read the article through your role
- Assess technical risk: model choice, vendor lock-in, data flow and running cost.
- Update the architecture doc if new APIs or regulations touch production.
- Ensure observability + rollback plan before rolling out to production.
Generated angle — not editorial analysis of "Microsoft Agent Framework gains native memory via Cosmos DB"