Telemetry and Observability SDK for AI Agents
Project description
agenteval_sdk
A lightweight SDK to log agent traces to the AgentEval ingestion endpoint.
Usage
from agenteval_sdk import trace, log_trace
@trace
def my_handler(x):
return x * 2
log_trace(
trace_id="demo-123",
input_text="hello",
output_text="world",
latency_ms=120,
tokens_used=42,
status="NEW",
)
The SDK honors an environment variable AGENTEVAL_API_URL; otherwise it defaults to http://ingestion:5000/trace. You can also pass url= explicitly to log_trace.
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
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 agenteval_sdk-0.2.0-py3-none-any.whl.
File metadata
- Download URL: agenteval_sdk-0.2.0-py3-none-any.whl
- Upload date:
- Size: 13.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
933be45a8b6093ea99eac6533168d7eb88faa0662dc296185f90a0977a53eb17
|
|
| MD5 |
99508b6c041a9a8214fb5d4d8a40b346
|
|
| BLAKE2b-256 |
ef15718a2003880c6165f6d8145bdfdfbd04d0c2e2a7b8cd6fb22e402b32d098
|