Ship AG2 multi-agent workflows behind APIs with FastAgency
Turn an AG2 multi-agent prototype into a reusable console, web, REST API, or broker-backed service with FastAgency.
Prerequisites
Python 3.10+; FastAgency; AG2/AutoGen workflow; optional Cookiecutter, FastAPI, Mesop, NATS/FastStream, and pytest depending on deployment target
Installation
Use the upstream install or setup path that matches your environment:
- pip install cookiecutter
Requirements and caveats from upstream:
- platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0
- python
- If you created the project using Cookiecutter, then building the Docker image is as simple as running the provided script, as shown below:
Basic usage or getting-started notes:
Seamless External API Integration: One of FastAgency's standout features is its ability to easily integrate external APIs into your agent workflows. With just a few lines of code, yo...
Command-Line Interface (CLI) for Orchestration: FastAgency includes a powerful command-line interface (CLI) for orchestrating and managing multi-agent applications directly from the...
We strongly recommend using Cookiecutter for setting up a FastAgency project. It creates the project folder structure, default workflow, automatically installs all the necessary req...
Extracted from upstream docs: https://raw.githubusercontent.com/ag2ai/fastagency/HEAD/README.md