Skip to main content
Understand the JSONL log files Libretto captures during every session.
Libretto automatically records network requests and browser actions to JSONL log files during every session. Your agent reads these files directly to reverse-engineer APIs, reconstruct workflows from user behavior, and debug failures.

Log file locations


network.jsonl

One JSON object per line, one entry per HTTP request/response captured while the session was open.

Key fields

Querying examples


actions.jsonl

One JSON object per line, one entry per browser interaction. Libretto records both actions you perform manually in the browser (source: "user") and actions the agent performs programmatically (source: "agent").

Key fields

Agent entries describe what Playwright tried to do (selector, duration). User entries describe what DOM element was actually interacted with (bestSemanticSelector, nearbyText, coordinates).

Querying examples


logs.jsonl

Structured CLI and system log. Contains debug output from Libretto itself, including command execution, errors, and internal events.