Karate Agent writes plain Karate tests: reviewed in a PR, run in CI with no model.
Your AI’s tests are green. Are they right? Karate Agent in 75 seconds. Then the full tour, 13:43.
100% Self-Hosted · Bring Your Own LLM · Docker-Native
Plugs into the stack you already run
The Mandate
You’ve been told to adopt AI in testing. Karate Agent is how you prove it’s working, safe, and paying back, against the three fears that stall every AI rollout.
“It won’t pay back”
Scripted flows run for zero tokens. Stable explorations converge into deterministic checks that replay for ~$0 in CI, so the meter stops when the authoring stops.
“We can’t trust it”
Coverage is graded exercised versus merely claimed, a violated business-rule guarantee blocks the ship verdict, and every run leaves evidence a reviewer can open. A heal is never silent. The AI explains the verdict; it never decides it.
“It can’t leave our network”
One container inside your perimeter. Bring your own LLM, including Azure OpenAI inside your existing agreement, or fully air-gapped open-weight models via Ollama.
Single-tenant · RBAC · audit trail with session video · air-gap deployment · zero egress, zero telemetry · offline license file · one REST call from Jenkins, GitHub Actions, Azure DevOps, or GitLab
The full tour
The agent’s 63 tests all pass because they assert the bug. The tour follows one insurance pricing API from design to the release gate: coverage, requirements, business rules, mutation testing, mocks, other protocols, enterprise UI, your own model. Start at the top, or pick the chapter you came for.
Karate Agent: the full tour 13:43 Verify AI-built APIs, from requirements to release.
Karate refuses to grade a suite that asserts a defect, catches 15 of 16 seeded defects once that suite is set aside, and turns the business rules into the answer key that finds the real bug on the real backend. When the fix lands, the verdict turns READY, and the agent’s own senior-driver tests go red.
Chapters
The Design Choice
Most AI testing tools make you dependent on the AI to run what it wrote. This one writes itself out of the loop.
Point it at a spec, a base URL, or a screen. The agent drives your API or UI like an engineer would, on your model, over one MCP and REST surface.
What comes out is ordinary Karate: readable, diffable, version-controlled tests your team reviews in a pull request. No proprietary format, no agent lock-in.
Your pipeline runs them with standard Karate: no agent, no model, no tokens, no flake from a model’s mood. The same result, every run.
Feature: policy rating
Scenario: young driver, sport class
Given path 'quote'
And request { driverAge: 19, vehicleClass: 'sport' }
When method post
Then status 201
And match response.premium == 2417.50
# ordinary Karate: reviewed in a pull request,
# runs in CI with no agent, no model, no tokens
Tests break when a schema or the DOM shifts. Karate Agent reads the DOM directly instead of screenshotting it, locates elements by visible text so tests survive redesigns, and when a check drifts it re-drives the flow and repairs the test. A heal is never silent: it never hides a regression, and a deterministic check still runs strict.
The browser is one capability of a capability-agnostic harness; API-only runs never start one. Everything below ships inside the Agent license or alongside it in the Karate platform.
One self-contained image: harness loop · serve console · MCP server · API engine · colocated Chrome. A single karate_eval tool drives it all from Claude Code, VS Code Copilot, or Cursor.
Who it serves
The same evidence, read two ways. Product owners audit what the release means; engineers own how it runs.
For Product Owners
In the tour: · ·
For Engineering
In the tour: · · ·
Explore Karate Agent
What enterprise teams ask before adopting Karate Agent.
No. The agent emits ordinary Karate: deterministic, version-controlled tests you review in a pull request and run in CI with standard open-source Karate. No agent, no model, and no tokens anywhere in the build. The agent accelerates authoring and maintenance; your pipeline never depends on it.
Both, and more. Karate Agent is not a browser bot; it’s the Karate test runtime in a container. The same self-hosted image runs API testing (REST, gRPC, GraphQL, WebSocket), stateful mocks, business-rule verification, coverage and requirements-traceability, an MCP server, and AI browser automation. The browser is one capability of a capability-agnostic harness. API-only runs never even start a browser.
For many enterprise use cases, yes. Traditional tools like Selenium and Playwright rely on brittle CSS or XPath selectors that break when the UI changes. Karate Agent uses display-text locators and LLM-powered recovery to adapt to UI changes and report every repair, dramatically reducing test maintenance. Many teams use it as a Selenium alternative or Playwright alternative, especially for complex enterprise SPAs like Guidewire, Salesforce, and ServiceNow.
Claude computer use is a cloud-hosted, vision-based agent that sends screenshots to a vendor and reports “done” on its own say-so. Karate Agent is self-hosted and DOM-based (10–50x more token-efficient), and every run leaves evidence: annotated screenshots, video, rule verdicts, and the real network traffic matched to your API contract. Your data never leaves your network, it integrates with CI/CD via a REST API, and it works with any LLM, not just one vendor.
Karate Agent is LLM-agnostic: bring your own LLM. It works out of the box with Anthropic Claude, OpenAI GPT-4 (including Azure OpenAI), Google Gemini, and any open-weight model served via Ollama, with Gemma 4 26B and Qwen 3.6 35B-A3B benchmark-verified across the full UI-automation suite (Llama, DeepSeek, Mistral, GLM and Kimi also run). You can also connect to any OpenAI-compatible endpoint, including self-hosted vLLM deployments.
Karate Agent is 100% self-hosted. It runs as a Docker container on your infrastructure: no SaaS dependency, no data exfiltration, no telemetry. Paired with a local or Azure OpenAI model, the entire stack runs inside your perimeter. This makes it suitable for regulated industries like financial services, insurance, and healthcare that require full data sovereignty.
Dramatically less than screenshot-based agents. Karate Agent reads the DOM directly rather than sending pixel images to the LLM, 10–50x more token-efficient. Scripted flows consume zero tokens, a look() diffing function reduces page scans by 72x, and stable explorations converge into deterministic checks that replay for ~$0 with no AI in the loop.
Scoped pilots run on your infrastructure, with your approved models, and are measured on the estate you already have: what the agent authors, what it heals, what it covers.
Java 21 and Docker are the only prerequisites.