Skip to content

Run Inspector & Trace Viewer

Eric includes two layers of debugging:

  • Run Inspector for a single assistant run
  • Trace Viewer for the full conversation session

Both are admin-only.

Run Inspector is opened from the activity icon on an assistant message inside chat.

  • Run status
  • Final model name
  • Total latency
  • Token count
  • Event count
  • Prompt breakdown data when available
  • Raw run event timeline

Use Run Inspector when you need to answer questions like:

  • Why was this one answer slow?
  • Did Eric call the tool I expected?
  • Did the run emit an error event?
  • How many tokens did the run consume?

Trace Viewer is the deeper, session-level debugging screen at /eric/traces/:sessionId.

You can open it from:

  • The activity button beside a session in the Eric sidebar
  • A direct trace URL
  • A full session export, not just one run
  • Runs grouped into story-style chapters
  • Linked user messages that triggered each run
  • Trace graph nodes and relationships
  • Operator findings and recommended actions
  • Session diagnostics such as run counts and negative feedback count
  • LangSmith references when available

The trace graph groups activity into these stages:

StageMeaning
InputThe user prompt that started work
ContextContext loading and retrieval
PlanningInternal planning and prompt budgeting
ToolingTool execution and result handling
OutputFinal answer generation
FeedbackUser feedback attached to the run
Use caseBest tool
Check one answer’s latency or raw eventsRun Inspector
Investigate a bad session across multiple turnsTrace Viewer
Review feedback patterns in a sessionTrace Viewer
Confirm the exact event sequence for one runRun Inspector
  1. Reproduce the issue in Eric.
  2. Open Run Inspector on the suspicious answer.
  3. If the issue spans multiple turns, open Trace Viewer for the full session.
  4. Review stage-by-stage findings, failed tool calls, slow latencies, and feedback.
  • Non-admins can use Eric, but they cannot open these debugging tools.
  • If a non-admin reaches the trace route directly, the app redirects them back to Eric chat.
  • The trace sidebar includes a shortcut back to the original conversation.