Skip to main content

TOXP CLI - Team Of eXPerts parallel reasoning with multiple LLM agents and AWS Bedrock

Project description

TOXP - Team Of eXPerts

Parallel reasoning CLI using multiple LLM agents. TOXP spawns N independent reasoning agents to tackle complex queries, then synthesizes their outputs through a coordinator agent into a coherent, high-confidence answer.

Features

  • Parallel Reasoning: Spawn 2-32 independent reasoning agents
  • Intelligent Synthesis: Coordinator analyzes agreements, contradictions, synthesizes best answer
  • Confidence Levels: Low/Medium/High confidence ratings
  • Streaming Output: Real-time coordinator synthesis
  • Session Logging: Markdown logs with token counts and cost estimates

Prerequisites

  • Python 3.10+
  • AWS credentials with Bedrock access:
    aws configure --profile your-profile
    
  • Claude model access in AWS Bedrock console

Installation

# Using uvx (no install needed)
uvx toxp "Your question"

# Or install permanently
uv tool install toxp    # recommended
pipx install toxp       # alternative
pip install toxp        # in current env

Upgrading

uv tool upgrade toxp    # if installed with uv
pipx upgrade toxp       # if installed with pipx
pip install -U toxp     # if installed with pip

Setup

toxp config set aws-profile your-profile
toxp config show

Quick Start

toxp "Solve: x^2 + 5x + 6 = 0"
echo "Explain recursion" | toxp
toxp -v "Analyze quicksort"        # verbose
toxp --quiet "What is 2 + 2?"      # only answer
toxp --output answer.txt "Question"

Configuration

Stored at ~/.toxp/config.json:

toxp config show                    # view all
toxp config get model               # get value
toxp config set num-agents 24       # set value
toxp config reset                   # reset defaults
Key Default Description
aws-profile default AWS profile
region us-east-1 AWS region
num-agents 15 Parallel agents (2-32)
temperature 0.9 Agent temperature
model claude-sonnet-4-5 Model ID

Environment variables: TOXP_AWS_PROFILE, TOXP_REGION, TOXP_NUM_AGENTS

CLI Reference

toxp [OPTIONS] [QUERY]

Options:
  -q, --query TEXT       Query string
  -n, --num-agents INT   Agents (2-32)
  -t, --temperature FLOAT
  --aws-profile TEXT
  --region TEXT
  -o, --output FILE
  -v, --verbose
  --quiet
  --help

How It Works

  1. Query sent to N reasoning agents (T=0.9)
  2. At least 50% must succeed
  3. Coordinator synthesizes responses
  4. Final answer with confidence level

Troubleshooting

# Credentials expired
aws sso login --profile your-profile

# Rate limiting
toxp config set num-agents 8

# Debug
toxp -v "Your question"

Development

pip install -e ".[dev]"
pytest -v

License

MIT

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

toxp-0.6.1.tar.gz (68.1 kB view details)

Uploaded Source

Built Distribution

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

toxp-0.6.1-py3-none-any.whl (51.1 kB view details)

Uploaded Python 3

File details

Details for the file toxp-0.6.1.tar.gz.

File metadata

  • Download URL: toxp-0.6.1.tar.gz
  • Upload date:
  • Size: 68.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for toxp-0.6.1.tar.gz
Algorithm Hash digest
SHA256 69294a4ccc5ae8c967c61a1b77349bd1fc4971527cbfd2f127f647f18d6d8b18
MD5 34c330a1abf826a934c70a6cb97a9fa8
BLAKE2b-256 09054784fa74a54a780f28a62a5e3c43ab3d338f5a6a1cdb3bb94ebe7e2d7836

See more details on using hashes here.

Provenance

The following attestation bundles were made for toxp-0.6.1.tar.gz:

Publisher: release.yml on raghuvaran/team-of-experts

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file toxp-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: toxp-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 51.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for toxp-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fdf6110445e2ee12a910b5b63110eb5ac01cfe0bb3b15dbb0d085ad8e3fba658
MD5 199f01eab83290b1889dffadca552e72
BLAKE2b-256 966592245a91b98db41efec40c70fe82c9c01f90bb4d2ec0bc44d5bfee161a07

See more details on using hashes here.

Provenance

The following attestation bundles were made for toxp-0.6.1-py3-none-any.whl:

Publisher: release.yml on raghuvaran/team-of-experts

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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