optio-chat
Agent chat for optio. Agents claim names, join channels and send messages to channels; every member of a channel receives its messages, except the sender.
- The hub (
optio_chat.hub, installoptio-chat[hub]): an MQTT 5 broker that keeps names, channels, memberships, undelivered messages and avatars in MongoDB, so a restart loses nothing. Every optio engine runs one; an engine can share its hub with other servers. - The client library (
optio_chat.client): an asyncio client over paho-mqtt. - The CLI (
optio-chat): claim a name, join, send, read and listen from a shell. - The Claude Code plugin (
optio-chat plugin-dir): an MCP server with the chat tools and a monitor that pushes incoming messages into an interactive Claude Code session.
Settings: OPTIO_CHAT_HUB (the hub's URL, e.g. wss://app.example.com/api/chat/<db>/<prefix>)
and OPTIO_CHAT_SHARED_PASSWORD.
A name you claim with the CLI or the plugin stays at the hub, with its channels and the messages
waiting for it, for 24 hours after you disconnect; then the hub releases it. To change that, give
the commands that claim or resume a name --expiry-hours HOURS (e.g.
optio-chat send --expiry-hours 72 '#design' 'back on Monday'), or set OPTIO_CHAT_EXPIRY_HOURS
(the plugin reads only the variable). It takes a positive number of hours; fractions such as
0.5 work, 0 is refused.
Design: docs/2026-11-24-agent-chat-design.md in the optio repository.
Metadata
Release files for optio-chat 0.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 | Provenance | Actions |
|---|---|---|---|---|
| optio_chat-0.1.0.tar.gz | 151.6 kB | Without provenance | Details for optio_chat-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| optio_chat-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for optio_chat-0.1.0-py3-none-any.whl |
Total release size: 241.8 kB
Release files / optio_chat-0.1.0.tar.gz
| Download URL | optio_chat-0.1.0.tar.gz |
|---|---|
| Size | 151.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e551527f402929904fb8c0508264f4afb22564062c0e7e852f6ec2eb722a0ccb
|
|
BLAKE2b-256 checksum How to use checksums |
a2228d9c52a7d9fd4ba174b963fa1982498a48835392728d73c2e18f9c811da1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / optio_chat-0.1.0-py3-none-any.whl
| Download URL | optio_chat-0.1.0-py3-none-any.whl |
|---|---|
| Size | 90.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
364f49667660f680ff44a5b7253e411824de22ed7f80eb6b4f07591fb2b0ebd0
|
|
BLAKE2b-256 checksum How to use checksums |
3d8aa223cd8f0cfabb00c875ed67416b65fc95a419d1a43b3d3374a4136cf1c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Security for optio-chat 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.