# Sirv Lens

I built Sirv Lens, a browser extension that records a bug with your voice and turns it into a task with the steps, the failed requests and a replay a coding agent can reproduce.


## What it does

"The cart is broken" is not a bug report. Somebody still has to find out which cart, after which click and what the server said. Usually that somebody is the person who fixes it, an hour later, without the tester.

Lens records the answer while the tester still has it. You open the side panel on the site you test, press Record and talk. Lens keeps every click, key and page change, the network and the console, and your voice.

<img src="/images/lens/lens-record.webp" alt="The Lens side panel beside a store's cart, eight seconds into a recording, with the discount code WINTER20 typed in" width="1802" height="1280" loading="lazy" decoding="async"/>

*Eight seconds into a recording. The panel sits beside the page and stays out of the way.*

Press Stop and Lens opens the recording as a replay of the page, with your words next to the steps and the errors of the same second.

- **Edit before it leaves.** Trim and cut, draw on the page, point at an element, add a note and black out anything private.
- **A title and findings.** Your own AI key, or a local model, writes them from the recording. Without a model you write the title yourself.
- **A draft in your tracker.** Linear, GitHub Issues, Jira Cloud, Basecamp or VibeQ.
- **A share link.** Anybody opens the replay with your voice, the steps and the failed requests in a browser, with nothing to install. Lens encrypts the review in your browser and the key stays in the link.
- **An evidence ZIP.** The report, a Playwright test that repeats your steps, the network log as a HAR, the screenshots and the replay.
- **A video when the page needs one.** Video mode records the tab as a WebM, for pages with canvas, WebGL or video that a DOM replay cannot show.
- **A record for agents.** Claude Code, Codex and Cursor read reviewed recordings over MCP.

It is a browser extension and nothing else. There is no desktop app to install and no account. It's free.

## One real recording

Every screenshot on this page comes from one recording on Shopify's public Hydrogen demo store. Add a snowboard to the cart, type a discount code that doesn't exist, press Apply Discount. The cart request returns an HTTP 500 and the whole page is replaced by "Something's wrong here."

The voice in the recording says: "I add the Oxygen snowboard to the cart. Now I apply the discount code, Winter20. And the whole page breaks." The speech model in the browser wrote that down. It heard "the full page breaks", which is fair.

<video controls playsinline preload="none" width="1920" height="1080" poster="/images/lens/lens-film.jpg" style="max-width:100%;height:auto;">
<source src="https://lens.sirv.studio/assets/film-3.mp4" type="video/mp4">
</video>

*The 24-second film. It is real screen footage of the same bug, recorded a second time for the camera.*

This is the task Lens made from it. A model wrote the title and the findings. The failed request and the steps come from the recording.

<img src="/images/lens/lens-task.webp" alt="The task Lens wrote: a title, three tags, four findings and the failed POST /cart request with HTTP 500" width="1560" height="960" loading="lazy" decoding="async"/>

*The finding "Expected: the cart stays open" comes from the last thing the voice said.*

## What a coding agent gets

A screenshot tells an agent what a bug looks like. It doesn't tell it how to get there. Lens writes one structured record per recording, and an agent reads it the way a developer would.

```json
{
  "findings": { "items": [
    { "kind": "defect", "text": "The full page breaks after the person applies discount code Winter20." }
  ] },
  "steps": [
    { "seq": 5, "atMs": 9690, "kind": "fill", "value": "WINTER20",
      "target": { "role": "textbox", "name": "Discount code" } },
    { "seq": 6, "atMs": 9692, "kind": "click",
      "target": { "role": "button", "name": "Apply Discount" }, "requests": ["s6r1"] },
    { "seq": 7, "atMs": 10640, "kind": "say", "value": "It says, Something is wrong here." }
  ],
  "network": [
    { "id": "s6r1", "method": "POST", "status": 500,
      "url": "https://hydrogen.shop/cart?_data=routes…",
      "responseBody": "{\"message\":\"Unexpected Server Error\"}" }
  ]
}
```

- **Steps with real locators.** Role, name, test ID and CSS for each click and field, so a test finds the element again.
- **The failure linked to its cause.** The request that failed points back at the step that sent it.
- **The voice on the same clock.** What the tester said is a step like any other, with a timestamp.

One command from Lens Settings connects an agent to `https://lens.sirv.studio/mcp` with a personal token. The server has six tools: `list_reviews`, `search_reviews`, `get_review`, `read_review_file`, `query_review_evidence` and `playwright_test`. All six only read. Page text in every answer is marked as untrusted data, because a recorded page is somebody else's content and an agent should not take orders from it.

No MCP? The evidence ZIP holds the same files.

## How it's built

Lens is one Manifest V3 extension, built with WXT and React.

- **In the page**, a content script records the DOM with rrweb and notes each step. Inputs are masked there, before anything is stored.
- **In the background**, a collector reads the network and the console through the `debugger` permission, takes a screenshot after each step and keeps the last ten minutes of each allowed tab.
- **The engine** is the store and everything around it: IndexedDB, the export, speech and the AI calls. Pages call it directly. There is no other process.
- **Speech** runs in the browser: NVIDIA Parakeet TDT by default, or Whisper. A cloud service with your own key also works.
- **The Remote MCP server** is a Cloudflare Worker. It keeps a synced review in KV for 90 days under a hash of your token.
- **A share link** is the review, encrypted in the browser with AES-256-GCM. The same Worker keeps the bytes for 30 days. The key sits after the `#` of the link, and a browser never sends that part to a server. The link carries copies of the page's pictures, fonts and style sheets, so the page that opens it asks the recorded site for nothing.

| Browser | Level | Why |
|---|---|---|
| Chrome, Edge, Brave, Chromium | Full | `debugger` gives request bodies and a screenshot after each step |
| Firefox | Limited | No `debugger`. Lens uses `webRequest` and page probes |
| Safari | Not supported | No equivalent of either |

<figure class="studio-visual studio-snapshot" aria-labelledby="lens-snapshot-title">
  <div class="studio-visual-head">
    <span id="lens-snapshot-title">repository snapshot</span>
    <strong>main @ 12f2c31 · Nov 29, 2026</strong>
  </div>
  <div class="studio-snapshot-grid">
    <div class="studio-snapshot-card"><strong>228</strong><span>commits since the rebuild began</span></div>
    <div class="studio-snapshot-card"><strong>16</strong><span>calendar days from first commit to this snapshot</span></div>
    <div class="studio-snapshot-card"><strong>22,000</strong><span>lines of TypeScript in the extension</span></div>
    <div class="studio-snapshot-card"><strong>122</strong><span>unit tests</span></div>
    <div class="studio-snapshot-card"><strong>35,728</strong><span>lines deleted with the desktop app</span></div>
    <div class="studio-snapshot-card"><strong>6</strong><span>read-only MCP tools</span></div>
  </div>
  <figcaption>Counted from <a href="https://github.com/sirv/native-browser-lens">the public repository</a>. Commit volume is not value. It shows how short the loop is.</figcaption>
</figure>

## The desktop app I removed

[Veniamin Krachun](https://www.linkedin.com/in/veniamin-krachun/) built the first Native Browser Lens in September 2026. It filed reviewed defects through the [VibeQ](/projects/vibeq/) MCP. The idea was right: the evidence should travel with the task.

On 14 November I started a rebuild. It had a Rust daemon, a native messaging shim and a side panel in the browser. That day has 59 commits. The replay, Record mode with voice, the reproduction pack and the first MCP server all landed in it.

<figure class="studio-visual studio-timeline" aria-labelledby="lens-timeline-title">
  <div class="studio-visual-head">
    <span id="lens-timeline-title">what shipped, in order</span>
    <strong>Sep 8 → Nov 29, 2026 · from the git log</strong>
  </div>
  <ol>
    <li><time>Sep 8</time><div><b>The first Native Browser Lens</b><span>Veniamin's version files reviewed defects through the VibeQ MCP.</span></div></li>
    <li><time>Nov 14</time><div><b>The rebuild starts</b><span>A Rust daemon, a side panel, rrweb replay, Record mode with voice and an MCP server. 59 commits in one day.</span></div></li>
    <li><time>Nov 16</time><div><b>Chrome Web Store</b><span>Setup, the welcome page and the site add the extension from the store.</span></div></li>
    <li><time>Nov 18</time><div><b>Firefox Add-ons</b><span>The second store, with the limits Firefox puts on extensions.</span></div></li>
    <li><time>Nov 20</time><div><b>Basecamp drafts and evidence ZIPs</b><span>Review focuses on the report. A draft carries its evidence with it.</span></div></li>
    <li><time>Nov 27</time><div><b>0.13: the extension does everything</b><span>The engine moves into the browser, with Parakeet and Whisper, your own AI key and Remote MCP.</span></div></li>
    <li><time>Nov 29</time><div><b>The Rust code leaves the repository</b><span>182 files and 35,728 lines. The same day a real store finds three bugs in the replay.</span></div></li>
    <li><time>Nov 29</time><div><b>0.14: a share link</b><span>A review opens in any browser. It is encrypted before it leaves and the key stays in the link.</span></div></li>
  </ol>
  <figcaption>Every date is a commit date in the repository.</figcaption>
</figure>

The desktop app worked. It also cost more than the product did. The git log from those two weeks has commits about stapling a macOS DMG when Apple's ticket service dropped the connection, signing the speech programs, Windows pipes that only the current user may open, native messaging for Firefox from an Ubuntu Snap and speech builds that had to run without AVX-512.

None of that was the product. It was the price of asking people to install a second program before they could report a bug.

So in 0.13 the extension took over all of it. The store moved to IndexedDB. Speech moved to models that run in the browser. The local MCP server became a remote one. On 29 November I deleted the Rust code from the repository. It stays readable in the git history.

What I lost: the desktop app could turn any replay into an MP4 file. The extension records the tab as a WebM instead, and only when Video mode is on. Firefox without access to all sites now saves a recording with no screenshot. Both are written down as open items.

## A real store broke it in 9 seconds

Until 29 November every screenshot of Lens came from a demo store built for that purpose: a fake shop with a fake coupon bug. That day I asked an agent for new store screenshots "on some real site".

It recorded the Hydrogen bug above. Lens caught the 500. The steps were right and the words were right. Then the agent opened the replay, and the replay still showed the cart.

The recording was 19 seconds long. Its last page change was at 8.8 seconds, the moment of the click. Hydrogen is built on Remix, and when the root of the app fails, React doesn't patch the page. It removes the `<html>` element and puts in a new one. rrweb kept watching the old tree, which was no longer on the screen.

- **The replay stopped at the error.** Lens now watches for a new `<html>` element and takes a fresh copy of the page when one appears.
- **Empty boxes sat in the cart.** Lens leaves hidden inputs out of a recording because they often hold tokens. rrweb puts a placeholder where each one was, and the store's stylesheet drew a border around it. A hidden input that Lens left out now stays hidden.
- **The product pictures were missing.** They fade in with a CSS animation, and a paused replay freezes every animation at its first frame. For a fade-in, the first frame is invisible. A paused frame now shows where each animation ends.

My demo store could never have shown me any of this. Its bug was a total that said `$NaN`. A polite bug, which keeps the page in place.

I used to think a demo store was the honest way to show a tool. But its bugs were written for the demo too, and they were the kind my tool could already handle.

## Private by default

A bug recorder sees everything on the page. Lens is built so that most of it never gets stored.

- **You choose the sites.** Lens reads a site only after you allow it, one site at a time. Everywhere else it does nothing.
- **Secrets are left out.** Passwords, card numbers and private fields are masked. Cookies, request headers and tokens are never recorded.
- **Your voice stays local.** The speech model runs in your browser, unless you choose a cloud service with your own key.
- **Recordings stay in the browser** until you file, export, share or sync a review.
- **A share link is encrypted.** The key stays in the link, so the Lens server stores a file it cannot read.
- **No analytics and no tracking.** Lens sends data only where you choose: your tracker, your AI provider, a share link or your MCP endpoint.

The [privacy policy](https://lens.sirv.studio/privacy) and the reason for [each permission](https://lens.sirv.studio/permissions) are on the product site.

## Try it

Install it from the [Chrome Web Store](https://chromewebstore.google.com/detail/sirv-lens/lihjnfpbomppjmdlnchkookggmefanbg) for Chrome, Edge and Brave, or from [Firefox Add-ons](https://addons.mozilla.org/firefox/addon/sirv-lens/). Open the side panel on a site you test, choose "Collect evidence on this site" and press Record.

The source is [on GitHub](https://github.com/sirv/native-browser-lens), with the same packages and their SHA-256 sums under Releases.

<a href="https://lens.sirv.studio" target="_blank" rel="noopener">Install Sirv Lens <span aria-hidden="true">↗</span><span class="visually-hidden"> (opens in a new tab)</span></a>



---

[Canonical HTML](https://www.varyvoda.com/projects/sirv-lens/) · [Sitemap](https://www.varyvoda.com/sitemap.xml)
