Dottle SDK — Instrument your AI agents in 3 lines of code. See every LLM call, tool, cost, and failure in real time.
Project description
Dottle Python SDK
Instrument your AI agents in 3 lines of code.
pip install dottle
import dottle
dottle.configure(api_key="dtl_live_...", api_url="http://localhost:8000/api/v1")
with dottle.session("my-agent") as sid:
with dottle.span("llm", "gpt-4o call") as s:
s.record_tokens(512, 128, "gpt-4o")
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dottle_sdk-0.1.1.tar.gz
(12.4 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 dottle_sdk-0.1.1.tar.gz.
File metadata
- Download URL: dottle_sdk-0.1.1.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
925e3fddcfc47e31657a43cd9d8af60ecfc2666d34eb59a3b7ca06e3b2dc232f
|
|
| MD5 |
fb7a0789a0c4b769eb577679354eaa50
|
|
| BLAKE2b-256 |
ce358c2a8f90f92076f64554000064c5b75b3f0e282fc1825fcff92b35ee7150
|
File details
Details for the file dottle_sdk-0.1.1-py3-none-any.whl.
File metadata
- Download URL: dottle_sdk-0.1.1-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
458d98051f75a359dc48f54f6e4ba2b0de3d387d5079f221977161a837c373fc
|
|
| MD5 |
be143bcd7ecc20efea081b1f5404e1a0
|
|
| BLAKE2b-256 |
1298e07190294119bb2e97fe5f02f820a949cd22b6326e7fa23b78b2ab1df44b
|