Skip to main content

Role-driven multi-agent framework with strong typing and tool-based collaboration.

Project description

relay-teams

Role-driven multi-agent orchestration framework built with strong typing and tool-only collaboration flow. Runtime model execution uses pydantic_ai with OpenAI-compatible endpoints.

Evaluation Snapshot

Recent SWE-bench snapshots are archived under docs/evaluations/swebench/. Current snapshots cover only the first 100 items from SWE-bench Verified, not the full benchmark.

Using glm-5,Temperature: 0.7,Top P:0.95.

Mode Benchmark Pass Rate Passed Failed Mean Duration Input Tokens Cached Input Output Tokens Requests Tool Calls Report
Normal SWE-bench Verified 100 72.0% 72 28 369.2s 60,265,198 58,214,976 451,537 2,432 2,484 HTML
Orchestration SWE-bench Verified 100 73.0% 73 27 704.2s 103,016,077 95,659,776 1,886,195 6,026 7,171 HTML

Highlights:

  • Orchestration currently reaches 73/100 on SWE-bench Verified 100, with 96 runs finishing in completed state and 4 ending in failed.
  • Normal mode currently reaches 72/100 on SWE-bench Verified 100, with 97 runs finishing in completed state and 3 ending in failed.
  • Token usage is reported directly in the table so model IO and tool activity can be compared without deriving cost assumptions.

Web Interface

Agent Teams Web Interface

Start the server with uv run relay-teams server start and open http://127.0.0.1:8000 in your browser. Use uv run relay-teams server restart to restart the managed server, and uv run relay-teams server stop --force to force stop it. The web UI now includes a language toggle beside the settings button so you can switch between English and Simplified Chinese in-page.

Frontend assets are now decoupled under frontend/dist and served by the backend.

Quick start

1) Install dependencies

Use the setup script for your platform, install from PyPI, or install directly with uv.

Windows:

.\setup.bat

Linux/macOS:

sh setup.sh

Install from PyPI:

pip install relay-teams

Direct install:

uv sync --extra dev
uv pip install -e .

For local development, prefer uv run --extra dev ... over raw python, pytest, or ruff so commands execute inside the repository environment instead of a system interpreter.

2) help

relay-teams --help

# for evals
relay-teams-evals --help

If the relay-teams command is still missing in a fresh local checkout, the project package was not installed into the active virtual environment. Run uv pip install -e . or use uv run python -m relay_teams --help as a fallback.

Examples:

uv run --extra dev pytest -q
uv run --extra dev ruff check --fix
uv run --extra dev basedpyright

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

relay_teams-20260408.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

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

relay_teams-20260408-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

Details for the file relay_teams-20260408.tar.gz.

File metadata

  • Download URL: relay_teams-20260408.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for relay_teams-20260408.tar.gz
Algorithm Hash digest
SHA256 b1c33b251d74e045f852dec62c08c340b0f422606b89e8918616221603a5d669
MD5 197dbd901d7ad4694ed60fe778bbba42
BLAKE2b-256 6534715f05a6f5d1a23b3c845d4d2dbd705b8f2cb98debb2ee407c2df258a88c

See more details on using hashes here.

File details

Details for the file relay_teams-20260408-py3-none-any.whl.

File metadata

  • Download URL: relay_teams-20260408-py3-none-any.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for relay_teams-20260408-py3-none-any.whl
Algorithm Hash digest
SHA256 8400ca9e4dea26810b4f9ba1aee4ac61289cb989c3a2062580f5322daecd9630
MD5 fa3bb027f644ff8d4ffd32c23268bcb0
BLAKE2b-256 627aaad5b34a367a7cfd42fdd98f4118398acaee96189ae21514f07a8ad8ac74

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