Zalor tracing SDK for AI agents
Project description
zalor-agents
Zalor tracing SDK for AI agents. Instruments your agent with OpenTelemetry and ships traces to the Zalor backend for automated evaluation.
Installation
pip install zalor-agents # core only
pip install zalor-agents[openai] # with OpenAI instrumentation
Quick Start
Instrument an OpenAI agent and run a full test suite
from zalor.agents import test_agent
def my_agent(user_input: str) -> str:
# your OpenAI-based agent logic here
...
test_agent(
agent_name="my-assistant",
api_key="zal-...",
run_agent=my_agent,
)
# Prints a link to view results in the Zalor dashboard
Low-level: instrument and capture a trace manually
from zalor.agents.openai import configure_openai
exporter = configure_openai(api_key="zal-...", endpoint="https://agents.zalor.ai")
my_agent("Hello")
print(exporter.trace_id)
Requirements
Python >= 3.13
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
zalor_agents-0.0.1.tar.gz
(8.8 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 zalor_agents-0.0.1.tar.gz.
File metadata
- Download URL: zalor_agents-0.0.1.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee590902d1f836f7ec2ea9f728178713d7e32d32790f162bd3ef26d6c573399a
|
|
| MD5 |
69405703ff01964be55e7b27749dffc6
|
|
| BLAKE2b-256 |
01c79676782777193fac2a06906b89eced6b37f5eb1b97b074c59a127e85bcb7
|
File details
Details for the file zalor_agents-0.0.1-py3-none-any.whl.
File metadata
- Download URL: zalor_agents-0.0.1-py3-none-any.whl
- Upload date:
- Size: 9.3 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 |
95dc24e403111903f6124d75b468d09c88e2d6d690a4b79b82226e78d090ea3e
|
|
| MD5 |
25d1ae644cd9ec93dcd602956b823c5f
|
|
| BLAKE2b-256 |
a103872382e16e641c8d254390a7c6881011bf9f2a29b9e479357415722ab96f
|