Agent logs
Agent logs are an Extension.js framework feature. While extension dev runs, the agent bridge merges every context (service worker, content scripts, popup, options, sidebar) into one ordered stream, written to dist/extension-js/<browser>/logs.ndjson and readable with extension logs. It is local and needs no account. The line format, the flags, and the rotation rules live in the framework's Debugging section.
What the platform adds
The MCP server's extension_logs tool reads the same stream from an agent, bounded by default so it does not flood the agent's context. There is no platform log retention: logs stay on the developer's machine and are never uploaded.
Next
- Debugging for the full story
- Inspect and act reads the DOM and calls into the extension
- MCP server wires the stream into an agent
