hummbl-bus
Append-only TSV coordination bus for multi-agent systems.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hummbl_bus-0.1.0.tar.gz.
File metadata
- Download URL: hummbl_bus-0.1.0.tar.gz
- Upload date:
- Size: 97.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
762bb7fad11d3f03e3cc12e14e0f7caff2950457b9fd410e94c7265c2dc2eb76
|
|
| MD5 |
195516d080d83a084c26f7154e3b9b15
|
|
| BLAKE2b-256 |
93a2b2a2eed580ee514d7b03594dd39639119674603798dc8576c5bbe2ba982c
|
File details
Details for the file hummbl_bus-0.1.0-py3-none-any.whl.
File metadata
- Download URL: hummbl_bus-0.1.0-py3-none-any.whl
- Upload date:
- Size: 90.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
898427e494fd206c6379549c664732474ca3e8f935e543e8f7dc52a8b2dad187
|
|
| MD5 |
94fe5dce4247bf01de353e787a680d0a
|
|
| BLAKE2b-256 |
d5c335f0a42d857211ecf20b9ad5f59c2ae136529ab0b2839b70ba865f4f921a
|