# Stampede: Load Test Your API Before Launch

> Your agent load-tests your own API: detects the product type, installs realistic user journeys, fixes them for your routes, ramps safely from smoke to breakpoint, and tells you where it breaks and how to fix it.

Stampede: Load Test Your API Before Launch is a free AI agent skill on Agensi by Ivan Bhargava, in Testing & Debugging. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Ivan Bhargava](https://www.agensi.io/creators/ivan-bhargava)
- Category: [Testing & Debugging](https://www.agensi.io/skills/testing-debugging)
- Version: 1.0
- Last updated: 2026-11-23
- Security: scan passed (2026-11-23); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/stampede-load-test-your-api-before-launch
- Tags: testing, load-testing, benchmarking, devops, api, performance, stress-testing

## About this skill

Stampede is an open-source load tester (Apache-2.0): one binary, no server or account. This skill turns your coding agent (Claude Code, Codex, Cursor and others) into a careful performance engineer that drives it end to end.

### What your agent does

- **Detects your product** (OpenAPI, auth discovery, headers) and installs the closest of 20 ready-made journey packs: e-commerce, SaaS, ticketing, LLM apps over SSE, chat, fintech, identity and more.
- **Fixes the journeys for your API** by reading your routes and response shapes, until every journey passes a one-user dry run.
- **Picks the right test** (smoke, baseline, stress, spike, soak, breakpoint, steps, recovery, wave) and ramps in a safe order, with an auto-abort on shared environments.
- **Reads the report for you**: verdict, failed targets, the breaking point and the knee, the slowest step, and the errors with examples. Then it maps them to likely causes (N+1 queries, small connection pools, lock contention, retry storms...) and checks your code before suggesting fixes.
- **Proves a fix** with repeated before/after runs that Stampede compares against the noise.
- **Adds a smoke test to CI** with the GitHub Action.

### Safe by design

- Only tests targets you own. Defaults to localhost or staging, and production needs your explicit yes for that exact URL.
- Respects Stampede's guards: unverified public hosts are capped, and requests can't leave the target host.
- Test accounts only. Secrets come from your environment, never from chat or files.
- Tells you when the load generator, not your system, is the bottleneck.

### Requirements

- The `stampede` binary (Homebrew, Scoop, a checksum-verified release download, or `go install`; no piped install scripts).
- An API or web app you own, running locally or on staging.
- Source and docs: https://github.com/Ivan825/Stampede

## Requires

- Stampede CLI
- An API or web app you own (local or staging)

## Known limitations

Public hosts are capped at 50 VUs/10 mins until verified. Generator saturation can skew results on small machines. Dry runs send real requests to targets.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Stampede: Load Test Your API Before Launch skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What types of APIs and protocols can Stampede test?

HTTP (including HTTP/2), GraphQL, server-sent events (handy for LLM streaming APIs), WebSocket, gRPC, and real browser journeys, plus plugin steps for things like MQTT or SQL. The ready-made packs cover 20 product types; anything else can be written as a scenario.

### What is in this skill?

One SKILL.md that turns your agent into a careful load-testing operator: safety rules, install steps, how to adapt packs to your API, which test shape answers which question, how to read every part of the report, a symptom-to-cause-to-fix table, before/after comparison and CI setup. Stampede itself is free and open source (Apache-2.0).

### How does the skill prevent me from accidentally crashing my own production environment?

The skill only tests targets you own, defaults to localhost or staging, and needs your explicit yes for a production URL along with the peak rate and duration. It ramps from a dry run to smoke before anything heavy, adds an auto-abort on shared environments, and stops when errors climb. Stampede itself keeps requests on the target host and caps unverified public hosts.

### Why should I use this skill instead of just asking an LLM to write a load test script?

A hand-written script tells you numbers; this tells you what they mean. Stampede checks each journey with one user before adding load, separates the knee and breaking point, flags when the load generator rather than your app is the bottleneck, and judges before/after changes against run-to-run noise. The skill then reads your code to back up the likely cause.

### How are updates to the Stampede CLI and testing packs handled?

Stampede updates through your package manager (brew upgrade stampede, or scoop). The packs ship inside the binary, so they update with it. Skill updates appear here as new versions of the listing.

### Are there any limits to the amount of traffic or Requests Per Second (RPS) I can generate?

Local and private addresses have no built-in cap; the limit is the machine running Stampede, and the report tells you when that machine is the bottleneck. A public host you haven't verified is capped at 50 iterations per second, 50 users and 10 minutes until you prove ownership with a DNS record or a file on the site.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
