Wraith Browser

Time-Travel Debugging

Inspect, branch, replay, and diff the agent's decision timeline

Time-travel debugging lets you inspect the sequence of decisions your agent made during a browsing session. You can view the timeline summary, branch from any decision point to explore alternative paths, replay to a specific step, diff two branches, and export the full timeline as JSON.

Tools

ToolDescriptionKey Parameters
timetravel_summaryShow the agent decision timeline summary(none)
timetravel_branchBranch from a decision point to explore alternativesstep (required), name (required)
timetravel_replayReplay the timeline to a specific stepstep (required)
timetravel_diffDiff two branches to see where decisions divergedbranch_a (required), branch_b (required)
timetravel_exportExport the full timeline as JSON(none)

Examples

Inspect the decision timeline

{
  "tool": "timetravel_summary",
  "arguments": {}
}

Returns a summary of every decision the agent made: which pages were visited, what actions were taken, and in what order. Each step is numbered for reference.

Branch and explore alternatives

{
  "tool": "timetravel_branch",
  "arguments": {
    "step": 5,
    "name": "try-different-search"
  }
}

Creates a new branch from step 5 of the timeline. You can then take different actions and later diff the two branches to see how the outcomes diverged:

{
  "tool": "timetravel_diff",
  "arguments": {
    "branch_a": "main",
    "branch_b": "try-different-search"
  }
}

On this page