farzanhossans-agentlens
Python SDK for AgentLens — AI agent observability.
Distribution name: farzanhossans-agentlens (PyPI). Import path: agentlens.
Installation
pip install farzanhossans-agentlens
Quick start — one line auto-traces every LLM call
from agentlens import AgentLens
AgentLens.init(api_key="proj_xxx.hmac", project_id="<your-project-uuid>")
# That's it — every httpx / requests call to OpenAI, Anthropic, Gemini,
# Cohere, or Mistral is now traced automatically. No decorators needed.
Grouping calls with trace()
with AgentLens.trace("classify-intent") as span:
result = call_llm(prompt)
span.set_output(result)
Optional extras
pip install farzanhossans-agentlens[requests] # requests support (httpx is built-in)
pip install farzanhossans-agentlens[openai] # SDK-level OpenAI patcher
pip install farzanhossans-agentlens[anthropic] # SDK-level Anthropic patcher
pip install farzanhossans-agentlens[all] # everything
Documentation
Full documentation at docs.agentlens.dev.
Metadata
Release files for farzanhossans-agentlens 0.2.1
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 |
|---|---|---|---|---|
| farzanhossans_agentlens-0.2.1.tar.gz | 21.6 kB | Without provenance | Details for farzanhossans_agentlens-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| farzanhossans_agentlens-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for farzanhossans_agentlens-0.2.1-py3-none-any.whl |
Total release size: 53.9 kB
Release files / farzanhossans_agentlens-0.2.1.tar.gz
| Download URL | farzanhossans_agentlens-0.2.1.tar.gz |
|---|---|
| Size | 21.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba4e83c20fa5dd9c932ddfa591f9da952077c4ea4af5ce6bb282768f4cc4de2b
|
|
BLAKE2b-256 checksum How to use checksums |
2f8a19580b29d27c9dee7e8cc0209c9133fa7b63e7ea7f8c96a32887274515b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / farzanhossans_agentlens-0.2.1-py3-none-any.whl
| Download URL | farzanhossans_agentlens-0.2.1-py3-none-any.whl |
|---|---|
| Size | 32.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4752af52dcb67eaf95c33b3830a4ab7e32c85262f5e6303cae26e6ad4f3a4cb7
|
|
BLAKE2b-256 checksum How to use checksums |
98f11ab6eb758cb315037c8e0013e13b8cf6094b15c499fa0c34fd427f3fcf20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Security for farzanhossans-agentlens 0.2.1
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.