Skip to main content

toolhive

cmdop — messenger for AI agents

Installer for the cmdop CLI — put an agent on a machine, then reach that machine from anywhere.

pip install toolhive
toolhive

That's it. toolhive detects your platform, downloads the cmdop binary, verifies it against the published checksums, installs it, and hands over.

Not affiliated with the ToolHive project. If you are looking for github.com/stacklok/toolhive, that is a different project — this package will not install it. This package is published by CMDOP and installs the cmdop CLI.

The hard part of running an agent somewhere is rarely starting it. It is getting back to it afterwards: the box is behind NAT, the tunnel expired, and the thing you actually wanted was a five-second question.

cmdop installs one binary that runs the agent and keeps the machine addressable. This package puts that binary on one machine; repeat it wherever you want reach.

How does CMDOP compare? CMDOP Skills vs OpenClaw: two approaches to AI agent skills →

Reachable is a property of the machine, not of the session

A shell session is something you open and lose. A machine in a fleet stays addressable between conversations, so asking it something tomorrow costs nothing you have to set up again.

Nothing is copied to a central place to make that work. Each machine keeps its own files, tools and credentials; the fleet is how you address them.

What is cmdop

One executable that is the agent, the relay, the local server and the web console at once. There is no gateway, backend, database server or broker to stand up — you add one binary to a machine you already own.

  • run an AI agent on your own machine, with your own tools
  • reach it from anywhere: terminal, files, remote execution
  • connect machines into a fleet
  • works with Claude Code and other agent engines under the hood

Full documentation: docs.cmdop.com

Usage

toolhive                    # install cmdop (if needed), then run it
toolhive --install-only     # install, don't hand over
toolhive --prefix ~/bin     # choose the install directory
toolhive --force            # reinstall even if already present
toolhive --quiet            # print only the installed path
toolhive -- --help          # everything after `--` goes to cmdop

Default install directory is ~/.local/bin (%LOCALAPPDATA%\cmdop\bin on Windows). No sudo, no system directories.

What it does, precisely

  1. Detects your OS and architecture.
  2. Fetches SHA256SUMS from install.cmdop.com.
  3. Downloads the matching binary to a temporary file.
  4. Verifies the SHA-256 against the published checksum. On mismatch it aborts and installs nothing.
  5. Moves the verified binary into the install directory and marks it executable.
  6. Runs it.

Supported: macOS (Apple Silicon, Intel), Linux (x64, arm64), Windows (x64).

What it does not do

  • No side effects at install time. pip install toolhive only unpacks files. Nothing is downloaded or executed until you run toolhive.
  • No network access on import. import toolhive touches nothing.
  • No telemetry. The package sends no analytics, ever.
  • No dependencies. Standard library only, so there is nothing to conflict with what you already have installed.

Python API

The installer is importable if you would rather script it:

import toolhive

target = toolhive.detect()
print(target.label, target.asset)

result = toolhive.install()
print(result.path, result.sha256)

toolhive.install() raises toolhive.InstallError with a user-facing message on any failure, and toolhive.UnsupportedPlatform when there is no published binary for the current machine.

Links

License

MIT

Metadata

Release files for toolhive 1.0.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 toolhive 1.0.0
File Size Uploaded
toolhive-1.0.0.tar.gz 9.3 kB Details

Built distribution (wheel)

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

Total release size: 19.6 kB

Release files / toolhive-1.0.0.tar.gz

Download URL toolhive-1.0.0.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f7f364d82f8439e576cbff05cd5844bcd4e940a772412d15038991aa9f77ba8f
BLAKE2b-256 checksum
How to use checksums
11aa24101a7844698a3c71d21353cbe324c6ef204c235b66cc62277d30dd2851
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.2

Release files / toolhive-1.0.0-py3-none-any.whl

Download URL toolhive-1.0.0-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eb06f309019d4cfd73a7e812fc5b47eb1d1528197d16faadfddbd67d2f4a2cf8
BLAKE2b-256 checksum
How to use checksums
9a2d94f31cf20e46f7e206c5e192ce91faf4b3439ad32b6aa3fdc5760a56f7b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

1.0.0 This release

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