Now in Public Beta

Know what your agents are doing in production

Full-stack observability for AI agents. Trace reasoning chains, catch quality drift, attribute token costs, and detect PII exposure — before your customers do.

Trusted by engineering teams building with AI
The Problem

AI agents are black boxes in production

When an agent makes a bad decision, you have no idea why. When costs spike, there is no attribution. When quality drifts, nobody notices until users leave.

Without Lantern

  • Agent reasoning is invisible — you see inputs and outputs, nothing in between
  • No way to trace why an agent chose a specific tool or ignored context
  • Token costs are a monthly surprise on the invoice
  • Quality degrades silently after model updates or prompt changes
  • PII flows through prompts and responses with zero visibility
  • Debugging production issues means reading logs and guessing

With Lantern

  • Every reasoning step is a span — LLM calls, tool use, retrieval, custom logic
  • Click through the full decision tree to see why the agent did what it did
  • Token costs attributed per agent, per workflow, per span, per day
  • Automated quality scoring with baseline regression alerts
  • PII detection scans every prompt and response in real time
  • Traces link directly to the reasoning step that caused the issue
support-triage success
production480ms$0.0066
data-pipeline success
production835ms$0.0048
code-reviewer error
staging51ms$0.0000
research-assistant success
dev418ms$0.0008
Status
Success
Duration
480ms
Tokens
1,047
Cost
$0.0066
Reasoning Chain (4 spans)
llm call Classify ticket urgency 151ms
tool call route_ticket 51ms
retrieval Similar past incidents 84ms
llm call Generate action plan 201ms
Platform Capabilities

Enterprise-grade agent observability

Everything you need to run AI agents in production with confidence.

🔍

Reasoning Chain Tracing

Every agent decision is captured as a span. LLM calls, tool invocations, memory retrievals, and custom reasoning steps — all linked in a navigable tree.

Automated Quality Scoring

Built-in scorers for relevance, toxicity, and latency. Register custom scorers for domain-specific checks. Baseline snapshots detect regressions automatically.

💰

Token Cost Attribution

Per-span cost tracking by model, agent, and workflow. See exactly where your budget goes — down to individual tool calls. No more surprise invoices.

🔒

PII Detection

Scan every prompt and response for emails, phone numbers, SSNs, credit cards, and more. Flag or auto-redact before PII reaches your logs. SOC2-ready.

🔌

Auto-Instrumentation

Wrap your Anthropic or OpenAI client with one function call. Every API call is traced automatically — zero config, zero code changes to your agent logic.

📈

Data Source Tracking

See which services, SDK versions, and exporters are sending traces. Filter by source, environment, or agent. Know exactly where your data comes from.

Integration

Three lines of code. Full visibility.

Add Lantern to your existing agent code in under a minute. No infrastructure changes required.

Install the SDK

One package. Works with Node.js 20+. TypeScript-first with full type safety.


npm install @lantern-ai/sdk

Wrap your AI client

Call wrapAnthropicClient() or wrapOpenAIClient(). All API calls are now traced automatically with full input/output capture.

View in dashboard

Traces flow to the Lantern dashboard in real time. Click through reasoning chains, inspect spans, and track quality metrics from day one.

Pricing

Start free, scale with confidence

No credit card required. Upgrade when your agents are in production.

Community
Self-hosted, open source
$0 forever
MIT License
  • Full trace capture (SDK)
  • SQLite + Postgres storage
  • Dashboard (traces, metrics, sources)
  • Latency + cost scorers
  • Custom eval scorers
  • Unlimited agents and traces
  • Community support
View on GitHub
Enterprise
For regulated, high-scale workloads
Custom
Unlimited traces
  • Everything in Team
  • SOC2 / HIPAA audit export
  • PagerDuty integration
  • SSO / SAML
  • Custom trace retention
  • Dedicated ingest endpoint
  • Dedicated support + SLA
Contact Sales
Feature Comparison

Full breakdown by tier

Choose the plan that fits your compliance, scale, and support needs.

FeatureCommunityTeamEnterprise
Trace capture SDK
Auto-instrumentation (Anthropic, OpenAI)
Dashboard (traces, metrics, sources)
Custom evaluation scorers
Self-hosted deployment
Managed cloud ingest
PII detection + redaction
Alerting (Slack, webhooks)
Team-scoped RBAC
SOC2 / HIPAA audit export
PagerDuty integration
SSO / SAML
Dedicated support + SLA

Stop guessing what your agents are doing

Deploy Lantern in under a minute. Self-host for free or start a managed cloud trial.

Start Free Trial View Source on GitHub