Use Cases

Testing is just the beginning.

Karate Agent is a browser automation platform with an AI brain.

Any workflow that involves a browser or an API is a candidate. Ten creative applications, all driven by the same POST /api/jobs endpoint.

Auto-Generate User Guides Docs
Zero LLM cost Flow-powered

Point the agent at your web app. It walks every screen, captures annotated screenshots, and assembles a structured user guide — navigation paths, form instructions, visual references.

  • Always up to date — re-run after every deploy, the guide regenerates itself
  • Multi-language — swap the prompt for French, Japanese, Spanish
  • Stakeholder-ready — HTML report with embedded screenshots, export as PDF
generate guide
$ curl -X POST localhost:4444/api/jobs \ -d '{"prompt": "Walk every page. Screenshot + describe. Generate a user guide.", "flowFiles": ["app/login.js"]}'
Simulate Real User Load Load
Multi-session Parallel execution

Dozens of concurrent browser sessions, each running a different user journey. Unlike synthetic HTTP load tests, these are real browsers rendering real pages and firing real client-side events.

  • True browser load — WebSockets, service workers, SSR hydration — all exercised
  • Mixed journeys — one browses, one checks out, one edits profile — realistic traffic
  • Spot client-side bottlenecks — memory leaks, slow renders, race conditions HTTP tools miss
20 concurrent sessions
# Launch 20 concurrent user sessions for i in $(seq 1 20); do curl -s -X POST localhost:4444/api/jobs \ -d '{"prompt": "Browse store, add to cart, checkout.", "maxIterations": 15}' & done; wait
Distributed API Perf Testing Performance
High volume Distributed

Karate already has world-class API performance testing via Gatling. Combined with the dashboard's container orchestration, distribute load generation across workers — saturating APIs a single machine can't stress.

  • Horizontal scale — 10 workers × 1,000 virtual users = 10,000 concurrent connections
  • No JMeter — Karate .feature files double as perf scripts
  • Assertions run during the test — a 500 error on request 8,432 is caught immediately

10,000

Concurrent users

42 ms

p95 latency

0.02%

Error rate

10

Worker containers

OWASP API Security Audits Security
OWASP Top 10 Automated

Turn OWASP testing guides into executable flow scripts. The LLM reads your API spec, generates attack payloads, fires them at every endpoint, and produces a findings report with reproduction steps for every vulnerability.

  • Injection testing — SQL, XSS, command injection from your OpenAPI spec
  • Auth bypass probing — no credentials, expired tokens, other users' tokens
  • Reproducible findings — every vuln with exact curl + response
security audit job
$ curl -X POST localhost:4444/api/jobs \ -d '{"prompt": "Read OpenAPI spec at /api/docs. Test OWASP Top 10. Report severity + repro steps.", "flowFiles": ["security/owasp.md"], "maxIterations": 50}'
Visual Regression Monitoring Visual
Scheduled CI/CD ready

Scheduled jobs navigate critical pages, capture screenshots, and compare against baselines. The LLM doesn't just pixel-diff — it understands the page, distinguishing a meaningful layout change from an irrelevant ad rotation.

  • Semantic comparison — "the nav lost its search icon" not "37 pixels differ at (240, 12)"
  • Cross-browser — same flow on different viewports or Chrome versions
  • Scheduled via CI — trigger after every deploy, Slack notification if something looks wrong
visual regression check
$ curl -X POST localhost:4444/api/jobs \ -d '{"prompt": "Navigate every page. Screenshot. Compare against last run. Report unintentional changes."}'
Accessibility Audits Compliance
WCAG 2.1 AA Context-aware

The agent navigates with the same look() API that finds elements — and it spots what's missing. Missing alt text, unlabeled inputs, contrast issues, keyboard traps. Feed it WCAG 2.1 as a flow file and get a structured compliance report.

  • Beyond automated scanners — distinguishes decorative vs informative images
  • Keyboard navigation testing — tabs through the page, verifies focus order
  • Report per WCAG criterion — organized by guideline with pass/fail/warning
a11y audit
$ curl -X POST localhost:4444/api/jobs \ -d '{"prompt": "Audit WCAG 2.1 AA. Check alt text, labels, contrast, keyboard nav. Report per criterion.", "flowFiles": ["a11y/wcag.md"]}'
Competitive Intelligence Research
Multi-site Structured extraction

Deploy agents to visit multiple sites in parallel, extract structured data, and compile comparative reports. Product features, pricing tables, changelog entries, tech stacks — anything visible in a browser.

  • Pricing comparison — 10 competitor pages into spreadsheet-ready format
  • Feature tracking — weekly checks for new features or UI changes
  • Content monitoring — blog posts, docs updates, job listings
pricing comparison
$ curl -X POST localhost:4444/api/jobs \ -d '{"prompt": "Visit each pricing page. Extract plan names, prices, features into a comparison table."}'
Scheduled Tasks & Data Collection Automation
Scheduled Cron-ready

Trigger jobs from cron, CI pipelines, or webhooks. Run recurring browser tasks on a schedule — no human in the loop.

  • Check for updates — daily job visits vendor portals, emails the team on change
  • Data scraping pipelines — web portals without APIs, export CSV/JSON
  • Compliance monitoring — SSL expiry, broken links, privacy policy changes
crontab
# Daily vendor check at 8am 0 8 * * * curl -s -X POST \ localhost:4444/api/jobs \ -d '{"prompt": "Check releases page for new versions."}'
Bulk Entry & Legacy Migration Operations
Proven automation Bulk operations

Enterprise apps without APIs force manual data entry. Karate Agent navigates the UI, fills forms, clicks wizards, and handles validation errors — at machine speed. Migrate data between systems never designed to talk.

  • CSV-driven batch entry — feed a spreadsheet, watch it fill 500 forms in an hour
  • Legacy ERP migration — screen-scrape old system, enter in new, verify each record
  • Handles validation errors — reads error messages and adapts (date format, missing field, duplicate)
batch entry from CSV
$ curl -X POST localhost:4444/api/jobs \ -d '{"prompt": "Read employees.csv. For each row, open HR portal, fill fields, submit. Report errors.", "flowFiles": ["hr/add-employee.js"]}'
Post-Deploy Smoke Tests CI/CD
Multi-env Parallel

After every deployment, fire parallel agents at staging, pre-prod, and production. Each runs the same critical path — login, navigate, submit, verify. Pass/fail per environment in under 60 seconds.

  • Same flow, multiple targets — parameterize the base URL, one flow works everywhere
  • Parallel execution — all environments tested simultaneously
  • Instant failure alerts — webhook integration for Slack/Teams
smoke 3 envs in parallel
for ENV in staging preprod production; do curl -s -X POST localhost:4444/api/jobs \ -d "{\"prompt\": \"Go to $ENV.app.com. Run critical path.\", \"flowFiles\": [\"smoke/path.js\"]}" & done; wait

What will you build?

These are just starting points. Any workflow that involves a browser or an API is a candidate.