Python client for Driver cloud — run agents, stream events.
Project description
crtrs-driver
Python client for Driver. Run agents, stream events.
pip install crtrs-driver
from crtrs.driver import Driver
driver = Driver(api_key="dr_...") # or DRIVER_API_KEY
# Stream events.
for ev in driver.stream("what is https://ycombinator.com about?"):
if ev["kind"] == "action":
print(ev["tool"])
# ...or run to completion.
done = driver.run("what is https://ycombinator.com about?")
print(done["result"])
Events: plan, plan_item_start, action, done, fatal.
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
crtrs_driver-0.1.0.tar.gz
(5.1 kB
view details)
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 crtrs_driver-0.1.0.tar.gz.
File metadata
- Download URL: crtrs_driver-0.1.0.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fccbd8f2f9c3bacdac70f17cb60453ec1e673597619a2ac78ff8dc2ef0146bf8
|
|
| MD5 |
f07d7c985cc5f3b9bb4b366aa0102b7e
|
|
| BLAKE2b-256 |
60929471955fea292a9d381db838a8f1dccd656b139782c5bacddf69154da92d
|
File details
Details for the file crtrs_driver-0.1.0-py3-none-any.whl.
File metadata
- Download URL: crtrs_driver-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f9f0376e1e7cc1b3438eb5f20988957730c2e6010164ad7c28cca1eca351170
|
|
| MD5 |
c6621c33465cd60931e306cf8142575f
|
|
| BLAKE2b-256 |
2020bd0a020bf83d67fed6518121e4c23cb2b73a6cac7ec7d7bac4dabd3962a0
|