Skip to main content

personalclaw-client

An async Python client for the PersonalClaw Gateway.

personalclaw-client is the small, dependency-light library that apps and external tools use to talk to a running PersonalClaw gateway — send messages, read status, resolve an app's data directory — without vendoring the core package. It is a package of its own, released with the gateway and at the gateway's version: every release bumps both, whether or not the client changed, so personalclaw-client X.Y.Z is the client that shipped with gateway X.Y.Z.

Install

pip install personalclaw-client
# or
uv pip install personalclaw-client

Usage

import os

from personalclaw_client import PersonalClawClient

# The owner token: personalclaw token --bearer prints it.
async with PersonalClawClient(token=os.environ["PERSONALCLAW_TOKEN"]) as pc:
    ok = await pc.ping()
    status = await pc.get_status()
    await pc.create_session("session-1")
    await pc.send_message("session-1", "hello")

The client sends the token as Authorization: Bearer.

Errors

Client calls raise PersonalClawError (with a machine-readable ErrorCode) on gateway/transport failures — catch it to distinguish "gateway unreachable" from "bad request".

Metadata

Release files for personalclaw-client 0.4.1

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

Source distribution (sdist)

Source distribution for personalclaw-client 0.4.1
File Size Uploaded Provenance Actions
personalclaw_client-0.4.1.tar.gz 13.3 kB With provenance Details for personalclaw_client-0.4.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for personalclaw-client 0.4.1
File Interpreter ABI Platform Actions
personalclaw_client-0.4.1-py3-none-any.whl Python 3 none any Details for personalclaw_client-0.4.1-py3-none-any.whl

Total release size: 22.6 kB

Release files / personalclaw_client-0.4.1.tar.gz

Download URL personalclaw_client-0.4.1.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c781cff9ae79696fb10df1de8fb0f0ad34c42c2de7499b8a4c666139d97e47f4
BLAKE2b-256 checksum
How to use checksums
13cd70ea77c3168bfa39c971d7901b69f0083180d1f3207a93ccc1fc86e282a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 26, 2026.

Transparency log

Release files / personalclaw_client-0.4.1-py3-none-any.whl

Download URL personalclaw_client-0.4.1-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ea45f7f0cdd8292aa4592a0f4b84543230ef71a3b9d26f99557e720171e7ce1
BLAKE2b-256 checksum
How to use checksums
01e5dc529049d422b990ed479088d35c27e9c5c249e725631d7cf17487b17a26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 26, 2026.

Transparency log

Security for personalclaw-client 0.4.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for personalclaw_client-0.4.1.tar.gz

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 Nov 26, 2026.

Transparency log

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