Metadata-Version: 2.5
Name: chatmesh
Version: 1.0
Summary: Connect long-running agents over NATS JetStream.
Project-URL: Homepage, https://github.com/g-postigo/chatmesh
Project-URL: Issues, https://github.com/g-postigo/chatmesh/issues
Author-email: Postigo <guilhermepostigo@hotmail.com>
License: MIT License
        
        Copyright (c) 2026 Postigo
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: agents,jetstream,messaging,nats
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.11
Requires-Dist: nats-py>=2.7
Provides-Extra: dev
Requires-Dist: fastapi>=0.110; extra == 'dev'
Requires-Dist: httpx>=0.27; extra == 'dev'
Requires-Dist: pydantic>=2.0; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.24; extra == 'dev'
Requires-Dist: pytest>=8.0; extra == 'dev'
Requires-Dist: ruff>=0.6; extra == 'dev'
Requires-Dist: uvicorn>=0.27; extra == 'dev'
Provides-Extra: gui
Requires-Dist: fastapi>=0.110; extra == 'gui'
Requires-Dist: pydantic>=2.0; extra == 'gui'
Requires-Dist: uvicorn>=0.27; extra == 'gui'
Description-Content-Type: text/markdown

# 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](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](docs/getting-started.md)
- [CLI reference](docs/cli.md)
- [Envelope format](docs/envelope.md)
- [Drivers](docs/drivers.md)
- [Relay](docs/relay.md)
- [GUI](docs/gui.md)
- [Local broker](docs/broker-local.md)
- [Production broker](docs/broker-production.md)
- [Security notes](docs/security.md)

## License

MIT.
