AgentLens
See why your AI agents make the decisions they make.
Complete observability for multi-agent systems.
pip install vectry-agentlensEverything 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.
Up and running in 3 steps
Go from zero to full agent observability in under five minutes
Install
One command to add AgentLens to your project.
pip install vectry-agentlensInstrument
Add the @trace decorator or use wrap_openai().
@trace / wrap_openai()Observe
See every decision in the real-time dashboard.
agentlens.vectry.techInstrument 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
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}"from agentlens.integrations.openai import wrap_openai
import openai
# Wrap the OpenAI client
client = openai.OpenAI()
client = wrap_openai(client)
# Use as normal - traces automatically
response = client.chat.completions.create(
model="gpt-4",
messages=[{"role": "user", "content": "Hello!"}]
)Works with your stack
First-class support for the most popular AI frameworks. Drop in and start tracing.
OpenAI
GPT-4, GPT-3.5, o1
wrap_openai()LangChain
Chains, Agents, Tools
Auto-instrumentedCustom Agents
Any Python agent
@trace decoratorSimple, transparent pricing
No hidden fees. Start free, scale as you grow. Every plan includes the full dashboard experience.
Free
For experimentation
- 20 sessions per day
- Full dashboard access
- 1 API key
- Community support
Starter
For small teams
- 1,000 sessions per month
- Full dashboard access
- Unlimited API keys
- Email support
Pro
For scaling teams
- 100,000 sessions per month
- Full dashboard access
- Unlimited API keys
- Priority support