Multi-agent orchestration system built with Microsoft Agent Framework's Magentic Fleet pattern
Project description
AgenticFleet
A self-optimizing multi-agent orchestration system combining DSPy for intelligent task routing with Microsoft agent-framework for robust execution.
Note: APIs may change between minor versions. Pin a version for production.
Quick Start
# Install
git clone https://github.com/Qredence/agentic-fleet.git && cd agentic-fleet
uv sync # or: pip install agentic-fleet
# Configure
cp .env.example .env
# Edit .env: set OPENAI_API_KEY (required), TAVILY_API_KEY (optional for web search)
# Run
agentic-fleet run -m "Research the latest AI advances" --verbose
What It Does
AgenticFleet routes tasks to specialized AI agents and orchestrates their execution:
Task --> Analysis --> Routing --> Agent Execution --> Quality Check --> Output
Agents: Researcher (web search), Analyst (data/code), Writer, Reviewer, Coder, Planner
Execution Modes:
| Mode | Description |
|---|---|
| Auto | DSPy picks best mode (default) |
| Delegated | Single agent handles task |
| Sequential | Agents work in pipeline |
| Parallel | Concurrent execution |
| Handoff | Direct agent-to-agent transfers |
| Discussion | Multi-agent group chat |
Usage
CLI
agentic-fleet # Interactive console
agentic-fleet run -m "Your task" --verbose # Single task
agentic-fleet run -m "Query" --mode handoff # Specific mode
agentic-fleet list-agents # Show available agents
Python API
import asyncio
from agentic_fleet.workflows import create_supervisor_workflow
async def main():
workflow = await create_supervisor_workflow()
result = await workflow.run("Summarize transformer architecture")
print(result["result"])
asyncio.run(main())
Backend API
./scripts/start_backend.sh # http://localhost:8000
# Docs: http://localhost:8000/api/docs
Configuration
Environment (.env):
OPENAI_API_KEY=sk-... # Required
TAVILY_API_KEY=tvly-... # Optional: web search
DSPY_COMPILE=true # DSPy optimization
Workflow (src/agentic_fleet/config/workflow_config.yaml):
- Models, temperatures, agent settings
- Execution thresholds and limits
- Tracing and evaluation options
Project Structure
src/agentic_fleet/
agents/ # Agent definitions
workflows/ # Orchestration logic
dspy_modules/ # DSPy signatures & reasoner
tools/ # Tavily, browser, code interpreter
cli/ # Typer CLI
app/ # FastAPI backend
src/frontend/ # React UI (optional)
scripts/ # Utilities
docs/ # Documentation
Development
make install # Install dependencies
make dev # Run backend + frontend
make test # Run tests
make check # Lint + type-check
Documentation
License
MIT - see LICENSE
Acknowledgments
Built with Microsoft agent-framework, DSPy, and Tavily
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentic_fleet-0.6.6.tar.gz.
File metadata
- Download URL: agentic_fleet-0.6.6.tar.gz
- Upload date:
- Size: 382.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.14 {"installer":{"name":"uv","version":"0.9.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb653a5f726dca7744123357f9deeba8aa73a038ff4d35de49670d1dc7804e91
|
|
| MD5 |
7084d60c61082e4022d2eb5d502a7a72
|
|
| BLAKE2b-256 |
b574642b84ffa676b76e20ad6835e2a9440f0c4838a53f9279ee7ced2926391a
|
File details
Details for the file agentic_fleet-0.6.6-py3-none-any.whl.
File metadata
- Download URL: agentic_fleet-0.6.6-py3-none-any.whl
- Upload date:
- Size: 255.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.14 {"installer":{"name":"uv","version":"0.9.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ef10bb64d0113fab0a76748105bb99057adddc0ee23d33d95442244815edc68
|
|
| MD5 |
5656d24f076a4c5609320b5ed5658498
|
|
| BLAKE2b-256 |
abb78e1b42e53824e9284a9b9504ec90fb49a174db16a1d57f254049e63c0c03
|