Skip to content

Installation

Autowright has two halves: a package in your script and a service stack that turns failures into pull requests. You can install the package alone — capture and diagnostics work locally without the stack.

1. The browser package

The package is distributed from its public GitHub repo, nawaaz-korvol/autowright-browser. It installs under the name @autowright/browser, so imports look the same as they will when it reaches npm.

Terminal window
npm install github:nawaaz-korvol/autowright-browser playwright

Install a browser binary if you haven’t already:

Terminal window
npx playwright install chromium

@autowright/browser re-exports all Playwright types, so it can be your only browser import.

2. The healing stack

The service, fixer, and artifact storage run as containers:

Terminal window
git clone https://github.com/nawaaz-korvol/autowright-v3
cd autowright-v3
cp .env.example .env # fill in your keys
docker compose up service fixer minio minio-init

For fixes to become pull requests, the fixer needs three credentials in .env:

VariablePurpose
ANTHROPIC_API_KEYPowers the fixing agent (Claude Agent SDK)
GITHUB_TOKENLets the fixer clone your repo and open PRs
SLACK_WEBHOOK_URLOptional — fix notifications with cost breakdowns

See Environment Variables for the full list and Self-Hosting for the complete stack — including the dashboard and Tilt-based local development.

3. Verify

With the stack up, the service answers on port 4400:

Terminal window
curl http://localhost:4400/api/stats

Now wire up your first script in the Quick Start.