Real-time · Works with any agent framework

See exactly what your
AI agent is doing

Every thought. Every tool call. Every error. In real time.
Add two lines of code. Get full visibility into any agent you build.

Free up to 5,000 events/mo · No infrastructure · Instrument in 2 lines

app.traceagently.com/dashboard/traces/tr_8af2c1
Running
Thought

I need to check the user's subscription status before processing the refund request.

Tool Call · 28 tok

get_subscription(user_id: "usr_4829")

Tool Result · 64 tok

{"status": "active", "plan": "pro", "eligible_for_refund": true}

Thought

User is eligible. Processing refund now

Instrument in 2 minutes

Works with any agent — LangChain, CrewAI, raw OpenAI calls, or your own loop.

Python pip install traceagently
from traceagently import TraceAgently

ta = TraceAgently(api_key="ta_live_...")

with ta.trace(agent_id="support-bot",
               task="Refund order #123") as t:
    t.thought("Checking order status")
    t.tool_call("get_order", {"id": 123})
    t.tool_result({"status": "delivered"})
    t.final_response("Order was delivered")
TypeScript npm install traceagently
import { TraceAgently } from 'traceagently'

const ta = new TraceAgently({ apiKey: 'ta_live_...' })

const trace = await ta.startTrace({
  agentId: 'support-bot',
  task: 'Refund order #123'
})
await trace.thought('Checking order status')
await trace.toolCall('get_order', { id: 123 })
await trace.end('Order was delivered')

Everything you need to understand your agents

Built for developers who ship autonomous agents to production.

Real-time trace viewer

Watch every event stream in live as your agent thinks, calls tools, and responds. No refresh needed.

Error pattern detection

Automatically groups recurring errors across all your agent runs so you can spot systemic failures fast.

Magic Fix (Pro)

One click sends your full trace to Claude, which diagnoses what went wrong and gives you an exact fix.

Cost tracking

See token usage and estimated cost per trace. Know exactly how much each agent run is costing you.

Secure API keys

SHA-256 hashed keys stored in your dashboard. Multiple keys per project, revoke any time.

Any framework

Works with LangChain, CrewAI, raw OpenAI, Claude, Gemini, or any custom agent loop you've built.

Simple pricing

Start free. Upgrade when you need more.

Free
$0/mo
  • 5,000 events/mo
  • 7-day retention
  • Real-time traces
  • Error detection
  • 1 project
Get started
POPULAR
Indie
$49/mo
  • 500,000 events/mo
  • 30-day retention
  • 10 projects
  • Everything in Free
  • $0.50 per 1k overage
Get started
Pro
$149/mo
  • 5,000,000 events/mo
  • 90-day retention
  • Unlimited projects
  • Magic Fix (AI diagnosis)
  • $0.10 per 1k overage
Get started

Quick start

From zero to live traces in under 2 minutes.

1

Install the SDK

pip install traceagently   # Python
npm install traceagently   # TypeScript
2

Get your API key from the dashboard

ta_live_••••••••••••••••••••••••••••••••
3

Wrap your agent

from traceagently import TraceAgently
ta = TraceAgently(api_key="ta_live_...")

with ta.trace(agent_id="my-agent", task=user_task) as t:
    # your existing agent code here
    t.thought(llm_response)
    t.tool_call(tool_name, args)
    t.final_response(result)

Start seeing inside your agents

Free forever for side projects. No credit card required.

Get started free