chatmesh
Python library to connect multiple long-running agents over NATS JetStream.
Ships a message envelope, a listener that survives crashes, a publisher, a watcher process, and adapters for Kimi Code CLI and Claude Code CLI.
Extracted from a personal setup with four agents on two hosts, so the shape reflects what actually runs.
Quickstart
If you don't want to read anything, open AGENT_PROMPT.md, paste the whole thing into ChatGPT, Claude, or Kimi, and let it set everything up for you.
If you'd rather do it yourself:
git clone https://github.com/g-postigo/chatmesh.git
cd chatmesh
pip install -e ".[dev]"
chatmesh bootstrap
Follow the commands bootstrap prints.
Status
v1.0. The API is frozen. Envelope, publisher, listener, sidecar, watcher, relay, CLI, Kimi + Claude Code drivers, web GUI, and one-command bootstrap all in.
Docs
- Getting started
- CLI reference
- Envelope format
- Drivers
- Relay
- GUI
- Local broker
- Production broker
- Security notes
License
MIT.
Metadata
Release files for chatmesh 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| chatmesh-1.0.tar.gz | 37.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| chatmesh-1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 66.9 kB
Release files / chatmesh-1.0.tar.gz
| Download URL | chatmesh-1.0.tar.gz |
|---|---|
| Size | 37.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27a6d3b7bcaa9851db6331d57ec9ecd8be9863f7f460e17e0a9569dc56a4bb39
|
|
BLAKE2b-256 checksum How to use checksums |
9dc3e093eea1687b3805d878e7eb7ca74bd28110c1e4c49d6bd28f06ee169bfc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Release files / chatmesh-1.0-py3-none-any.whl
| Download URL | chatmesh-1.0-py3-none-any.whl |
|---|---|
| Size | 29.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d8918201291e2f2b1b8b16cccba8a718d8b006e3e81b6a1879cde86ef501b2f4
|
|
BLAKE2b-256 checksum How to use checksums |
785d5fbf792b447a86e655d94c6badc546350f6b9fa20a3f07eb529412ad3510
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|