Early Access

Your agent ran.

Record.

You can't debug what you didn't record. AgentTrace records everything, so nothing is a mystery.

No credit card · 5 min setup · Python & Node

Sound familiar?

The same loop.
Every time.

This is the default.

It doesn't have to be.

01Your agent runs in production.
02Something goes wrong.
03The logs say: Completed successfully.
04You add print statements.
05You redeploy.
06The bug doesn't happen.
07Three days later: customer complains.
08You still don't know why.
09You set up more logging and wait.
There's a better way.

The gap

The bug is there.
You just can't see it.

agent.log — no structured data
2024-03-14T09:21:03Z [INFO] Agent starting...
2024-03-14T09:21:03Z [INFO] Fetching user context
2024-03-14T09:21:04Z [DEBUG] HTTP GET /api/users/9021
2024-03-14T09:21:04Z [INFO] User data loaded
2024-03-14T09:21:05Z [INFO] Processing task
2024-03-14T09:21:06Z [DEBUG] LLM call initiated
2024-03-14T09:21:08Z [INFO] LLM response received
2024-03-14T09:21:09Z [DEBUG] Tool call: get_balance
2024-03-14T09:21:09Z [INFO] Balance: 1240.00
2024-03-14T09:21:10Z [DEBUG] Tool call: apply_refund
2024-03-14T09:21:11Z [INFO] Refund applied
2024-03-14T09:21:11Z [DEBUG] Tool call: apply_refund
2024-03-14T09:21:12Z [INFO] Refund applied
2024-03-14T09:21:12Z [ERROR] Duplicate transaction detected
2024-03-14T09:21:13Z [INFO] Agent completed
2024-03-14T09:21:13Z [INFO] Exit: 0

→ The refund ran twice. Nobody knows why.

AgentTrace — full execution graph
THINKFetch user 9021 and check refund eligibility12ms
CALLget_user_context(id='9021')89ms
THINKUser eligible. Balance $1240. Proceed with refund.6ms
CALLapply_refund(amount=1240, user='9021')210ms
CALLapply_refund(amount=1240, user='9021') ⚠ DUPLICATE195ms
ERRORDuplicate TX: retry logic triggered on network timeout

→ Step 5 = Step 4. Network timeout triggered a retry. $340 duplicate. Found in 30 seconds.

Live demo

Click through an execution trace.

SYSTEMStep 1 of 6
0ms
Session 8821-4f2a initialized. Task: process Q1 refund batch.

What this means

AgentTrace begins recording. Every event from this point is captured — timestamps, context, state.

Real-world examples

Based on real production patterns
LOOP

agent-billing-prod-3

retry loop · step 12 of 12

prevented $412 duplicate

SECURITY

customer-service-7f2a

prompt injection at step 4

escalated to human

FAILURE

order-fulfil-9c11

API rate limit at step 6, silent fail

48 orders not processed

HALLUCINATE

gpt-researcher-ab02

hallucinated tool args · run 3

wrong data written to DB

LOOP

invoice-agent-prod

infinite loop detected at step 8

terminated after 90s

OVERFLOW

email-drafter-v2

context window overflow

response truncated, unsent

TIMEOUT

report-agent-12f0

tool timeout · db.query()

fallback branch executed

LOOP

agent-billing-prod-4

retry loop · step 8 of 8

prevented infinite loop

SECURITY

customer-service-8x5b

prompt injection at step 2

escalated to human

FAILURE

sync-worker-prod

API 500 at step 4

retried successfully

HALLUCINATE

seo-agent-live

hallucinated tool args · run 1

blocked by schema validation

LOOP

scraper-agent-v1

infinite loop detected at step 3

terminated after 20s

OVERFLOW

summary-agent-9x

context window overflow

response truncated

TIMEOUT

analysis-agent-beta

tool timeout · api.fetch()

fallback branch executed

LOOP

agent-billing-prod-3

retry loop · step 12 of 12

prevented $412 duplicate

SECURITY

customer-service-7f2a

prompt injection at step 4

escalated to human

FAILURE

order-fulfil-9c11

API rate limit at step 6, silent fail

48 orders not processed

HALLUCINATE

gpt-researcher-ab02

hallucinated tool args · run 3

wrong data written to DB

LOOP

invoice-agent-prod

infinite loop detected at step 8

terminated after 90s

OVERFLOW

email-drafter-v2

context window overflow

response truncated, unsent

TIMEOUT

report-agent-12f0

tool timeout · db.query()

fallback branch executed

LOOP

agent-billing-prod-4

retry loop · step 8 of 8

prevented infinite loop

SECURITY

customer-service-8x5b

prompt injection at step 2

escalated to human

FAILURE

sync-worker-prod

API 500 at step 4

retried successfully

HALLUCINATE

seo-agent-live

hallucinated tool args · run 1

blocked by schema validation

LOOP

scraper-agent-v1

infinite loop detected at step 3

terminated after 20s

OVERFLOW

summary-agent-9x

context window overflow

response truncated

TIMEOUT

analysis-agent-beta

tool timeout · api.fetch()

fallback branch executed

HALLUCINATE

gpt-researcher-ab02

hallucinated tool args · run 3

wrong data written to DB

LOOP

invoice-agent-prod

infinite loop detected at step 8

terminated after 90s

OVERFLOW

email-drafter-v2

context window overflow

response truncated, unsent

TIMEOUT

report-agent-12f0

tool timeout · db.query()

fallback branch executed

LOOP

agent-billing-prod-4

retry loop · step 8 of 8

prevented infinite loop

SECURITY

customer-service-8x5b

prompt injection at step 2

escalated to human

FAILURE

sync-worker-prod

API 500 at step 4

retried successfully

HALLUCINATE

seo-agent-live

hallucinated tool args · run 1

blocked by schema validation

LOOP

scraper-agent-v1

infinite loop detected at step 3

terminated after 20s

OVERFLOW

summary-agent-9x

context window overflow

response truncated

TIMEOUT

analysis-agent-beta

tool timeout · api.fetch()

fallback branch executed

LOOP

agent-billing-prod-3

retry loop · step 12 of 12

prevented $412 duplicate

SECURITY

customer-service-7f2a

prompt injection at step 4

escalated to human

FAILURE

order-fulfil-9c11

API rate limit at step 6, silent fail

48 orders not processed

HALLUCINATE

gpt-researcher-ab02

hallucinated tool args · run 3

wrong data written to DB

LOOP

invoice-agent-prod

infinite loop detected at step 8

terminated after 90s

OVERFLOW

email-drafter-v2

context window overflow

response truncated, unsent

TIMEOUT

report-agent-12f0

tool timeout · db.query()

fallback branch executed

LOOP

agent-billing-prod-4

retry loop · step 8 of 8

prevented infinite loop

SECURITY

customer-service-8x5b

prompt injection at step 2

escalated to human

FAILURE

sync-worker-prod

API 500 at step 4

retried successfully

HALLUCINATE

seo-agent-live

hallucinated tool args · run 1

blocked by schema validation

LOOP

scraper-agent-v1

infinite loop detected at step 3

terminated after 20s

OVERFLOW

summary-agent-9x

context window overflow

response truncated

TIMEOUT

analysis-agent-beta

tool timeout · api.fetch()

fallback branch executed

Capabilities

Three primitives.
Infinite insight.

Record

Every prompt, tool call, and state change. Zero instrumentation noise. < 5ms overhead.

@trace
async def my_agent(task):
    return await run(task)
01
Replay

Deterministic re-execution on any machine. Same inputs. Same decisions. Same bug.

agenttrace replay session-8821
02
Branch

Fork at any decision point. Test alternatives. Find regressions before users do.

agenttrace fork session-8821 --from step-5
03
< 5ms
overhead per event
Non-blocking, async capture
100%
replay fidelity
Deterministic across environments
5
lines to instrument
One decorator on your agent function

Stop guessing.
Start knowing.

Free to start. No credit card. Works in 5 minutes.

AgentTrace · Built for AI engineering teams