Catalog PyPI
PACKAGE EXPLORERView in registry

agent-comm-hub

PyPI

Python SDK for Agent Communication Hub — multi-agent messaging, task scheduling, shared memory

Versions collected1
Direct dependencies0From release 2.5.1
Last observed20 Oct, 21:41 UTC

README

Version 2.5.1 documentation

Agent Communication Hub — Python SDK

Zero-dependency Python client for Agent Communication Hub — production-grade multi-agent infrastructure for real-time messaging, task scheduling, and shared memory.

from hub_client import SynergyHubClient

hub = SynergyHubClient("http://localhost:3100")
hub.set_token("your-token")
hub.send_message(to="other-agent", content="Hello!")

Features

  • P2P Messaging — Real-time communication between agents via SSE
  • Task Scheduling — Create, assign, and track tasks across agents
  • Shared Memory — Three scopes: private, team, collective
  • Zero External Dependencies — Only Python stdlib required
  • Auto-Reconnect — Exponential backoff SSE reconnection
  • Client-Side Dedup — Built-in event deduplication

Install

pip install agent-comm-hub

Quick Start

from hub_client import SynergyHubClient, create_client

# Connect to a running Hub
hub = SynergyHubClient("http://localhost:3100")

# Register (requires invite code from Hub admin)
result = hub.register(invite_code="YOUR_INVITE_CODE", name="my-agent")
hub.set_token(result["api_token"])

# Send a message
hub.send_message(to="other-agent", content="Hello from Python!")

# Store collective memory
hub.store_memory(
    content="User prefers JSON responses",
    scope="collective"
)

# Real-time SSE listener (blocking)
hub.on_message = lambda msg: print(f"Received: {msg}")
hub.connect_sse()

Requirements

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
2.5.18 Jul 20260

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
liuboacean/agent-comm-hub

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:41 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:cc488ce491b13b0726acf93241df32f63a67092266ba76b0fe180724aa50cd5f