soothe-client (Rust)
Talk to a running soothe-daemon over WebSocket — send prompts, stream agent turns, run jobs.
Requires a local daemon (default ws://127.0.0.1:8765).
Quick start
use ;
use TEXT_COMPLETION;
async
More patterns: examples/ (hello → streaming → multi-turn → pool → jobs).
What you get
| Need | Use |
|---|---|
| One conversation, stream replies | appkit::DaemonSession |
| Jobs / cron (async) | AsyncCommandClient |
| Jobs / cron (scripts / sync) | CommandClient |
| Raw WebSocket / custom RPCs | Client |
| Many users / HTTP backend | ConnectionPool + TurnRunner |
Develop
Compatibility
Same protocol-1 WebSocket contract as soothe-client-python,
soothe-client-go, and @mirasoth/soothe-client.
License
MIT