Skip to main content
4x faster search. Better long-horizon performance. Warp Grep is purpose-built for AI coding agents that need to find code fast and stay on track across multi-step tasks.
Requires rg (ripgrep) installed. No embeddings, no index setup — works anywhere.

Why Warp Grep?

4x Faster Search

Sub-second retrieval across large codebases. Speed matters when humans are in the loop — every second of latency increases the chance of breaking flow.

Better Long-Horizon Performance

Reduces context pollution by returning only relevant code. Agents stay on track across 10, 20, 50+ step tasks without getting lost in irrelevant files.
Warp-Grep Performance
@swyx and @cognition pin P(breaking_flow) at +10% every 1s. For coding agents, speed is critical.

Quick Start

For personal use we strongly recommend using warp grep through our MCP. Warp grep is also available through the SDK as:
import { MorphClient } from '@morphllm/morphsdk';

const morph = new MorphClient({ apiKey: process.env.MORPH_API_KEY });

const result = await morph.warpGrep.execute({
  query: 'Find authentication middleware',
  repoRoot: '.'
});

if (result.success) {
  for (const ctx of result.contexts) {
    console.log(`File: ${ctx.file}`);
    console.log(ctx.content);
  }
}

Pricing

Free until Dec 14th, then $0.40 per 1M tokens.
TypePrice
Input$0.40 per 1M tokens
Output$0.40 per 1M tokens

Next Steps