agent-framework  by microsoft

AI agent and multi-agent workflow framework

Created 5 months ago
3,588 stars

Top 13.4% on SourcePulse

GitHubView on GitHub
Project Summary

This framework provides a comprehensive, multi-language solution for building, orchestrating, and deploying AI agents and complex multi-agent workflows. Targeting developers familiar with Python or .NET, it offers a unified approach from simple chat bots to sophisticated, graph-based systems, aiming to streamline AI agent development and integration.

How It Works

The core of the framework revolves around graph-based orchestration, enabling the connection of agents and deterministic functions through data flows. This design supports advanced features like streaming, checkpointing, human-in-the-loop interactions, and time-travel debugging. It offers consistent APIs across both Python and C#/.NET implementations, enhancing developer productivity and code reusability.

Quick Start & Requirements

  • Python Installation: pip install agent-framework --prerelease=allow
  • .NET Installation: dotnet add package Microsoft.Agents.AI
  • Prerequisites: Examples often require Azure CLI (az login) for authentication. Specific LLM provider credentials may also be necessary.
  • Documentation: Overview, Quick Start, Tutorials, User Guide.
  • Migration Guides: Semantic Kernel, AutoGen.

Highlighted Details

  • Graph-based Workflows: Enables complex agent interactions with streaming, checkpointing, and human-in-the-loop capabilities.
  • DevUI: An interactive developer UI for testing and debugging agent workflows.
  • Multi-Language Support: Consistent APIs for both Python and C#/.NET.
  • Observability: Integrated OpenTelemetry support for tracing and monitoring.
  • Extensible Agent Providers: Supports multiple LLM providers with ongoing additions.
  • Middleware System: Provides a flexible pipeline for request/response processing and exception handling.

Maintenance & Community

The project encourages feedback via GitHub issues for bugs. Contributor resources, including a contributing guide and development guides for Python, are available. Specific community channels (e.g., Discord, Slack) or details on major contributors/sponsorships are not explicitly mentioned in the README.

Licensing & Compatibility

The specific open-source license for this project is not stated in the provided README. This omission requires further investigation for compatibility with commercial or closed-source projects.

Limitations & Caveats

Installation via --prerelease suggests the framework may be in an unstable or rapidly evolving state. The "AF Labs" packages are explicitly experimental. Initial examples are heavily tied to Azure services, potentially indicating a strong ecosystem dependency for setup and operation.

Health Check
Last Commit

23 hours ago

Responsiveness

Inactive

Pull Requests (30d)
379
Issues (30d)
318
Star History
3,552 stars in the last 30 days

Explore Similar Projects

Starred by Andrew Ng Andrew Ng(Founder of DeepLearning.AI; Cofounder of Coursera; Professor at Stanford), Thomas Wolf Thomas Wolf(Cofounder of Hugging Face), and
4 more.

ag2 by ag2ai

0.7%
4k
AgentOS for building AI agents and facilitating multi-agent cooperation
Created 11 months ago
Updated 17 hours ago
Starred by Elie Bursztein Elie Bursztein(Cybersecurity Lead at Google DeepMind), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
7 more.

SuperAGI by TransformerOptimus

0.1%
17k
Open-source framework for autonomous AI agent development
Created 2 years ago
Updated 8 months ago
Starred by Wes McKinney Wes McKinney(Author of Pandas), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
22 more.

autogen by microsoft

0.4%
51k
Agentic framework for multi-agent AI applications
Created 2 years ago
Updated 6 days ago
Feedback? Help us improve.