Universal record-and-replay for LLM agents

Record every call. Replay every trace.

AgentLab captures every model call, tool, retriever hit, and state transition into a verifiable trace you can replay without hitting the network. Framework-agnostic, secrets-safe, and built for engineers shipping LLM agents in production.

Apache 2.0 · OSS
Works with any httpx-based SDKSelf-hostable · secrets-safe
app.agentlab.dev / playground
Runs (24h)

142

+18%
Cost (24h)

$3.41

-12%
P50 latency

1.2s

-8%
Agents

4

Activity

Spans per minute

peak

42 / min

Recent runs
research-assistant
1.7s·$0.04
ticket-triage
0.9s·$0.01
scholar-swarm
4.2s·$0.12
incident-responder
—·—
What ships today

Everything you need to debug agents in production

Nine primitives that compose into a complete record-and-replay workflow. No SDK lock-in, no proxy, no agent rewrite — every one maps to a module already in the open-source repo.

Universal HTTP capture

Drop-in instrumentation patches httpx transports so every model, tool, and retriever call is captured byte-perfectly. OpenAI, Anthropic, OpenRouter, Cortex AI, LiteLLM, custom clients — if it speaks httpx, it is recorded. No proxy, no rewrite.

Deterministic replay

Re-run any captured trace with zero network calls. Strict-ordered matching surfaces the exact moment behaviour drifts, with typed DriftEvents your CI can fail on. Debug a flaky agent in a tight loop instead of burning tokens to reproduce.

11 typed span kinds

RUN, AGENT, STEP, HANDOFF, LLM, TOOL, RETRIEVER, MEMORY, GUARDRAIL, EVAL, OP — a Pydantic-validated schema covering every primitive an agent uses. Adopt it once and the same query works across every agent your team ships.

Promote traces into pytest

agentlab promote turns any captured trace into a hermetic pytest fixture in one command. Lock down agent behaviour in CI like any other regression — no live LLM, no flaky retries, no token spend per run.

Cost & latency analytics

Per-span CostSummary rolls up token spend, USD, and wall-clock time across runs, agents, models, sessions. Find the model call eating your latency budget in seconds instead of stitching together logs.

LangChain & LangGraph adapter

AgentLabCallbackHandler plugs into any LangChain or LangGraph runnable as a callback. STEP / LLM / TOOL spans parent themselves automatically under the active recording, and stay a typed no-op outside one.

Secrets-safe & verifiable

Bearer tokens, OpenAI / Anthropic / AWS / Google keys, and private-key headers are scrubbed before bytes hit disk. Every trace ships with an integrity hash; agentlab verify recomputes it and exits 4 on tampering.

OpenTelemetry GenAI export

Export any trace to OpenTelemetry GenAI semantic conventions JSON. The exporter enforces 100% field coverage at import time — adding a schema field cannot silently drop on the wire.

Three lines, three minutes

How AgentLab Works

No agent rewrite. No proxy. No new framework. Wrap, run, inspect.

01

Install AgentLab

pip install agentic-lab — no proxy, no SDK lock-in, no agent rewrite required.

02

Wrap your agent

One record() context manager captures every HTTP call, tool, and state transition your agent makes.

03

Inspect, replay, ship

Open the Playground, drill into any span, replay traces offline, and promote them into pytest regressions.

Sneak peek · live playground

See the platform in motion with real traces

The Playground is a small set of agents we built end-to-end with the OSS library we are publishing, running against real LLM providers. Every action they take lands as a real trace you can browse, replay offline, and diff. It is the same UI that ships with pip install agentic-lab.

Step 01

Pick an agent and run it

Four reference agents — research workflow, ticket triage, incident responder, scholar swarm — built with the same `record()` context manager you ship in your own code.

Step 02

Watch the trace land in real time

Spans stream into the Playground as the run executes: every LLM call, tool invocation, retriever hit, evaluator verdict, memory write, and side-effect on the ledger.

Step 03

Inspect and replay any run

Drill into any span to see prompts, tool I/O, costs, and latency. Re-run the agent against the recording — zero network, zero cost — and see exactly which steps still match.

Heads up — this is pre-1.0

The Playground is intentionally small: four agents, one tenant, traces live for the session. It exists to show what AgentLab feels like, not to be your team's production setup.

Design partner program · accepting now

We are pre-launch and building this with a small set of teams

AgentLab is pre-1.0. We are working closely with a handful of design partners shipping LLM agents in production — they help us shape the schema, the Playground, and the replay engine before we open the doors more widely. Below are pain points we keep hearing in those conversations, paraphrased to keep partners anonymous.

Conversation #01

“We have three home-grown logging hacks for our agents and zero engineers who trust the output. We want one tool that just works across every model and every framework.”

Engineering lead

B2B SaaS · 12-eng team shipping 5+ agents

Conversation #02

“Our LLM bill is up 40% in three months and nobody can tell me which workflow is responsible. I need cost roll-ups by agent, by model, by step — yesterday.”

VP of Engineering

Fintech · agentic underwriting workflows

Conversation #03

“QA writes prompts in a Google Doc and hopes nothing regresses. If I could pin agent behaviour in CI like any other regression, my team would ship twice as fast.”

Director of AI Platform

E-commerce · LLM-driven catalogue automation

Direct line to the founders

Shared Slack channel. Weekly office hours. We answer messages, not tickets.

Shape the roadmap

Your missing primitive becomes our next sprint. Schema, Playground, and replay engine evolve with your agents.

Free seats, forever

Design partners keep unlimited seats on the hosted platform once it ships.

Sound like your team?

Create an account in 10 seconds. We will reach out to onboard you to the program personally.

About Us

Meet the team behind AgentLab

Across machine learning, distributed systems, and platform engineering work at Snowflake, Netflix, LinkedIn, and American Express, we kept hitting the same wall — every LLM agent we shipped to production turned into a black box the moment something went wrong. AgentLab is the trace store, replay engine, and inspector we wish our frameworks shipped with: one tool that records every model and tool call, replays it byte-for-byte, and lets us pin agent behaviour in CI like any other regression. We are pre-1.0 and building the platform with a small set of design partners — if that sounds like your team, we would love to talk.

Industry Experience

Snowflake
Snowflake
Netflix
Netflix
LinkedIn
LinkedIn
American Express
American Express

Education

Carnegie Mellon University
Carnegie Mellon University
IIIT Allahabad
IIIT Allahabad
IGDTUW
IGDTUW
Garima Luthra

Garima Luthra

Co-Founder & Software Engineer

Previously at LinkedIn and American Express

Ambuj Agrawal

Ambuj Agrawal

Co-Founder & ML Engineer

Machine Learning Engineer at Snowflake

Pre-launch · design partner program open

Ready to ship agents you can actually trust?

Spin up the playground in under a minute. If your team is shipping LLM agents in production, we would love to talk about a design partnership.

No credit card required · Apache 2.0 · Open source