soothe-client-python
Talk to a running soothe-daemon over WebSocket — send prompts, stream agent turns, run jobs.
pip install soothe-client-python
Requires a local daemon (default ws://127.0.0.1:8765).
Quick start
import asyncio
from soothe_client.appkit import DaemonSession
async def main() -> None:
session = DaemonSession("ws://127.0.0.1:8765")
await session.connect()
await session.send_turn("Summarize this in one sentence: agents need tools.")
async for _namespace, mode, data in session.iter_turn_chunks():
if mode == "custom" and isinstance(data, dict):
text = data.get("content") or data.get("text")
if text:
print(text, end="", flush=True)
print()
await session.close()
asyncio.run(main())
More patterns: examples/ (hello → streaming → multi-turn → pool → jobs).
What you get
| Need | Use |
|---|---|
| One conversation, stream replies | DaemonSession (soothe_client.appkit) |
| Jobs / cron (async) | AsyncCommandClient |
| Jobs / cron (scripts / sync) | CommandClient |
| Raw WebSocket / custom RPCs | WebSocketClient |
| Many users / HTTP backend | ConnectionPool + TurnRunner |
Wire request param models: soothe_client.protocol_params.
Develop
make sync-dev
make check # lint + unit tests
make test-examples-offline # offline appkit examples
make test-examples # live 01–06 (needs soothed)
make test-integration # live integration suite (needs soothed)
Metadata
Release files for soothe-client-python 1.0.24
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| soothe_client_python-1.0.24.tar.gz | 65.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| soothe_client_python-1.0.24-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 141.7 kB
Release files / soothe_client_python-1.0.24.tar.gz
| Download URL | soothe_client_python-1.0.24.tar.gz |
|---|---|
| Size | 65.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3c53c2aa5ae0ee4b714990bda24bb4d4c7638cc2c2d2b04392a24c40cfc99b3b
|
|
BLAKE2b-256 checksum How to use checksums |
d0d80f37fad6f8aacd3e59e719b1050d144e56081e8ab9728d7f5f532e3cbdc8
|
| 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 Sep 26, 2026.
Transparency logRelease files / soothe_client_python-1.0.24-py3-none-any.whl
| Download URL | soothe_client_python-1.0.24-py3-none-any.whl |
|---|---|
| Size | 76.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ec4a06947bcea742708c361e7f59b9e9ae69216056a133528a3c1570b7f02d6d
|
|
BLAKE2b-256 checksum How to use checksums |
3e948bae21986e621a69f339b96ccdac4889e3c5bbd8b83bbd4135ea2c72ed83
|
| 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 Sep 26, 2026.
Transparency log