LibreAI / AI Agents / playwriter
// agents · remorses/playwriter

playwriter

Playwriter lets AI agents drive your real Chrome — your logins, extensions, and cookies — via Playwright

★ 4.0k stars⑂ 189 forksMITupdated 2026-10
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

playwriter is an open-source ai agents project by remorses (remorses/playwriter on GitHub). It has 3,974 GitHub stars and 189 forks, is released under the MIT license, and was last updated on GitHub on 7 October 2026.

GitHub stars
3,974
Forks
189
License
MIT
Last updated on GitHub
7 October 2026
Category
AI Agents
Listing
Full install guide
Official site
Official site
// how it works

How it works

  1. Install the extension

    Add the Playwriter extension from the Chrome Web Store and click its icon on a tab to connect it (it turns green).

  2. Install the CLI

    Install playwriter globally from npm.

  3. Start a session

    Start the browser bridge and create a session, noting the session id it prints.

  4. Drive your browser

    Run Playwright code against your real tabs with the -e flag, using snapshots and refs to click precisely.

// features

Why people love it

Your real browser

Agents inherit your logins, extensions, and cookies — no separate automation profile to authenticate.

Full Playwright API

Evaluate arbitrary Playwright code against live pages with state persisted between calls.

Stateful sessions

Sessions keep isolated state, support shared tabs and tab groups, and survive across commands.

Snapshots and refs

Accessibility snapshots label elements (aria-ref) so agents click the right target.

Deep browser access

Raw CDP, debugger breakpoints, live code editing, and network interception for advanced work.

Video and remote control

Native video recording via chrome.tabCapture with RTMP streaming, and remote agents can drive your local browser.

Advertisement
// run it

Run it yourself

  1. Clone the repository

    Clone the project and enter its directory (most users install the CLI and extension directly).

    git clone https://github.com/remorses/playwriter.git
    cd playwriter
  2. Install the CLI and extension

    Install the CLI globally, and add the Playwriter extension from the Chrome Web Store, clicking its icon on a tab to connect.

    npm i -g playwriter
  3. Start a session and browse

    Start the bridge, create a session, and open a page in your real Chrome.

    playwriter browser start
    playwriter session new
    playwriter -s 1 -e 'state.page = await context.newPage(); await state.page.goto("https://example.com")'
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who maintains Playwriter?

Developer remorses maintains Playwriter (playwriter.dev).

Is Playwriter free?

Yes, MIT-licensed; the extension is on the Chrome Web Store and the CLI on npm.

Does it need a paid API key?

No key for Playwriter itself — agents you connect (via CLI or MCP) use your existing agent subscriptions.

How does it compare to Playwright or browser-use?

Those launch a fresh, logged-out automation browser. Playwriter drives your actual Chrome session — logins, extensions, and cookies included — which is what makes no-API internal tools reachable.

How do I get started?

Install the Chrome extension and click it on a tab, `npm i -g playwriter`, then `playwriter browser start` and `playwriter session new`.

// keep exploring

Similar tools

AI Agents

chrome-devtools-mcp

Chrome DevTools for coding agents: an MCP server that lets agents debug and inspect real Chrome

★ 53.1k starsApache-2.0
View guide →
AI Agents

BrowserOS

Open-source agentic browser your AI agents drive with your logins, plus an AI browser for humans.

★ 13.8k starsAGPL-3.0
View guide →
AI Agents

browser-use

The open-source library that lets AI agents control a real browser.

★ 117.4k starsMIT
View guide →
AI Agents

A2A

The open protocol that lets AI agents talk to each other.

★ 26.1k starsApache-2.0
View guide →
Agents

zeroboot

Sub-millisecond VM sandboxes for AI agents via copy-on-write forking.

★ 2.5k starsApache-2.0
View guide →
AI Agents

agent-vault

Infisical's credential vault and HTTP proxy, so AI agents call APIs without ever holding your real secrets.

★ 2.3k starsNOASSERTION
View guide →
// alternatives

Alternatives in AI Agents

The most-starred other AI Agents projects in the LibreAI catalogue — the realistic shortlist if playwriter is not the right fit.

Get playwriter

Free and open — grab the source, star the repo, and start creating.