Keploy API Testing & Mock Platform

Auto-generate API tests and mocks from real user traffic with zero code changes — faster than unit tests.

Source repo
keploy/keploy
Stars
★ 20k
Last updated
today v3.7.42
FARS reviewed
Nov 08, 2026 +48 new
License
Apache-2.0
Primary language
Go

At a glance

How it runs
CLI
Works with
Universal · cross-platform
Cost
Free tier plus a paid hosted plan
Setup effort
Low · running in minutes
You'll need
curlbashShell / CLINetwork accessLocal filesystem
Typical use
A developer uses keploy record during development to automatically capture real API traffic and turn it into regression tests without writing test code.
Not a fit if
  • Teams on Windows/macOS or without Linux kernel eBPF support
  • CI setups that cannot grant root or privileged containers
  • Teams needing dependencies whose protocols are not open-sourced
Website
keploy.io ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-12-02latest release v3.7.42 (2026-12-02)+10.9 ★/day over 7 days

What does this agent do, and when should you use it?

Keploy is an open-source API and integration testing platform that captures traffic at the network layer using eBPF, automatically turning API calls, database queries, and streaming events into test cases and mocks. It requires no SDKs or code modifications and works with any language or framework. Keploy virtualizes databases, message queues, and external APIs, enabling deterministic test replay. It provides unified coverage reports including statement, branch, and API schema coverage. AI-assisted test generation expands coverage by analyzing existing recordings and OpenAPI schemas. It integrates with CI/CD pipelines and offers a centralized mock registry.

Keploy runs the application under test with the keploy record command, intercepting network traffic via eBPF. It automatically records API requests/responses, database calls, and streaming events to generate test cases and mocks. The keploy test command replays these recordings offline, with optional time freezing for determinism. It calculates statement, branch, and API schema coverage. AI analyzes OpenAPI schemas and existing recordings to generate additional test cases covering boundary values, missing fields, and error scenarios. Generated mocks can also be used as server tests. Unified reports and a mock registry support CI/CD integration.

  1. A developer uses keploy record during development to automatically capture real API traffic and turn it into regression tests without writing test code.
  2. A QA engineer relies on Keploy's API schema coverage reports to verify business use-case coverage, replacing subjective assessments.
  3. A DevOps team integrates Keploy into CI pipelines (GitHub Actions, Jenkins) to run tests and generate coverage reports without external dependencies.
  4. A backend team tests complex distributed flows involving Kafka, RabbitMQ, or Postgres by virtualizing these dependencies and replaying deterministically.
  5. An organization improves test depth by having AI generate edge cases (boundary values, wrong types) beyond existing recordings and schemas.

How do you install or deploy this agent?

Install the Keploy Agent on a Linux environment with curl and bash:

curl --silent -O -L https://keploy.io/install.sh && source install.sh

How do you use this agent?

  1. Start your application under Keploy: keploy record -c "CMD_TO_RUN_APP" (e.g., keploy record -c "python main.py"). 2. Exercise the application to generate traffic. 3. Run tests offline: keploy test -c "CMD_TO_RUN_APP" --delay 10. Refer to the official documentation for advanced CLI options and CI/CD integration.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

What are this agent's strengths and limitations?

Pros
  • Zero code changes: captures traffic via eBPF at the network layer, supporting any language without SDKs.
  • Full infrastructure virtualization: mocks databases, message queues, and external APIs beyond HTTP, enabling deterministic tests.
  • Comprehensive coverage: measures statement, branch, and API schema coverage, catering to both developers and QA.
  • AI-driven test expansion: automatically generates additional test cases for boundary values and missing fields from OpenAPI schemas.
Limitations
  • eBPF requires Linux kernel support; Windows/macOS may need VMs or containers.
  • Non-open-source protocols for certain dependencies are not supported (likely enterprise-only).
  • Installation depends on curl and bash, which may fail in restricted environments.
  • Running eBPF may require elevated privileges (e.g., root), complicating some CI setups.

How does this agent compare with similar options?

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Keploy API Testing & Mock Platform This agent 51 · Major gaps CLIFreemium ★ 20k today Go —
qa-skills — QA Skill Framework for Coding Agents 78 · Good Agent plugin / skillFree ★ 72 2d ago Python Claude Code
Kane CLI 67 · Some gaps CLIFreemium ★ 270 1d ago JavaScript Codex · Claude Code
Supercov 78 · Good CLIFree + model costs ★ 176 today Rust Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
51/ 100 5-point scale 2.6 / 5
This review covers the source as of Nov 08, 2026. The project has shipped 48 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 11/29
Reliability 6/14
Adaptability 12/18
Convention 10/18
Effectiveness 7/13
Verifiability 5/8
Why each dimension lost points
Trust11 / 29 · 1.9/5

The source says Keploy captures traffic with eBPF and requires root for native Linux use. The quick-start install command fetches and runs a remote script, while README does not explain its permission scope or confirmation, so least privilege, confirmation, and external-effects handling are only partial. The PR skill warns against committing real traces, tokens, and production logs, and a sanitize command is listed, but default redaction coverage is not shown; sensitive-data handling earns 2. The dependency list is substantial, but no audit or vulnerability-response evidence is included, so dependency security earns 1. normalize and rerecord can accept newly observed results, but a general rollback process is not documented, earning 1. Project and community channels and a security-report email are named, but publisher identity is unverified and ownership of maintenance and updates is unclear, so source attribution earns 1.

Reliability6 / 14 · 2.1/5

The README describes recording, replay, and supported protocols; AGENTS.md adds Linux and container boundaries, but it is contributor guidance rather than a complete product specification, and the README quick start omits those platform differences, so self-consistency earns 1. The Go module pins direct dependency versions, while installation still depends on a remote script and README examples use external images; availability is only partly addressed, earning 1. AGENTS.md and the e2e scripts include concrete errors and diagnostic steps, but the evidence covers sample paths rather than all failures, so failure messages earn 2.

Adaptability12 / 18 · 3.3/5

The README targets developers and QA and describes API, integration, CI/CD, and multi-language scenarios, earning 2. AGENTS.md clearly states this repository build's Linux-native, Docker, and some architecture limits, also earning 2 for capability boundaries. Recording and test commands have concrete examples, but installation, capture triggers, and data scope are lightly described; trigger precision earns 2. Environment coverage spans Linux, Windows, macOS, and containers, though some product capabilities belong to builds outside this repository, earning 2.

Convention10 / 18 · 2.8/5

The README is organized by capabilities and quick start with documentation links; AGENTS.md adds useful commands, a platform table, and contribution guidance but is internal reference material, so information architecture earns 2. Quick start runs a downloaded installer script with curl and omits integrity checks, permission details, and alternatives, so install notes earn 1. CLI, package, and skill names appear reasonably stable in this sample, earning 2. The README supplies command examples, documentation links, and a Q&A entry point, earning 2. AGENTS.md identifies platform limitations and a command that is not registered, earning 2. LICENSE contains the full Apache License 2.0 text, earning 3. The supplied material has no release notes or change history, so versioning and changelog earn 1. A security contact and community channels exist, but named maintainers and support-response responsibility are unclear, earning 1.

Effectiveness7 / 13 · 2.7/5

Keploy turns recorded traffic into tests and mocks and offers replay, reports, and coverage outputs usable in a testing workflow, earning 2. Automated test generation and dependency virtualization have a clear stated use, but README claims about coverage and speed are mainly product assertions, earning 2. eBPF/root or container requirements and extra interception and image setup impose costs that the material does not quantify or compare with lighter alternatives, so cost-benefit earns 1.

Verifiability5 / 8 · 3.1/5

Several README capability claims correspond to the AGENTS.md command table and platform notes, and a source entry point is identified, earning 2 for traceability. The README, contributor guidance, Go dependency list, and e2e configuration provide some corroboration, but this is a limited sample that does not cover every product path, earning 2. Some platform facts and test procedures are concrete, while promotional assertions such as '90% test coverage' are unsupported by the supplied material; fact and inference separation earns 2.

Risks and how to mitigate them
  • The README quick start executes a script downloaded from the network; the supplied evidence does not describe script verification, permission scope, or the full set of system changes.
  • Recording captures real API and dependency traffic. The contribution guidance emphasizes data hygiene and lists a sanitize command, but the materials do not establish automatic redaction across all storage or sharing paths.
  • Native interception in this repository build is platform-limited: AGENTS.md says Linux requires root, while native macOS and Windows support depends on builds outside this repository or on containers.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 42ffb0fe64d4 New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/keploy.svg)](https://followagents.com/en/agents/keploy)
<a href="https://followagents.com/en/agents/keploy"><img src="https://followagents.com/badge/keploy.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v3.7.42
    Release notes excerpt
    v3.7.42 Highlights HTTP/1 Open-at-Stop After-Head & Partial-Body Watches - After-head open-at-stop recording & replay: Records long-poll and streaming HTTP/1 responses whose upstream sent its response head (and optional partial body bytes, chunked or Content-Length) and then went quiet prior to recording stop or process exit (EndAtExit, judged by capture instant). …
    View on GitHub ↗
  2. v3.7.41
    Release notes excerpt
    v3.7.41 Highlights DNS Resolution & Dual-Stack / DaemonSet Reliability - Dual-stack, multi-nameserver, and DaemonSet UDP DNS fix (Netty / Java & shared sockets): Fixes UDP DNS timeouts and reply-source mismatches for applications using dual-stack AF_INET6 sockets with IPv4-mapped addresses, shared unconnected UDP sockets querying multiple nameservers concurrently (such as Netty DnsNameResolver on NioDatagramChannel), and cross-network-namespace DaemonSet pods. …
    View on GitHub ↗
  3. v3.7.40
    Release notes excerpt
    Highlights gRPC - Streams record every message: a streaming call's every length-prefixed message is recorded (compressed ones inflated), not just the first, so server- and client-streaming calls replay. Each side is bounded by MaxGrpcInflateBytes; all messages count toward the 5 MB test-case limit, and an over-limit call is reported in the recording summary instead of dropped silently. …
    View on GitHub ↗

FAQ

Does Keploy work on Windows or macOS?
Since eBPF is a Linux kernel feature, Keploy primarily runs on Linux. macOS/Windows may require a VM or Linux container.
Do I need to modify my code to create tests?
No. Keploy intercepts traffic at the network layer via eBPF; no SDK or code changes are needed.
Which protocols and databases are supported?
HTTP/REST, gRPC, GraphQL are supported, along with databases like Postgres, MySQL, MongoDB, Redis, and message queues like Kafka and RabbitMQ.
How can I integrate Keploy into CI/CD?
Keploy's CLI can be run in any CI pipeline (Jenkins, GitHub Actions) and produces coverage reports.
Is Keploy fully open source?
It's Apache-2.0 licensed, but support for non-open-source protocols may be limited; enterprise version offers extensions.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts