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
- FA score
- 51/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platform
- Cost
- Free tier plus a paid hosted plan
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- A developer uses
keploy recordduring 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
- Source review
- 51/100 · Major gaps
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.
- A developer uses
keploy recordduring development to automatically capture real API traffic and turn it into regression tests without writing test code. - A QA engineer relies on Keploy's API schema coverage reports to verify business use-case coverage, replacing subjective assessments.
- A DevOps team integrates Keploy into CI pipelines (GitHub Actions, Jenkins) to run tests and generate coverage reports without external dependencies.
- A backend team tests complex distributed flows involving Kafka, RabbitMQ, or Postgres by virtualizing these dependencies and replaying deterministically.
- 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.shHow do you use this agent?
- 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)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- 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.
- 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?
Why each dimension lost points
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.
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.
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.
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.
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.
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.
- 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.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
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 ↗ -
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 ↗ -
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?
Do I need to modify my code to create tests?
Which protocols and databases are supported?
How can I integrate Keploy into CI/CD?
Is Keploy fully open source?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.