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:

Stage Meaning
Input The user prompt that started work
Context Context loading and retrieval
Planning Internal planning and prompt budgeting
Tooling Tool execution and result handling
Output Final answer generation
Feedback User feedback attached to the run
Use case Best tool
Check one answer’s latency or raw events Run Inspector
Investigate a bad session across multiple turns Trace Viewer
Review feedback patterns in a session Trace Viewer
Confirm the exact event sequence for one run Run 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.