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

playwriter

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.

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

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

  • Let an agent file expenses inside a logged-in web app that has no API
  • Automate a multi-step internal admin workflow in your own browser session
  • Debug a web app with an agent that can set breakpoints and inspect network calls
  • Record a browser workflow as video while an agent performs it
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.

  • openclaw★ 391.6k

    A personal AI that really does things — on any OS, with your data staying yours.

  • superpowers★ 294.9k

    An agentic skills framework & software development methodology that works.

  • ECC★ 275.2k

    Agent harness optimization system with skills, memory and security for Claude Code, Codex and more

  • hermes-agent★ 252.0k

    The agent that grows with you — a Python framework for adaptive AI agents.

  • deepseek-harness★ 245.5k

    DeepSeek's plugin-based agent harness where everything is a plugin.

// more in agents

More in AI Agents

Nearby AI Agents projects in the catalogue, closest in stars to playwriter — keep exploring the shelf either side of it.

  • OpenScience★ 4.0k

    OpenScience — the open-source AI workbench for scientific research: give it a goal, it reads the literature, runs the experiments and writes up the findings

  • cumora★ 3.9k

    Team chat where AI agents are first-class teammates, not bots.

  • Rakazo★ 4.1k

    Rakazo — an open-source, self-hosted AI agent for persistent teammates: bring your own model and computer, run it on web, desktop, iPhone and Android

  • fast-agent★ 3.9k

    Code, build and evaluate LLM agents with full MCP, Skills, ACP and A2A support.

  • langroid★ 4.1k

    Langroid: a principled Python framework for building LLM multi-agent applications (from CMU/UW researchers)

  • notfair-plugin★ 3.9k

    SEO, GEO, and marketing skills your agents can use.

Get playwriter

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