Skip to main content

Multi-agent reasoning system with specialized thinker and grader components

Project description

Agentic Fleet

A powerful fleet of AI agents for complex reasoning and task execution, combining Tree of Thoughts reasoning with advanced agent orchestration capabilities.

Features

  • Tree of Thoughts Reasoning: Multi-agent reasoning system with beam search
  • CaptainAgent: Advanced agent orchestration based on the paper "CaptainAgent: Building Reliable Autonomous Agents through Iterative Prompting"
  • Agent Fleet: Extensible collection of specialized agents for different tasks
  • Tool Integration: Rich set of tools and capabilities for agents
  • Modern Development: Built with modern Python tools (uv, PDM)

Installation

pip install agentic-fleet

Quick Start

from agentic_fleet import CaptainAgent, ReasoningAgent
from agentic_fleet.tools import CodeAnalysisTool, DataProcessingTool

# Initialize CaptainAgent with specialized tools
captain = CaptainAgent(
    name="project_captain",
    tools=[CodeAnalysisTool(), DataProcessingTool()],
    max_iterations=5
)

# Execute a complex task
result = captain.execute_task(
    "Analyze this codebase and suggest improvements",
    context={"repo_path": "./my_project"}
)

# Use reasoning agent for complex problem-solving
reasoner = ReasoningAgent(
    name="math_reasoner",
    beam_size=3,
    max_depth=5
)

solution = reasoner.solve("What is the optimal strategy for...")

Architecture

The package consists of several key components:

  1. CaptainAgent: Orchestrates complex tasks through iterative prompting
  2. ReasoningAgent: Implements Tree of Thoughts for complex reasoning
  3. SpecialistAgents: Task-specific agents (Coder, Analyst, etc.)
  4. Tools: Extensible set of capabilities for agents
  5. Prompts: Carefully crafted prompts for different scenarios

Development

# Install development dependencies
uv venv
source .venv/bin/activate
uv pip install -e ".[dev]"

# Run tests
pytest

# Run linting
ruff check .
black .
mypy .

Contributing

See CONTRIBUTING.md for guidelines.

License

MIT License - see LICENSE for details.

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.1.6.tar.gz (34.9 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.1.6-py3-none-any.whl (48.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentic_fleet-0.1.6.tar.gz
  • Upload date:
  • Size: 34.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.5

File hashes

Hashes for agentic_fleet-0.1.6.tar.gz
Algorithm Hash digest
SHA256 84ea3d4c92847d8c8fbb3984ce18b3fca0c1945bb9791db24bf55d7bc26a4377
MD5 489c387c787605ebe9c30284ad7e1a1c
BLAKE2b-256 c4220b7538a22c84f31d2bf7f11d2451fb0e291499758baf8c6a61e5d22955e0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agentic_fleet-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 48.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.5

File hashes

Hashes for agentic_fleet-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 b1d5e4d93a212d5d19df967baeb0cc1c74c83a3d9c5b874a831fc01f9e3362e8
MD5 ea92ad7d80793a9978bbc75e168c1768
BLAKE2b-256 c31ead7f05d062917acf3a2473d2b2a31e2d4693856a88fe9b39bcb6fe79f7d6

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