Agent Cassette
Record and deterministically replay LLM HTTP/SSE streams and MCP interactions for fast, zero-cost agent testing.
Agent Cassette is a deterministic VCR cassette recorder and offline replay proxy tailored for LLM and Model Context Protocol (MCP) agent workflows. It allows developers to capture complex multi-turn interactions, chunked token streams, and tool calls from providers like OpenAI, Anthropic, and Ollama, and replay them offline in CI environments in ~0ms without consuming API credits or needing GPUs. Built-in guardrails handle secret scrubbing, SSRF protection, loop breaking, and intelligent output truncation, while dedicated MCP tools make it simple to inspect cassettes, detect drift between agent runs, and prune stale entries directly inside AI-assisted editors.