Lightweight observability for AI agents — track costs, tokens, and traces
Project description
AgentPulse
Lightweight, framework-agnostic observability for AI agents. Track costs, tokens, traces, and latency across OpenAI, Anthropic, and any custom tooling.
Install
pip install agentpulse
Quick Start
from agentpulse import AgentPulse, trace, tool
ap = AgentPulse(endpoint="http://localhost:3000", api_key="ap_dev_default")
@tool
def search(query: str) -> str:
return f"Results for {query}"
@trace(name="research-agent")
def run_agent(topic: str) -> str:
return search(topic)
run_agent("quantum computing")
ap.shutdown()
Documentation
See the full documentation.
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
agentpulse_ai-0.1.0.tar.gz
(7.9 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 agentpulse_ai-0.1.0.tar.gz.
File metadata
- Download URL: agentpulse_ai-0.1.0.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1671c0b5e38925eae3b041ca181e91e3d598b94d1c08cd260026ee4f9f2af90
|
|
| MD5 |
763d7f72f40c80e34874e0e029e5fe07
|
|
| BLAKE2b-256 |
9f1ec50e91721693094b1ff1aa18509878082ea1046e366201c1e79e5c76a7da
|
File details
Details for the file agentpulse_ai-0.1.0-py3-none-any.whl.
File metadata
- Download URL: agentpulse_ai-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33a33c19eedfa3a4bc056b247dadb2781b6c02e396bd607aade662f34eaef6b9
|
|
| MD5 |
58c9296dcf8ea8993d058197950be286
|
|
| BLAKE2b-256 |
b70d266b238c398d5f555c86b36095c895ee7620de4db486c47e0231f67ac4d9
|