Dmytro Struk 57d09afe04 Python: Context providers abstraction and Mem0 implementation (#631)
* Added context provider abstractions

* Added mem0 implementation

* Example and small fixes

* Added unit tests for agent

* Added unit tests for mem0 provider

* Updated README

* Small doc updates

* Update python/packages/mem0/agent_framework_mem0/_provider.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Small fixes in tests

* Renaming based on PR feedback

* Small fixes

* Added tests for AggregateContextProvider

* Small improvements

* More improvements based on PR feedback

* Small constant update

* Added more examples

* Added README for Mem0 examples

* Small updates to API

* Updated initialization logic

* Updates for context manager

* Updated Context class

* Dependency update

* Revert changes

* Fixed tests

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com>
57d09afe04 · 2025-09-10 21:11:42 +00:00
304 Commits
2025-09-04 15:00:38 +00:00
2025-04-28 12:54:43 -07:00
2025-09-09 08:40:00 +00:00
2025-04-28 12:54:42 -07:00
2025-09-02 12:18:12 +00:00

Microsoft Agent Framework

Welcome to the Private Preview of Agent Framework!

You're getting early access to Microsoft's comprehensive multi-language framework for building, orchestrating, and deploying AI agents with support for both .NET and Python implementations. This framework provides everything from simple chat agents to complex multi-agent workflows with graph-based orchestration.

📋 Important Setup Information

Package Availability: Public PyPI and NuGet packages are not yet available. You have two options:

Option 1: Run samples directly from this repository (no package installation needed)

  • Clone this repository
  • For .NET: Run samples with dotnet run from any sample directory (e.g., dotnet/samples/GettingStarted/Agents/Agent_Step01_Running)
  • For Python: Run samples from any sample directory (e.g., python/samples/getting_started/minimal_sample.py) after setting up the local dev environment following this guide.

Option 2: Install packages in your own project

Stay Updated: This is an active project - sync your local repository regularly to get the latest updates.

💬 We want your feedback!

Highlights

  • Flexible Agent Framework: build, orchestrate, and deploy AI agents and workflows
  • Multi-Agent Orchestration: group chat, sequential, concurrent, and handoff patterns
  • Graph-based Workflows: connect agents and deterministic functions using data flows with streaming, checkpointing, time-travel, and Human-in-the-loop.
  • Plugin Ecosystem: extend with native functions, OpenAPI, Model Context Protocol (MCP), and more
  • LLM Support: OpenAI, Azure OpenAI, Azure AI Foundry, and more
  • Runtime Support: in-process and distributed agent execution
  • Multimodal: text, vision, and function calling
  • Cross-Platform: .NET and Python implementations

Below are the basics for each language implementation. For more details on python see here and for .NET see here.

More Examples & Samples

Python

.NET

Agent Framework Documentation

Languages
Python 50.9%
C# 45.8%
TypeScript 2.7%
HTML 0.2%
PowerShell 0.1%
Other 0.1%