A powerful multi-agent system for adaptive AI reasoning and automation
Project description
AgenticFleet
A powerful multi-agent system for adaptive AI reasoning and automation. AgenticFleet combines Chainlit's interactive interface with AutoGen's multi-agent capabilities to create a flexible, powerful AI assistant platform.
Your browser doesn't support HTML5 video. Here is a link to the video instead.
Table of Contents
- Introduction
- System Architecture
- Quick Start
- Installation Guide
- Model Provider Installation
- Supported Model Providers
- Key Features
- Configuration
- Error Handling
- Community Contributions
- Star History
- API Overview
- Advanced Configuration
- Supported Features
- Performance Optimization
- Contributing
- License
Introduction
AgenticFleet operates through a coordinated team of specialized agents that work together to provide advanced AI capabilities. This project leverages Chainlit's interactive interface with AutoGen's multi-agent system to deliver robust and adaptive solutions.
System Architecture
graph TD
User[Chainlit UI] -->|HTTP| App[app.py]
App --> AgentTeam[MagenticOneGroupChat]
AgentTeam --> WebSurfer
AgentTeam --> FileSurfer
AgentTeam --> Coder
AgentTeam --> Executor
WebSurfer -->|Selenium| Web[External Websites]
FileSurfer -->|OS| FileSystem[Local Files]
Executor -->|Subprocess| Code[Python/Runtime]
- WebSurfer: Navigates the web, extracts data, and processes screenshots.
- FileSurfer: Manages file operations and extracts information from local files.
- Coder: Generates and reviews code, ensuring quality and efficiency.
- Executor: Executes code safely in an isolated environment and provides feedback.
Quick Start (fastest way)
- Install dependencies:
pip install agentic-fleet
- Set up environment variables:
export OPENAI_API_KEY=your_api_key
export AZURE_OPENAI_KEY=your_azure_key
- Start AgenticFleet using one of these methods:
# Using CLI command (recommended)
agenticfleet start
# Using CLI command without OAuth
agenticfleet start no-oauth
Alternative Start Methods
You can also use the provided scripts in the scripts directory:
# Using shell script
./scripts/run.sh
# Using Python script
./scripts/run_direct.py
# Using direct server start
./scripts/start_server.sh
Installation & Environment Setup
Before starting AgenticFleet, install the package using the uv package manager:
uv pip install agentic-fleet
uv pip install playwright
playwright install --with-deps chromium
Then, set up your environment:
-
Copy the Example File
cp .env.example .env
-
Configure Environment Variables
Open the
.envfile and set the required values. At a minimum, configure your Azure OpenAI settings:# Required: Azure OpenAI Configuration AZURE_OPENAI_API_KEY=your_api_key AZURE_OPENAI_ENDPOINT=your_endpoint AZURE_OPENAI_DEPLOYMENT=your_deployment AZURE_OPENAI_MODEL=your_model
Running AgenticFleet
There are several ways to run AgenticFleet:
-
Using CLI Commands (Recommended):
# Start with default configuration (OAuth enabled) agenticfleet start # Start without OAuth agenticfleet start no-oauth # Start with custom host and port agenticfleet start --host localhost --port 8000
-
Using Shell Script:
# Start the application using the shell script ./scripts/run.sh -
Using Python Script:
# Start the application using Python python scripts/run_direct.py
Using Docker
If you prefer using Docker, follow these instructions:
# Pull the latest image
docker pull qredence/agenticfleet:latest
# Run with minimum configuration (replace placeholders with your actual values)
docker run -d -p 8001:8001 \
-e AZURE_OPENAI_API_KEY=your_key \
-e AZURE_OPENAI_ENDPOINT=your_endpoint \
-e AZURE_OPENAI_DEPLOYMENT=your_deployment \
-e AZURE_OPENAI_MODEL=your_model \
qredence/agenticfleet:latest
# Alternatively, run with additional configuration including OAuth
docker run -d -p 8001:8001 \
-e AZURE_OPENAI_API_KEY=your_key \
-e AZURE_OPENAI_ENDPOINT=your_endpoint \
-e AZURE_OPENAI_DEPLOYMENT=your_deployment \
-e AZURE_OPENAI_MODEL=your_model \
-e USE_OAUTH=true \
-e OAUTH_GITHUB_CLIENT_ID=your_client_id \
-e OAUTH_GITHUB_CLIENT_SECRET=your_client_secret \
qredence/agenticfleet:latest
# To run without OAuth:
docker run -d -p 8001:8001 \
-e AZURE_OPENAI_API_KEY=your_key \
-e AZURE_OPENAI_ENDPOINT=your_endpoint \
-e USE_OAUTH=false \
qredence/agenticfleet:latest
Installation Guide
Prerequisites
- Python Version: 3.10-3.12
- Operating Systems: macOS, Linux, Windows
Installation Steps
-
Install
uvPackage Manageruvis a fast and efficient package manager. Choose your preferred installation method:macOS/Linux
# Using pip pip install uv # Using Homebrew (macOS) brew install uv # Using curl curl -LsSf https://astral.sh/uv/install.sh | sh
Windows
# Using pip pip install uv # Using winget winget install uv
-
Create and Activate a Virtual Environment
# Create a new virtual environment uv venv # Activate the virtual environment # On macOS/Linux source .venv/bin/activate # On Windows .venv\Scripts\activate
-
Install AgenticFleet
# Install the latest stable version uv pip install agentic-fleet # Install Playwright for web automation and scraping (needed by WebSurfer) uv pip install playwright playwright install --with-deps chromium
Playwright Installation Notes:
- Installs the Chromium browser for web automation.
- Includes necessary browser dependencies.
- Required for web scraping and browser-based agents.
- Supports both headless and headed modes.
-
Verify Installation
# Check installed version uv pip show agentic-fleet # Run a quick version check python -c "import agentic_fleet; print(agentic_fleet.__version__)"
Troubleshooting Installation
- Ensure you're using Python 3.10-3.12.
- Update
uvto the latest version:pip install -U uv. - If issues arise, consult our GitHub Issues.
Optional Feature Sets
# Install with optional telemetry features
uv pip install 'agentic-fleet[telemetry]'
# Install with optional tracing features
uv pip install 'agentic-fleet[tracing]'
Warning About Editable Installations
DO NOT use -e unless you are a core contributor.
Editable installations are not supported in production, may introduce unexpected behaviors, and void package support. They are intended solely for package development. If you make local modifications, please file a GitHub issue and submit a pull request.
Model Provider Installation
Please refer to the existing documentation or the docs/installation.md file for details on installing model providers.
Supported Model Providers
AgenticFleet supports multiple LLM providers including OpenAI, Azure OpenAI, Google Gemini, DeepSeek, Ollama, Azure AI Foundry, and CogCache. For specifics on configuration and usage, please refer to the detailed sections in the documentation.
Key Features
- Advanced multi-agent coordination
- Support for several LLM providers
- GitHub OAuth authentication (optional)
- Configurable agent behaviors and execution isolation
- Comprehensive error handling and automated recovery
- Multi-modal content processing (text, images, etc.)
Configuration
For complete configuration details, review the .env.example file and the docs/usage-guide.md for further instructions.
Error Handling
AgenticFleet includes robust error handling:
- Graceful degradation on failures
- Detailed error logging and reporting
- Automatic cleanup and session recovery
- Execution timeout management
Community Contributions
AgenticFleet welcomes contributions from the community. Please review our CONTRIBUTING.md and CODE_OF_CONDUCT.md for guidelines on submitting issues and pull requests.
Star History
Configuring a Team
from agentic_fleet.backend.agents.orchestrator_agent import create_team
team = create_team([
PlannerAgent(name="Strategic Planner"),
CodeCrafterAgent(name="Code Developer"),
ValidatorAgent(name="Quality Assurer")
])
Advanced Configuration
Agent Configuration
Agents can be configured using YAML files located in src/agentic_fleet/config/:
# Example agent configuration
agent_type: AssistantAgent
name: AI Assistant
model: gpt-4
temperature: 0.7
max_context_length: 4096
Environment Setup
- Install dependencies:
pip install agentic-fleet
- Set up environment variables:
export OPENAI_API_KEY=your_api_key
export AZURE_OPENAI_KEY=your_azure_key
- Start AgenticFleet:
agenticfleet start
Supported Features
- Multi-agent task allocation
- Dynamic team composition
- Advanced error handling
- Streaming AI interactions
- Extensible agent framework
Performance Optimization
- Use streaming APIs for real-time interactions
- Configure model temperature between 0.7-1.0 for creative tasks
- Implement efficient agent communication protocols
Contributing
We welcome contributions! Please read our API.md for detailed guidelines on extending AgenticFleet.
License
AgenticFleet is open-source software licensed under [INSERT LICENSE]
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.4.9.tar.gz.
File metadata
- Download URL: agentic_fleet-0.4.9.tar.gz
- Upload date:
- Size: 80.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0635c15b95d3c4f776641b2b3bd2fdd2fbaf693f2155bc2e129bc96859d01249
|
|
| MD5 |
147057e85688072941783c7c20ed934e
|
|
| BLAKE2b-256 |
e615284f13ce10d844334e938a11e36eb7b64e035e9df821b1ad4e14a032ddaf
|
File details
Details for the file agentic_fleet-0.4.9-py3-none-any.whl.
File metadata
- Download URL: agentic_fleet-0.4.9-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4de970b2fcb3c5b3b3a215de5e7bdf32c8eaa49fcfbd2301e2a1db913e2e70f0
|
|
| MD5 |
6a5d4ac95d8577292a21b613b29c9f4c
|
|
| BLAKE2b-256 |
36d55db6fe854ab6cbc6838834dba766493cfe74cbddf858931fac62d0b785b9
|