Automation

Slapify

AI-powered browser automation that slaps — run autonomous agents, audit performance, and write E2E tests in plain English.

npx slapify init
0.0.18
Latest version
2K+
Weekly downloads
3
Modes
Slapify CLI autonomous execution demo

How it works

Three modes, one engine

Task mode

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
Run mode

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
Programmatic mode

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.

CLI Usage
# 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 --report
Node.js SDK
import { 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

Built-in performance auditing with Lighthouse-style metrics on every run.

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.