Skip to main content

A panel of experts that will solve problems and discuss topics

Project description

Agent Expert Panel - Core Package

codecov

Overview

This is the core package of the Agent Expert Panel monorepo, containing the main Python library for multi-agent AI collaboration. The framework orchestrates AI experts to solve complex problems through collaborative reasoning.

Features

  • 5 Specialized AI Experts: Advocate, Critic, Pragmatist, Research Specialist, and Innovator
  • GraphRAG-Enhanced Memory: Persistent knowledge across sessions with intelligent indexing
  • Real-Time Web Research: Tavily-powered search with automatic synthesis
  • Interactive CLI: Built with Typer for modern command-line experience
  • Human Participation: Join AI experts in discussions via UserProxyAgent
  • Flexible Discussion Patterns: Round-robin, structured debate, and more

Installation

From the monorepo root:

# Install core package dependencies
cd packages/core
uv sync --group dev --group test

# Or using pip
pip install -e ".[dev]"

Usage

CLI Commands

# Interactive mode
agent-panel

# Run specific discussion
agent-panel discuss "Should we adopt microservices?" --pattern round-robin --rounds 3

# Virtual expert panel with research
agent-panel virtual-solve "How to improve customer retention?" --domain business

Programmatic Usage

import asyncio
from agent_expert_panel.panel import ExpertPanel, DiscussionPattern

async def main():
    panel = ExpertPanel()
    result = await panel.discuss(
        topic="How can we improve team productivity?",
        pattern=DiscussionPattern.ROUND_ROBIN,
        max_rounds=3
    )
    print(f"Recommendation: {result.final_recommendation}")

asyncio.run(main())

Configuration

Agents are configured via YAML files in the configs/ directory. Each agent has customizable:

  • Model parameters
  • System messages
  • API endpoints
  • Timeout settings

Development

# Run tests
pytest tests

# Format code
ruff format

# Lint code
ruff check --fix

Architecture

The core package contains:

  • /src/agent_expert_panel/ - Main package source
  • /tests/ - Test suite with pytest
  • /examples/ - Usage examples
  • /docs/ - Documentation
  • /configs/ - Agent configuration files

For complete documentation, see the main repository README.

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

agent_expert_panel-0.5.2.tar.gz (225.1 kB view details)

Uploaded Source

Built Distribution

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

agent_expert_panel-0.5.2-py3-none-any.whl (211.5 kB view details)

Uploaded Python 3

File details

Details for the file agent_expert_panel-0.5.2.tar.gz.

File metadata

  • Download URL: agent_expert_panel-0.5.2.tar.gz
  • Upload date:
  • Size: 225.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.8.15

File hashes

Hashes for agent_expert_panel-0.5.2.tar.gz
Algorithm Hash digest
SHA256 ca0615cc5967670e4eea6de2accf871d8e7f4a48c898eb1793bc129c64b80cc0
MD5 41e67b44cb39ee4d8a3dfd6acf3b72a9
BLAKE2b-256 a35a4ccf315182f5df6ec2cdfbcb52e352a05f4bf0c866645543574f2c3fb893

See more details on using hashes here.

File details

Details for the file agent_expert_panel-0.5.2-py3-none-any.whl.

File metadata

File hashes

Hashes for agent_expert_panel-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d8e29db836b38424532d0eae3184131313e2ff785a5d51b1c5023e4b9f21b9c4
MD5 dc828cfca133605b003419fb0af2dd86
BLAKE2b-256 ded12753afd476d7f53ff1ff192b83710ccd2bdee559f0996826307b7845d559

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