fastagency  by ag2ai

Framework for productionizing multi-agent workflows

Created 1 year ago
529 stars

Top 59.7% 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

3 days ago

Responsiveness

Inactive

Pull Requests (30d)
2
Issues (30d)
0
Star History
4 stars in the last 30 days

Explore Similar Projects

Starred by Li Jiang Li Jiang(Coauthor of AutoGen; Engineer at Microsoft), Jared Palmer Jared Palmer(SVP at GitHub; Founder of Turborepo; Author of Formik, TSDX), and
1 more.

copilot-sdk by github

1.9%
7k
AI agentic workflow SDK for application integration
Created 1 month ago
Updated 22 hours ago
Starred by Lilian Weng Lilian Weng(Cofounder of Thinking Machines Lab), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
59 more.

AutoGPT by Significant-Gravitas

0.1%
182k
AI agent platform for building, deploying, and running autonomous workflows
Created 2 years ago
Updated 17 hours ago
Feedback? Help us improve.