Official Python SDK for the ClawBud Agent API — drive your ClawBud agent from your own app.
Project description
clawbud
Official Python SDK for the ClawBud Agent API. Drive your ClawBud agent from your own app with a couple of lines of code.
Requires Python 3.8+.
Install
pip install clawbud
Quickstart
from clawbud import ClawBud
client = ClawBud(api_key="clawbud_live_...")
print(client.send("hi")["reply"])
send() returns a dict with reply, runId, and usage.
Streaming
from clawbud import ClawBud
client = ClawBud(api_key="clawbud_live_...")
for t in client.stream("write me a haiku"):
print(t, end="")
stream() is a generator that yields incremental text chunks as the agent responds.
Sessions
Pass a session to keep a conversation in the same thread:
client.send("remember my name is Ada", session="sess_123")
client.send("what is my name?", session="sess_123")
Where do I get a key?
Sign in at clawbud.ai, then go to Settings → Agent API to create a key. Keys look like clawbud_live_… and are shown once.
Docs
Full API reference: clawbud.ai/developers
Development
python3 -m venv .venv
.venv/bin/pip install -e . -r requirements-dev.txt
.venv/bin/pytest
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file clawbud-0.1.0.tar.gz.
File metadata
- Download URL: clawbud-0.1.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fbf5387de6b4a1313d3edcb3d7f45e98af010c26c80a8cdbba8e83ff85078da0
|
|
| MD5 |
2a7c08b34178a6e232c17bfc48ee61fd
|
|
| BLAKE2b-256 |
1d470043144746ffacad8f0371175d7ef0fe5947f162815278bf9b1c9b237ffc
|
File details
Details for the file clawbud-0.1.0-py3-none-any.whl.
File metadata
- Download URL: clawbud-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c831f28b7988ba25d51039c7186df0bd04abcf4f8d35d19ac9d4a73e60b730d
|
|
| MD5 |
64e49d0cb7c680318130230f3458c504
|
|
| BLAKE2b-256 |
af9efc902cf89c47a46f7cf47c7192333dedcc752a50d4db04750fee6f21dcea
|