Skip to content

MonkeyTest CoreAn AI agent that uses your site like a real user โ€” and reports the bugs.

Open-source. Playwright + your favourite LLM. Zero glue code. Built for devs who'd rather ship than write yet another Selenium script.

An open library of intelligence with a stylised AI monkey agent inspecting a webpage and pinning a bug

Why MonkeyTest Core? โ€‹

Most QA tools ask you to write tests. MonkeyTest Core writes its own โ€” by looking at your app first.

It opens a real browser, crawls a few pages, asks an LLM "what would a real user try here?", runs those flows step by step, and hands you back a structured report with screenshots, bug fingerprints, and a live event stream you can wire into your own dashboard.

ts
import { Monkey, autoLLMConfig } from '@mtai/monkeytest-core';

const monkey = new Monkey({ llm: autoLLMConfig({ quality: 'balanced' }) });

const { run } = await monkey.executeAndTriage('https://example.com', {
  explore: { maxPages: 8, screenshotsDir: '.monkeytest/shots' },
  plan:    { maxFlows: 4 },
  run:     { screenshotsDir: '.monkeytest/shots' },
});

console.log(`${run.bugs.length} bug(s) found across ${run.stats.flowsTotal} flows`);

That's it. No fixtures, no page objects, no recorders.

Where it shines โ€‹

  • Pre-release sanity checks โ€” point it at a staging URL and let it find the obvious "the form doesn't submit" / "checkout 500s" issues before a human does.
  • PR previews โ€” run on Vercel/Netlify preview URLs in CI, fail the check if a flow regresses.
  • Daily smoke runs against prod โ€” cheap LLM tier, screenshots stored as artefacts.
  • Embedding in your own product โ€” the engine is a library, not a CLI. Wrap it in your own SaaS, internal tool, or VS Code extension.

What it isn't โ€‹

  • Not a replacement for deterministic critical-path E2E tests โ€” it's a complement.
  • Not a load tester or a11y auditor (those exist; pair them).
  • Not magic โ€” quality of bug reports tracks the quality of the LLM you give it.

Don't want to run it yourself? โ€‹

MonkeyTest Cloud is the same engine, fully managed, with hosted browsers, history, dashboards, and team accounts. Use the OSS engine for hacking and self-hosting; use Cloud when you want it to "just run".

Get started โ†’

AGPL-3.0 ยท Made for the testing community