Skip to main content

Multi-agent orchestration system built with Microsoft Agent Framework's Magentic Fleet pattern

Project description

AgenticFleet

License: MIT PyPI Downloads Ask DeepWiki

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

make backend  # http://localhost:8000
# Docs: http://localhost:8000/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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentic_fleet-0.6.7.tar.gz (452.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentic_fleet-0.6.7-py3-none-any.whl (286.8 kB view details)

Uploaded Python 3

File details

Details for the file agentic_fleet-0.6.7.tar.gz.

File metadata

  • Download URL: agentic_fleet-0.6.7.tar.gz
  • Upload date:
  • Size: 452.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.15 {"installer":{"name":"uv","version":"0.9.15","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

Hashes for agentic_fleet-0.6.7.tar.gz
Algorithm Hash digest
SHA256 18dc24a4c86db1463b046089cda62f71afa716779c342f3912e00e809693d849
MD5 ebb239ab1865f9fc38837fc346903383
BLAKE2b-256 bb119c1386d1c51914dc97a84ccbfeed0a6cbc7bcd40a9780313cec9e8a7f6f1

See more details on using hashes here.

File details

Details for the file agentic_fleet-0.6.7-py3-none-any.whl.

File metadata

  • Download URL: agentic_fleet-0.6.7-py3-none-any.whl
  • Upload date:
  • Size: 286.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.15 {"installer":{"name":"uv","version":"0.9.15","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

Hashes for agentic_fleet-0.6.7-py3-none-any.whl
Algorithm Hash digest
SHA256 a6a2c91577f43efa5e1ab52bf0098a6b53643c6e39c3384d839caea5a588d1a7
MD5 c43c880c6c075fc0c2e61c07e3ab8ead
BLAKE2b-256 864e1b42855f9237769d1cdc7ce9548c1f8b6a568d3475b43e542ff2577decb3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page