microsoft / agent-framework
A framework for building, orchestrating and deploying AI agents and multi-agent workflows with support for Python and .NET.
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing microsoft/agent-framework in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler viewWelcome to Microsoft Agent Framework! Welcome 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. Watch the full Agent Framework introduction (30 min) 📋 Getting Started 📦 Installation Python .NET 📚 Documentation • **Overview** - High level overview of the framework • **Quick Start** - Get started with a simple agent • **Tutorials** - Step by step tutorials • **User Guide** - In-depth user guide for building agents and workflows • **Migration from Semantic Kernel** - Guide to migrate from Semantic Kernel • **Migration from AutoGen** - Guide to migrate from AutoGen Still have questions? Join our weekly office hours or ask questions in our Discord channel to get help from the team and other users. ✨ **Highlights** • **Graph-based Workflows**: Connect agents and deterministic functions using data flows with streaming, checkpointing, human-in-the-loop, and time-travel capabilities • Python workflows | .NET workflows • **AF Labs**: Experimental packages for cutting-edge features including benchmarking, reinforcement learning, and research initiatives • Labs directory • **DevUI**: Interactive developer UI for agent development, testing, and debugging workflows • DevUI package See the DevUI in action (1 min) • **Python and C#/.NET Support**: Full framework support for both Python and C#/.NET implementations with consistent APIs • Python packages | .NET source • **Observability**: Built-in OpenTelemetry integration for distributed tracing, monitoring, and debugging • Python observability | .NET telemetry • **Multiple Agent Provider Support**: Support for various LLM providers with more being added continuously • Python examples | .NET examples • **Middleware**: Flexible middleware system for request/response processing, exception handling, and custom pipelines • Python middleware | .NET middleware 💬 **We want your feedback!** • For bugs, please file a GitHub issue. Quickstart Basic Agent - Python Create a simple Azure Responses Agent that writes a haiku about the Microsoft Agent Framework Basic Agent - .NET Create a simple Agent, using OpenAI Responses, that writes a haiku about the Microsoft Agent Framework Create a simple Agent, using Azure OpenAI Responses with token based auth, that writes a haiku about the Microsoft Agent Framework More Examples & Samples Python • Getting Started with Agents: progressive tutorial from hello-world to hosting • Agent Concepts: deep-dive samples by topic (tools, middleware, providers, etc.) • Getting Started with Workflows: workflow creation and integration with agents .NET • Getting Started with Agents: basic agent creation and tool usage • Agent Provider Samples: samples showing different agent providers • Workflow Samples: advanced multi-agent patterns and workflow orchestration Contributor Resources • Contributing Guide • Python Development Guide • Design Documents • Architectural Decision Records Important Notes If you use the Microsoft Agent Framework to build applications that operate with third-party servers or agents, you do so at your own risk. We recommend reviewing all data being shared with third-party servers or agents and being cognizant of third-party practices for retention and location of data. It is your responsibility to manage whether your data will flow outside of your organization's Azure compliance and geographic boundaries and any related implications.