Built-in performance auditing with Lighthouse-style metrics on every run.
Automation
Slapify
AI-powered browser automation that slaps — run autonomous agents, audit performance, and write E2E tests in plain English.
npx slapify init
How it works
Three modes, one engine
Launches an autonomous AI agent that plans, navigates, and executes browser tasks end-to-end. Point it at a URL, describe the goal, and let it work.
- Autonomous multi-step planning
- Screenshot-driven reasoning
- Auto-generated HTML reports
Executes .flow files — natural-language test scripts that describe user journeys step by step. Think Playwright, but written in plain English.
- English-first .flow format
- Sequential step execution
- CI/CD-friendly exit codes
Import Slapify as a Node.js library to run audits, interact with the browser agent, and integrate deeply into your own CI/CD tools or TypeScript applications.
- TypeScript native SDK
- Full Playwright BrowserAgent access
- Customizable auditing metrics
Quick start
Up and running in seconds
Install globally with npm, set your LLM provider key, and launch your first autonomous audit or flow test.
# Install
npx slapify init
# Run an autonomous browser agent
slapify task "Summarise the top posts on x.com today" --report
# Execute a .flow test suite
slapify run tests/checkout.flow --reportimport { runPerfAudit, BrowserAgent } from "slapify";
const browser = new BrowserAgent();
await browser.launch();
const result = await runPerfAudit("https://slaps.dev", browser);
console.log(result.scores);Highlights
Built for real workflows
Rich HTML reports with screenshots, timing, and pass/fail status per step.
LLM-provider agnostic — bring OpenAI, Anthropic, or any compatible API.
One CLI for both autonomous tasks and scripted test flows. No context switching.