Skip to main content

agent-mesh-router

Multi-agent communication, task routing, and workflow orchestration

CI PyPI version Python versions License

Part of the AumOS open-source agent infrastructure portfolio.


Features

  • Five routing strategies — CapabilityMatchRouter, CostAwareRouter, RoundRobinRouter, LeastLoadedRouter, and CompositeRouter (weighted combination) — all implementing a common RoutingStrategy ABC
  • Async MessageBroker with in-memory pub/sub, dead-letter queue support, and backpressure monitoring that throttles producers when consumers fall behind
  • Five workflow patterns: SequentialWorkflow, ParallelWorkflow, HierarchicalWorkflow, CompetitiveWorkflow (first-result wins), and ConsensusWorkflow (majority agreement)
  • Fleet registry with health checking and a load balancer that routes only to healthy agents based on current load metrics
  • Transport adapters for HTTP, gRPC, Redis pub/sub, and Kafka so the same router can operate across different message infrastructure
  • MessageEnvelope with typed priority levels, routing metadata, TTL, and checksum validation for tamper detection
  • OpenTelemetry tracing middleware that adds trace context propagation to every routed message

Quick Start

Install from PyPI:

pip install agent-mesh-router

Verify the installation:

agent-mesh-router version

Basic usage:

import agent_mesh_router

# See examples/01_quickstart.py for a working example

Documentation

Enterprise Upgrade

For production deployments requiring SLA-backed support and advanced integrations, contact the maintainers or see the commercial extensions documentation.

Contributing

Contributions are welcome. Please read CONTRIBUTING.md before opening a pull request.

License

Apache 2.0 — see LICENSE for full terms.


Part of AumOS — open-source agent infrastructure.

Metadata

Release files for agent-mesh-router 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agent-mesh-router 0.2.0
File Size Uploaded Provenance
agent_mesh_router-0.2.0.tar.gz 147.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for agent-mesh-router 0.2.0
File Interpreter ABI Platform
agent_mesh_router-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 280.6 kB

Release files / agent_mesh_router-0.2.0.tar.gz

Download URL agent_mesh_router-0.2.0.tar.gz
Size 147.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ac51897652da42407bf4bb0ccf6f572bc759d84254e95152a322c85ab0c570c2
BLAKE2b-256 checksum
How to use checksums
18840591619b7983df45b282280faa55fe31938aa5ae58250fcc086e9236f727
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release files / agent_mesh_router-0.2.0-py3-none-any.whl

Download URL agent_mesh_router-0.2.0-py3-none-any.whl
Size 133.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a596992ec8a96f7f05c376eb9c49ce393b7047e1749554073ade75b41a1583e6
BLAKE2b-256 checksum
How to use checksums
af962c550e4cb89b51854278d7af9b6be0432b72544e58b25f3c99615f87e880
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Security for agent-mesh-router 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page