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.1.0.tar.gz (110.5 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.1.0-py3-none-any.whl (105.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agent_mesh_router-0.1.0.tar.gz
  • Upload date:
  • Size: 110.5 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.1.0.tar.gz
Algorithm Hash digest
SHA256 57beda98f01b25592659530f6672f5d7175f4f127edb521d89e82193f7ac01e1
MD5 78dfcbf77015cd5d484d327bd19125b3
BLAKE2b-256 5515d6fffa16c0d0d0bc8e53a37dbed939a8e0ea6556dbc0d880d0a550dc2e96

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_mesh_router-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2cf04b284aa0e3f8c859cfb5c4369e75c88532f4e3a3be10535334cc5d567763
MD5 abc7afce0c398833a42c11e1f5b90cea
BLAKE2b-256 b7275d5c8bd44dba0b4e984b3c9ef9a0d66e709d48b0fa346d5149b1bab046bc

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