paddockai
The Python server SDK for paddock: templates, agents, sessions, events, and streams.
from paddockai import Paddock
client = Paddock() # PADDOCK_API_KEY, PADDOCK_BASE_URL
client.templates.get("code-maintainer") # created by paddock templates create DIR
agent = client.agents.create(template="code-maintainer@3", metadata={"teamId": "t_42"})
session = agent.sessions.create(cwd="repos/web")
session.send("CI failed on main; fix it.")
token = session.create_token(ttl=3600) # for the browser
with session.stream(after=0) as events:
for event in events:
if event.event == "message" and event.data.message.kind == "tool_call":
print(event.data.message.tool_call.tool)
AsyncPaddock has the same methods as coroutines; its lists and streams are async iterators
(async with session.stream() as events: async for event in events: ...).
Idempotent requests are retried with capped backoff (max_retries, default 2); a POST is
never retried. The stream reconnects on its own and resumes after the highest seq it
yielded. A non-2xx response raises paddockai.PaddockError with status, code, message,
details, and request_id; no response raises paddockai.ConnectionError (or its subclass
paddockai.TimeoutError).
License
Apache License 2.0; see LICENSE.
Metadata
Release files for paddockai 0.0.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| paddockai-0.0.11.tar.gz | 47.4 kB | Without provenance | Details for paddockai-0.0.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| paddockai-0.0.11-py3-none-any.whl | Python 3 | none | any | Details for paddockai-0.0.11-py3-none-any.whl |
Total release size: 107.7 kB
Release files / paddockai-0.0.11.tar.gz
| Download URL | paddockai-0.0.11.tar.gz |
|---|---|
| Size | 47.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
777cd0d01a78b5cdfceab2501c5742bd4f50b32b76ae5d742c6882c07d510031
|
|
BLAKE2b-256 checksum How to use checksums |
c5e7b834ecb25629c518d1005e224eb48f88597108628238bd15f777cb4fcd9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / paddockai-0.0.11-py3-none-any.whl
| Download URL | paddockai-0.0.11-py3-none-any.whl |
|---|---|
| Size | 60.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
65e29970865d0bf39f92c94029d88889786f847a0ba19a614a96352786232d0f
|
|
BLAKE2b-256 checksum How to use checksums |
0ab31f5367114b384848f856854b76ca964cc612e8f3c262153f7c2ac04b7c63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for paddockai 0.0.11
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.