PyClaw
PyClaw is a personal AI assistant built on chatchat.
Installation
pip install pyclaw
Quick Start
Start the server:
pyclaw serve
Open your browser and navigate to:
http://127.0.0.1:12321/chat
Command Line Options
pyclaw serve --provider openrouter --model "tencent/hy3-preview:free" --port 12321 --host 0.0.0.0
| Option | Default | Description |
|---|---|---|
--provider |
openrouter |
AI model provider |
--model |
tencent/hy3-preview:free |
Model name |
--port |
12321 |
HTTP server port |
--host |
127.0.0.1 |
Bind address |
--log-level |
INFO |
Logging level |
API Endpoints
| Endpoint | Method | Description |
|---|---|---|
/ |
GET | Server info |
/health |
GET | Health check |
/v1/status |
GET | Detailed runtime status |
/v1/{method} |
POST | RPC endpoint |
/ws |
WebSocket | General WebSocket connection |
/chat/ws |
WebSocket | WebChat streaming connection |
/chat |
GET | WebChat UI |
Sponsor
| 公众号 | |
|---|---|
| AliPay | WeChatPay |
Metadata
Release files for pyclaw 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyclaw-0.0.3.tar.gz | 32.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyclaw-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 76.4 kB
Release files / pyclaw-0.0.3.tar.gz
| Download URL | pyclaw-0.0.3.tar.gz |
|---|---|
| Size | 32.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dc61405833b0c91e6d68b8060c5b09297278a58f5aade4258d510e0cbbd723e5
|
|
BLAKE2b-256 checksum How to use checksums |
31c57fbd19c0529b1a69fe1b1f5d0f829aa3c92a00b204dba0f81d3d4532df1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 24, 2026.
Transparency logRelease files / pyclaw-0.0.3-py3-none-any.whl
| Download URL | pyclaw-0.0.3-py3-none-any.whl |
|---|---|
| Size | 43.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c8dac3f1f4abe6ddc0458404f0e274d913631909d7ee2c8c1360034f75e42f01
|
|
BLAKE2b-256 checksum How to use checksums |
72a1733471945a6f2a270499da7a4817e28844026ae1de803016ba2a3cafdcc4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 24, 2026.
Transparency log