Skip to main content

Multi-agent communication, task routing, and workflow orchestration

Project description

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.

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_mesh_router-0.2.0.tar.gz (147.3 kB view details)

Uploaded Source

Built Distribution

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

agent_mesh_router-0.2.0-py3-none-any.whl (133.3 kB view details)

Uploaded Python 3

File details

Details for the file agent_mesh_router-0.2.0.tar.gz.

File metadata

  • Download URL: agent_mesh_router-0.2.0.tar.gz
  • Upload date:
  • Size: 147.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for agent_mesh_router-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ac51897652da42407bf4bb0ccf6f572bc759d84254e95152a322c85ab0c570c2
MD5 89ca1bcc1a7b8b5b1d67ce25c87df3b8
BLAKE2b-256 18840591619b7983df45b282280faa55fe31938aa5ae58250fcc086e9236f727

See more details on using hashes here.

File details

Details for the file agent_mesh_router-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for agent_mesh_router-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a596992ec8a96f7f05c376eb9c49ce393b7047e1749554073ade75b41a1583e6
MD5 05e63a9e4c08f0c4ff458193372a90dc
BLAKE2b-256 af962c550e4cb89b51854278d7af9b6be0432b72544e58b25f3c99615f87e880

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