Agent Observability Platform

AgentLens

See why your AI agents make the decisions they make. Complete observability for multi-agent systems.

View Source

Everything you need to understand your agents

From decision trees to cost intelligence, get complete visibility into how your AI systems operate

Decision Trees

Visualize the complete reasoning behind every agent choice. See the branching logic, alternatives considered, and the path chosen.

Context Awareness

Monitor context window utilization in real-time. Track what's being fed into your agents and what's being left behind.

Cost Intelligence

Track spending per decision, per agent, per trace. Get granular insights into where every dollar goes in your AI operations.

Python SDK

Instrument your agents in minutes

Our Python SDK integrates seamlessly with LangChain, OpenAI, and custom agents. Add observability without changing your architecture.

  • Drop-in decorators for automatic tracing
  • No code changes required for LangChain
  • Async-first design with minimal overhead
  • Type-safe with full IDE support
example.py
from agentlens import init, trace

# Initialize AgentLens
init(
    api_key="your-api-key",
    endpoint="https://agentlens.vectry.tech"
)

# Trace your agent function
@trace(name="research-agent")
async def research(topic: str):
    # Your agent logic here
    return f"Researching: {topic"