This release is a pre-release and may not be stable for production use.
agentlog
OpenTelemetry-native observability for multi-agent LLM systems.
Install
pip install agentlog[openai] # for OpenAI
pip install agentlog[litellm] # for LiteLLM (covers Bedrock, Anthropic, Gemini)
Quick Start
import agentlog
agentlog.init() # patches LLM clients, exports spans to collector at localhost:4317
import openai
client = openai.OpenAI()
response = client.chat.completions.create(model="gpt-4o", messages=[...])
# ^ this call is now automatically traced
Multi-Agent Tracing
@agentlog.agent(name="supervisor")
def supervisor(input):
# all LLM calls here are grouped under "supervisor"
...
@agentlog.agent(name="researcher")
def researcher(query):
# all LLM calls here are grouped under "researcher"
...
What Gets Captured
Every LLM call emits a span with:
- Full prompt (messages array)
- Full response (content + tool calls)
- Model name (requested and resolved)
- Token counts (input + output)
- Finish reason
- Timing and parent-child relationships
Infrastructure
The SDK sends spans to an OpenTelemetry Collector. Deploy the full stack (collector + ClickHouse + trace viewer UI) via the Helm chart:
helm install agentlog oci://ghcr.io/medhaj-ops/agentlog/chart
Or run locally with Docker Compose:
git clone https://github.com/Medhaj-ops/agentlog && cd agentlog
docker compose up -d
Links
License
Apache 2.0
Metadata
Release files for agentlog-ai 0.1.0a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| agentlog_ai-0.1.0a1.tar.gz | 6.0 kB | Without provenance | Details for agentlog_ai-0.1.0a1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agentlog_ai-0.1.0a1-py3-none-any.whl | Python 3 | none | any | Details for agentlog_ai-0.1.0a1-py3-none-any.whl |
Total release size: 12.4 kB
Release files / agentlog_ai-0.1.0a1.tar.gz
| Download URL | agentlog_ai-0.1.0a1.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
57889ed35f8f4743f3f55e0cacd807ca69c6c0c8b7867aa9614dd16585e18baf
|
|
BLAKE2b-256 checksum How to use checksums |
ee0e199c01d49d510fc89ba736f89c542f8679d9dc48702c7baf63077206cf85
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|
Release files / agentlog_ai-0.1.0a1-py3-none-any.whl
| Download URL | agentlog_ai-0.1.0a1-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2a99e796c8768d6f40c49d039444f653e56daca1797ab012cf9e788a9226045d
|
|
BLAKE2b-256 checksum How to use checksums |
658f23b78051c8b092f129783eb937c89656bf14fd5661d92aca38de31ea1215
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|
Security for agentlog-ai 0.1.0a1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.