Hero image of Tusk Drift test results for a PR

Install and initialize in under a minute.

$ curl -fsSL https://cli.usetusk.ai/install.sh | sh

$ tusk setup
import { TuskDrift } from "@use-tusk/drift-node-sdk";

TuskDrift.initialize({
  apiKey: process.env.TUSK_DRIFT_API_KEY,
  env: process.env.ENV,
});

export { TuskDrift };
Icon

Simulate real world traffic to
detect regressions

Our SDK records API calls made to and from your Node.js and Python service in production to cover thousands of edge cases

How it works

Why Tusk Drift?

Run fast, idempotent API tests without
requiring a live database or cache

Diagram showing how Tusk Drift tests the enabled service while intercepting outbound requests from the database and external service and mocking them with recorded data

Resolve regressions before they reach prod

Replay traces recorded from real traffic as tests to find unintended deviations in your PRs or locally via Tusk CLI. No need to write or maintain API tests.

Screenshot showing Tusk Drift trace test insights
Screenshot showing Tusk Drift observability dashboard

Security-first with built-in PII redaction

Configure PII redaction rules and prevent specific domains or endpoints from being recorded. Our SDK and CLI are open source for transparency.

Run the highest-signal API tests in your CI

Tusk's AI filters recorded traces to create a high-quality API test suite. Auto-match relevant traces to your PR's code changes and run them as tests in CI.

Screenshot showing Tusk Drift page with auto-generated API test suite

Get your full API test suite with 10 lines of code.

Get Cloud access
Image showing Tusk Drift observability dashboard