Skip to main content

Octomate CLI

Connect native coding agent sessions to an Octomate server. This package provides hook installation, MCP configuration, and transcript streaming for Claude Code, Codex, and DeepSeek Harness.

pip install octomate-cli
octomate configure --url https://your-server.example --token '<api-token>'
octomate claude hooks install
octomate --version

Python 3.12 or newer is required. Installing the CLI also installs octomate-protocol; it does not install the server or its dependencies. Package versions are independent. A compatible server update does not require updating the CLI; stream connections check the shared wire protocol version.

All commands remain available in help. The foreground runner, octomate service serve, requires the separately installed octomate server package. Update this package with the same installer used to install it, such as pip install --upgrade octomate-cli.

See the project README.

Client authentication

Create an invitation on the server, then register using that code:

octomate service invite
octomate service user create --username alice --password 'YourPassword1!' --invitationcode '<code>'

These commands require the server package and use its configured database. octomate service invite --url <server> prints a registration link instead of the code. Sign-in happens in the Trunkline UI.

Issue an API token through the authenticated account API, then run octomate configure --token <api-token>. The config key is token and the environment override is OCTOMATE_CLI_TOKEN. Old secret values and OCTOMATE_CLI_SECRET are no longer used. Install hooks and MCP after configuring the token, and reinstall MCP entries when it changes.

Workspace development

./.octomate/cli.toml overrides ~/.config/octomate/cli.toml per key. Set both url and token for a debugger server; environment overrides still take precedence.

When a workspace TOML exists, its location gives transcript tails their own runtime scope, even if its settings match the user config. Locks and Codex child-path spools are separate per config location, agent and session. Replacing the TOML contents does not change those paths, restart existing tails, or redirect their connections.

Switch TOML before starting a fresh development conversation. Later hooks read the current config, while an already-running tail keeps its startup URL and token, including on reconnect. This is not whole-session pinning: switching during an existing conversation can split its hooks and transcript stream across servers. Runtime scoping also does not isolate server data for the same native session.

Metadata

Release files for octomate-cli 0.0.4

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

Source distribution (sdist)

Source distribution for octomate-cli 0.0.4
File Size Uploaded
octomate_cli-0.0.4.tar.gz 78.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for octomate-cli 0.0.4
File Interpreter ABI Platform
octomate_cli-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 177.0 kB

Release files / octomate_cli-0.0.4.tar.gz

Download URL octomate_cli-0.0.4.tar.gz
Size 78.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3f5ca7a9488ffa6949808df883b4a272607231db61127570d4f36b5d6e8c93bc
BLAKE2b-256 checksum
How to use checksums
511bbdbe8d74edc4a10beb2f9b76acabd88ac95d4b8b50635bfd9459c839f9a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / octomate_cli-0.0.4-py3-none-any.whl

Download URL octomate_cli-0.0.4-py3-none-any.whl
Size 98.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
177a6f8ee5d203683286b3e51900b288f2baab528d66000a2c06057ab8bd1fa5
BLAKE2b-256 checksum
How to use checksums
9ca718c9f722ccafd66a13251f377ecf1ca63dc93c52e2c3aa7400e33d11942a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.2

2 release files

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