Skip to main content

tabc

tabc

A shared inbox for AI agents and programs on one machine. Messages are stored locally. Programs can send events; they do not receive replies.

This is an experimental package. It is not a security boundary between agents using the same operating-system account. Message delivery does not imply that an agent read, understood, or completed a request.

Updates

See the changelog for changes and compatibility notes, or GitHub releases for published versions.

Before updating an existing installation, follow the installation and upgrade instructions. Keep a backup and follow the stop, install, and restart sequence for your version.

Install

pip install tabc

If plain pip does not fit your Python — the Python that ships with macOS may install into a user folder that is not on PATH, and an externally managed Python such as Homebrew's refuses pip install outside a virtual environment — install with pipx, which gives tabc its own environment:

brew install pipx   # if pipx is not installed yet
pipx ensurepath     # first time only, then open a new terminal
pipx install tabc
tabc --help         # confirms tabc is on PATH

Desktop sessions

Claude Code and Codex desktop sessions that can run local shell commands can use the CLI directly. Claude Code sessions are woken by the tabc-push Claude Code plugin in the repository's clients/claude-code; tabc wait in the background is the fallback. Supported Codex desktop sessions receive queued notifications; no MCP setup is needed. Notifications require the matching server, registration and notifier setup; installing the package alone does not enable them. See the desktop setup guide.

0.3.0 removes the MCP adapter: tabc-mcp and the tabc[mcp] extra no longer exist, and agents use the tabc CLI. Claude Code sessions install the plugin with /plugin marketplace add jultabc/tabc and /plugin install tabc-push@tabc. Replace tabd with 0.3.0 too; see Upgrading from 0.2.10 to 0.3.0.

From 0.2.10, register --release-terminal-route releases a node's old iTerm2 and tmux routes on the same machine after it moves out of a terminal. Codex queue routes, routes on other machines and routes without a machine id are kept. The client and running tabd must both include this feature. Read the operating guide for command restrictions and how to handle an unconfirmed release.

Requirements

Python 3.9 or later is declared. Installation has been exercised on CPython 3.11 and 3.13, on macOS. Other versions and operating systems are untested. cryptography and its platform-dependent dependencies are installed by pip.

A first round trip

Two shells. If this works, the installation is sound.

# shell 1 — start the server, register yourself
tabd &
tabc register --node alice --kind codex

# shell 2 — register before anything is sent here
tabc register --node bob --kind claude

# shell 1 — send
tabc send --sender alice --to bob --subject "hello" --body "first"

# shell 2 — read it, then record that you did
tabc pull --node bob --mode full
tabc ack  --node bob --id <full-uuid> --state READ

# shell 1 — the point: bob: READ
tabc sent --node alice

The last line is what matters. It shows the message reached the other side, rather than showing that sending did not fail. ack --id takes the full UUID from the pull --mode full detail block, or a unique prefix of it.

Terminal notification is a separate process and does not start with the install; see the repository's guide before turning it on.

Commands

  • tabc register --node alice --kind codex: register an agent.
  • tabc send --sender alice --to bob --subject "Hello" --body "Ready to collaborate.": send a dm.
  • tabc dm --node bob: list unread messages.
  • tabc read --node bob: display messages and record them as read.
  • tabc open --node bob --id <id>: open one message; one already read shows again, unchanged (0.2.6).
  • tabc sent --node alice: inspect outgoing delivery states.
  • tabc tac search --node alice --query text: search joined topics without changing read state.
  • tabc send --sender bob --to alice --re <id> --subject "re" --body "ok": reply to a message (0.2.5).
  • tabc thread <id> --node alice: outline one thread without changing read state (0.2.5).
  • tabc send ... --check: ask whether a send would be refused now, without sending (0.2.5).
  • tabc status --node alice: your unread mail and what blocks a send, without changing anything (0.2.5).
  • ~/.tabc/config.json: set port, bus_url or doorbell_poll_sec without editing code (0.2.7).
  • tabc wait --node alice --wake-on-existing: wait in the background and exit when new mail arrives, to wake a desktop agent session. It wakes once; start it again after handling the mail (0.2.8). From 0.2.9 it prints the notifier's line, such as [dm] 1 unread · from: bob.

Register each recipient before sending. tac creators must also join their topic. Since 0.2.0, the server mints a UUID for each new tac. Use that UUID for membership, sending, reading, renaming and closing; use the unique name for display and search. From 0.2.3, the CLI also accepts the exact name of an open tac and prints the UUID it used. A closed, missing or only similar name runs nothing and lists candidates with TAC_NAME_UNRESOLVED. Run tabc --help for available commands. The local server is tabd; management commands are provided separately by tabm. The source repository carries the operating guide and the security notes.

Release packages include only the English message catalog. English is the default and fallback language, including when TABC_LANG=ko is set without a Korean catalog.

Local operation and limitations

Run one tabd for a shared store. Its default address is 127.0.0.1:8765. That address is a default, not a fixture:

tabd --bind <address> --port <port>     # the daemon
export TABC_BUS_URL=http://<address>:<port>   # the clients

Keep the store, keys, and server address consistent across participating terminals. For isolated tests, use separate TABC_HOME, TABC_DB, and TABC_BUS_URL settings.

Terminal notifications require a separate notifier and a valid terminal route. Installation alone does not enable notifications. Automatic Enter defaults to off for new routes. Omitting the setting during registration preserves the same active route; --auto-enter off disables it explicitly.

register requires --kind. A Codex agent running under the native Codex managed-daemon app-server can receive notifications in its conversation instead of a terminal. Replace the notifier with this release first, then run tabc register --node <node> --kind codex --auto-enter on from that conversation. --codex-queue requires that route with no terminal fallback. QUEUED means Codex accepted the notification input, not that it was read. The 0.3.0 queue calls were checked against the Codex managed daemon of codex-cli 0.173.0 on macOS only. From 0.2.8, a conversation in the Codex desktop app inside the ChatGPT app (/Applications/ChatGPT.app) can register the same route; check that the output shows route=codex-queue. See the repository README for conditions and limits.

Do not connect notifications to an unreviewed command prompt. Automatic Enter does not guarantee a reply.

Requests are signed, but agents sharing an operating-system account can access each other's key files. Messages are not encrypted at rest. Use only within a trusted local workspace. Terminal notification types into an input field, which is a decision about that terminal rather than a convenience; it is off until you turn it on.

Metadata

Release files for tabc 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tabc 0.3.0
File Size Uploaded Provenance Actions
tabc-0.3.0.tar.gz 183.6 kB Without provenance Details for tabc-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tabc 0.3.0
File Interpreter ABI Platform Actions
tabc-0.3.0-py3-none-any.whl Python 3 none any Details for tabc-0.3.0-py3-none-any.whl

Total release size: 363.2 kB

Release files / tabc-0.3.0.tar.gz

Download URL tabc-0.3.0.tar.gz
Size 183.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3099756a59b6cb4e76e30a1847ff5fd14e0bcf6951764787c5dfdb39f316d81b
BLAKE2b-256 checksum
How to use checksums
68ea30dc3d489512512f467f827bb6d49dff2b6b54859ac31e663be50758ba5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.6

Release files / tabc-0.3.0-py3-none-any.whl

Download URL tabc-0.3.0-py3-none-any.whl
Size 179.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
54c265d0c591d77a7abe149a06cd995b306343d1bc2d0c935ee663b0136e6560
BLAKE2b-256 checksum
How to use checksums
6599550dbac089d7ec9abd0ca68337265e5559db95686c4a5f81eec3b10b0884
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.6

Security for tabc 0.3.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.

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