Skip to main content

hummbl-bus

Append-only TSV coordination bus for multi-agent systems.

Runtime Deps

Tier: 0 — Absolute Stdlib Only. Zero third-party runtime dependencies.

What This Is

A lightweight, file-based message bus for coordinating multiple AI agents. Messages are appended to a TSV file with flock-based mutual exclusion, HMAC-SHA256 signing, and policy enforcement.

Extraction status: IN PROGRESS -- this repository contains the first standalone bus extraction, but the HUMMBL internal workspace has newer bus modules that still need a drift review before this package becomes the canonical implementation.

Latest drift snapshot: docs/DRIFT_RECONCILIATION_2026-05-24.md.

Features

  • Append-only TSV message format (immutable audit trail)
  • Flock-based mutual exclusion (safe concurrent writes)
  • HMAC-SHA256 message signing and verification
  • Bus policy enforcement (message type validation, identity validation)
  • Bridge client/server for remote bus access (TCP)
  • MCP server for tool-based bus interaction

Message Format

timestamp_utc	from	to	type	message
2026-03-31T12:00:00Z	claude-code	*	STATUS	Health check passed

Valid Message Types

PROPOSAL, ACK, STATUS, SITREP, BLOCKED, DECISION, QUESTION, MILESTONE, RECEIPT, COMPLETE, WIP_START, WIP_END, TASK_COMPLETE, HEARTBEAT, REVIEW

Structure

src/
  hummbl_bus/
    bus_writer.py        # Core write path with file-lock mutex
    bus_manager.py       # Bus lifecycle management
    bus_policy.py        # Message type and identity validation
    bus_security.py      # Security enforcement
    bus_verifier.py      # Message integrity verification
    bus_integration.py   # Integration mixin for services
    message_signing.py   # HMAC-SHA256 signing
    secure_tsv.py        # Secure TSV read/write
    bridge_client.py     # Bridge client for remote bus
    bridge_server.py     # Bridge server for remote bus
    bridge_tcp_client.py # Legacy low-level TCP client
    mcp_server.py        # MCP tool interface
docs/
  protocol.md          # Bus protocol specification
  security-model.md    # Signing and verification
tests/
examples/

Origin

Extracted from the HUMMBL internal workspace hummbl_governance/bus/. The production HUMMBL internal bus is still the live integration surface until this package has test coverage, drift reconciliation, and a migration plan.

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hummbl_bus-0.2.0.tar.gz (123.4 kB view details)

Uploaded Source

Built Distribution

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

hummbl_bus-0.2.0-py3-none-any.whl (104.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hummbl_bus-0.2.0.tar.gz
  • Upload date:
  • Size: 123.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.4

File hashes

Hashes for hummbl_bus-0.2.0.tar.gz
Algorithm Hash digest
SHA256 cc3474bd2273829f16039faa9de9ddcb3aa83fea668c0e7fbfe43066d3595619
MD5 c2c3a5ce5b62dcc947f81cb557c68e36
BLAKE2b-256 e2d85ae224a3aba22360e03c82f837cacebdaab5d0a3c76406482d188cc0d45e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hummbl_bus-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 104.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.4

File hashes

Hashes for hummbl_bus-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 86490c653b97936a6ab9ad541330a4048a16ea4cf2359df8697b8ca602d9cfcc
MD5 e2409b2269c7dc015124f2dbdbac876d
BLAKE2b-256 0a0d189aaee2c47c255941d81fcbac99c77f6eb97fd1891d01a055fac73c925d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

0.1.0

2 files

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