fastagency  by ag2ai

Framework for productionizing multi-agent workflows

created 1 year ago
497 stars

Top 63.3% on sourcepulse

GitHubView on GitHub
Project Summary

FastAgency is an open-source framework designed to accelerate the transition from prototype to production for multi-agent AI workflows, specifically targeting developers using the AG2 (formerly AutoGen) framework. It provides a unified interface to scale Jupyter notebook prototypes into production-ready applications, supporting various UIs and distributed system deployments.

How It Works

FastAgency offers a unified programming interface that allows developers to write workflows once and deploy them across different user interfaces (ConsoleUI, MesopUI) and network adapters (FastAPI, NATS.io via FastStream). This approach simplifies the development lifecycle by enabling code reuse and abstracting away deployment complexities, whether for local testing, web applications, or distributed, multi-datacenter systems. It also facilitates seamless integration of external APIs via OpenAPI specifications.

Quick Start & Requirements

  • Installation: Recommended via cookiecutter https://github.com/ag2ai/cookiecutter-fastagency.git.
  • Prerequisites: Python 3.10+, OpenAI API key (as environment variable OPENAI_API_KEY).
  • Setup: Project setup includes creating folder structure, installing requirements, and optionally a devcontainer. Running tests requires pytest.
  • Docs: Cookiecutter, Fly.io Deployment, OpenAI API Key, GitHub Secrets.

Highlighted Details

  • Unified programming interface across ConsoleUI and MesopUI.
  • Seamless external API integration via OpenAPI specifications.
  • Tester class for continuous integration of agent workflows.
  • CLI for orchestration and management of multi-agent applications.
  • Supports FastAPI for REST API serving and NATS.io via FastStream for message brokering.

Maintenance & Community

  • Active development with plans to support additional frameworks and network providers.
  • Community updates and support available via Discord server.
  • GitHub repository for contributions and updates.

Licensing & Compatibility

  • The README does not explicitly state the license. Compatibility for commercial use or closed-source linking is not specified.

Limitations & Caveats

Currently, FastAgency only supports the AG2 (formerly AutoGen) runtime. The license is not explicitly stated, which may impact commercial adoption or integration with closed-source projects.

Health Check
Last commit

5 days ago

Responsiveness

Inactive

Pull Requests (30d)
6
Issues (30d)
1
Star History
49 stars in the last 90 days

Explore Similar Projects

Starred by Elie Bursztein Elie Bursztein(Cybersecurity Lead at Google DeepMind), Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), and
3 more.

composio by ComposioHQ

0.2%
26k
Toolset for AI agent integrations via function calling
created 1 year ago
updated 17 hours ago
Feedback? Help us improve.