Current collected state Current
Observed since 20 Oct, 22:34 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Debug AI agents visually — self-hosted, open-source observability SDK
Debug AI agents visually — Python SDK for AgentLens, the self-hosted AI agent observability platform.
pip install agentlens-observe
import agentlens
agentlens.configure(server_url="http://localhost:8000")
@agentlens.trace(name="ResearchAgent")
def run_agent(query: str) -> str:
with agentlens.span("web_search", "tool_call") as s:
result = search(query)
s.set_output(result)
s.set_cost("gpt-4o", input_tokens=500, output_tokens=200)
return summarize(result)
run_agent("Latest AI research papers")
# → Traces stream to your AgentLens dashboard
@agentlens.trace decorator + agentlens.span() context managercontextvars.ContextVar for trace propagationfrom agentlens.integrations.langchain import AgentLensCallbackHandler
agent.run("task", callbacks=[AgentLensCallbackHandler()])
from agentlens.integrations.crewai import patch_crewai
patch_crewai() # Auto-instruments all Crew runs
MIT — see LICENSE
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.6.0 | 1 Mar 2026 | 11 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Shared repository data · GitHub
Public sponsor counts have not been collected. These signals belong to the repository owner.
github · 1 observations shown. Missing days are unknown.
| Date / source period | Value | Observed at |
|---|---|---|
| 2026-10-22 | 1 | 2026-10-22T10:16:36.1661447Z |
Observed since 20 Oct, 22:34 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:512b1e3cd6812da319da790b9519c21e99677e441454c27285728d838ec1118e