ResiliReplay
ResiliReplay
Turn a failed tool call from a supported coding agent into sanitized, deterministic, executable regression evidence.
MCP Inspector shows what a server does. ResiliReplay proves what happens when it fails, whether it recovers safely, and whether that recovery stays fixed. It is a local-first reliability layer, not another agent, observability dashboard, LLM evaluator, sandbox, or security certification.
npx --yes resilireplay@0.6.0 demo
npx --yes resilireplay@0.6.0 connect --agent auto --dry-run
npx --yes resilireplay@0.6.0 mcp serve
Static PNG · genuine transcript · self-contained regression · product site
The MCP Reliability Standard
The public working standard defines the minimum evidence for a bounded MCP reliability claim: pinned identity and authority, a clean control, deterministic fault, expected-failure negative control, bounded recovery, integrity hashes, executable regression when causal failure exists, and verified cleanup. It is an open testing convention—not the MCP specification, certification, security testing, or an endorsement.
Read the standard · run the five-minute MCP test · compare seven executed profiles · contribute a case

Static PNG · verified transcript · campaign · generated regression
Related MCP server: repo-seatbelt
Try it in under five minutes
Requirements: Node.js 22 or 24. Previewing is side-effect free; applying requires confirmation, backs up existing files, and leaves capture off.
npx --yes resilireplay@0.6.0 connect --agent auto --dry-run
npx --yes resilireplay@0.6.0 connect --agent claude-code
npx --yes resilireplay@0.6.0 connect --agent codex
npx --yes resilireplay@0.6.0 connect --agent hermes
npx --yes resilireplay@0.6.0 capture start
# reproduce one safe supported tool failure in the agent
npx --yes resilireplay@0.6.0 capture last
npx --yes resilireplay@0.6.0 capture stop
npx --yes resilireplay@0.6.0 capture generate-testconnect --dry-run prints the exact repository-local file operations and hashes without writing files or starting a process. Apply preserves unrelated settings, installs the portable skill, and records a recoverable backup. Use resilireplay connect --rollback to restore the latest backup. Capture is opt-in and passive: hooks never inject a fault or retry a failed operation. Hermes intentionally stages reviewable repository files and prints the official hermes mcp add follow-up instead of silently editing the global Hermes profile.
The in-agent request is:
Use ResiliReplay to capture this session’s tool failures, explain the recovery boundary, and turn the last supported failure into a regression test.
What is genuinely supported?
The v0.6 framework layer separates runtime proof from protocol fixtures and documentation:
Framework | Version/profile | Evidence | Local boundary |
LangGraph | 1.4.9 |
| Real graph, tool, retry, timeout, stream, checkpoint, and subgraph runs |
OpenAI Agents SDK | 0.14.3 |
| Public SDK with a deterministic local/no-key model |
AutoGen | >=0.4 profile |
| Compatible OTLP fixture through the neutral bridge |
CrewAI | >=0.100 profile |
| Public event-listener mapping |
LlamaIndex | >=0.12 profile |
| Public instrumentation mapping |
pnpm demo:frameworks
pnpm exec resilireplay adapter detect --package @langchain/langgraph
pnpm exec resilireplay adapter doctor openai-agentsSee the framework quick starts and support policy.
Coding-agent and MCP surfaces inherited from v0.5 are re-gated in v0.6:
Surface | v0.6.0 evidence | Result |
Claude Code 2.1.222 | INSTALLATION VERIFIED + FIXTURE VERIFIED | Official manifest validation, isolated marketplace install, installed |
OpenAI Codex CLI 0.146.1 | INSTALLATION VERIFIED + FIXTURE VERIFIED | Isolated local-marketplace install, installed |
Hermes Agent 0.20.0 | INSTALLATION VERIFIED | Portable local skill discovered; ResiliReplay stdio MCP registered, connected in 578 ms, and exposed nine tools. No safe local model was available. |
MCP SDK/stdio | LIVE VERIFIED | Real SDK client discovery/calls and ResiliReplay self-audit pass without recursive tool execution. |
Generic adapter contract | FIXTURE VERIFIED | Golden output, privacy, bounds, entrypoint containment, and concurrent determinism pass. |
| DOCUMENTED ONLY | Portable package validates against the official Agent Skills reference, but no client-specific runtime claim is made. |
Cursor, Gemini CLI, OpenCode, Goose, VS Code | DOCUMENTED ONLY | Candidate adapter surfaces only; not runtime-verified in v0.6.0. |
Evidence labels are defined in the compatibility matrix. Vendor names describe factual interoperability and do not imply endorsement.
Claude Code plugin
The repository is a Claude Code marketplace, so the public install path is:
/plugin marketplace add aliengineering-byte/resilireplay
/plugin install resilireplay@resilireplayThe plugin contains .claude-plugin/plugin.json, stable PostToolUse, PostToolUseFailure, and Stop hooks, the portable skill, and the stdio MCP registration. The installed hook accepts stdin only, writes no stdout, validates CLAUDE_PLUGIN_ROOT, uses CLAUDE_PLUGIN_DATA only as vendor-owned writable state, and remains inert until capture is armed. See plugin operations and rollback.
Codex plugin
Codex discovers the repo marketplace at .agents/plugins/marketplace.json; the CLI test path is:
codex plugin marketplace add aliengineering-byte/resilireplay
codex plugin add resilireplay@resilireplayThe plugin contains .codex-plugin/plugin.json, the same skill and MCP server, and a bundled PostToolUse/Stop hook runtime. It distinguishes non-zero shell results, MCP errors/success, file edits, interruptions, duplicates, oversized payloads, secret-shaped input, and unsupported hosted-tool fixtures without assuming every delivered event succeeded. PLUGIN_ROOT is immutable; PLUGIN_DATA is vendor-owned writable state. See plugin trust boundaries.
Universal ResiliReplay MCP server
npx --yes resilireplay@0.6.0 mcp serveThe default transport is stdio. Nine annotated tools cover status/version, fault discovery, sanitized target inspection, campaign validation, passive capture start/stop, last-failure evidence, regression generation, and explicitly confirmed campaign execution. Read-only, destructive, idempotent, and open-world annotations are declared. Regression writes require the exact evidence SHA-256; campaign execution requires the exact reviewed campaign SHA-256 and retains the existing allowlists and remote-target boundary.
Stable schemas and adapter contract
The canonical integration engine is @resilireplay/agent; vendor hooks are thin adapters. Public v1 schemas are:
Create and verify an adapter without changing the engine:
npx --yes resilireplay@0.6.0 adapter init my-agent-adapter
npx --yes resilireplay@0.6.0 adapter verify ./my-agent-adapter“ResiliReplay Compatible” means only that the published conformance suite passed. Read the adapter contract, minimal adapter, and badge rules.
Existing v0.4 workflows remain supported
resilireplay adopt --config ./mcp.json --dry-run
resilireplay studio --open
resilireplay campaign validate campaign.yml
resilireplay campaign run campaign.yml --confirm-tools <reviewed-sha256>
resilireplay campaign approve runs/candidate --output baselines/main.json
resilireplay campaign compare runs/current --baseline baselines/main.json
resilireplay record --output runs/agent/trace.jsonl -- node agent.js
resilireplay inject --trace runs/agent/trace.jsonl --scenario malformed-json --seed 42 --output runs/agent/failed.jsonl
resilireplay replay --trace runs/agent/failed.jsonl --report-dir runs/agent/report
resilireplay generate-test --trace runs/agent/failed.jsonl --output runs/agent/regression
resilireplay mcp audit --inspector-config ./mcp.json --server my-server --dry-runCampaign exit codes remain 0 pass, 1 reliability failure/regression, 2 usage, 20 invalid schema, 21 target/authorization, 22 execution, 23 cancelled/incomplete, and 24 integrity failure. See the v0.5 migration guide, campaign schema, and MCP Inspector integration.
Privacy, security, and measured bounds
Capture is off by default. No telemetry, cloud account, billing, background upload, raw prompt, full transcript, environment value, authorization header, token, unrestricted tool body, or personal path is persisted by default.
Session and tool-call identifiers are one-way SHA-256 projections. Bodies become hashes; summaries are redacted and capped at 512 characters.
Capture is capped at 20,000 events and 32 KiB per normalized event. State and evidence use atomic replacement; the locked append-only journal repairs an interrupted trailing record.
Hook writers are serialized, duplicate tool-call outcomes are ignored, symlink/junction escapes fail closed, and generated regressions refuse overwrite.
Hooks never execute a target, retry a call, or inject a failure. Explicit campaigns retain their review, allowlist, hash confirmation, retry, and cleanup controls.
On the recorded Windows Node 24 release workload, 20,000 synthetic normalized events took 898 ms, produced 13,414,112 bytes, and used a measured 100,171,776-byte RSS delta including the 20,000-event input array. In-process single-event capture measured 14.94 ms median and 18.43 ms p95 across 100 samples; startup was 20.48 ms and cleanup 31.55 ms. These workloads are not equivalent to end-to-end agent latency and are not comparative claims. CI regenerates the report with pnpm agent:gates.
Read SECURITY.md, THREAT_MODEL.md, limitations, and release evidence.
Architecture
Package | Responsibility |
| Canonical schemas, hook normalization, capture, evidence, adapters, connect/rollback. |
| Versioned traces, redaction, deterministic faults/scoring, path safety. |
| Neutral framework contract, registry, profiles, callback mapping, and templates. |
| Pinned LangGraph runtime capture and normalization. |
| Pinned OpenAI Agents local/no-key capture and normalization. |
| OTLP span ingestion through the neutral framework contract. |
| Canonical JSONL and failed-trace-to-regression compilation. |
| Authorized MCP discovery, allowlisted calling, mutation, and evidence. |
| Strict campaigns, bounded runner, baselines, comparisons, and CI evidence. |
| Loopback browser workflow over the same campaign APIs. |
| Self-contained cross-platform CLI and universal stdio MCP server. |
Development
corepack enable
pnpm install --frozen-lockfile
pnpm quality
pnpm demo:frameworks
pnpm test:e2e
pnpm site:test
pnpm release:gates
pnpm agent:gatesResiliReplay is Apache-2.0 licensed. Contributions must remain deterministic, bounded, secure by default, and covered by tests. See CONTRIBUTING.md, CODE_OF_CONDUCT.md, public adoption policy, and the ecosystem page.
Built and maintained by Ali.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityAmaintenanceMCP server that lets coding agents test AI agents. Create YAML test cases, snapshot golden baselines, check for regressions, and generate visual reports all from inside Claude Code or any MCP-compatible tool. Works with LangGraph, CrewAI, OpenAI, Claude, Mistral, and any HTTP API.1012128Apache 2.0
- Alicense-qualityCmaintenanceRuntime safety guardrails for AI coding agents. Checks file access, validates shell commands, and scores your repo's AI safety — all via MCP.78MIT
- Alicense-qualityBmaintenanceLocal-first code intelligence and safety layer for AI coding agents. MCP server exposes dependency graph, impact analysis, and AST-compressed repo context, backed by typed local memory, patch-scope safety gates, and git-independent transaction rollback.MIT

io.github.phoeniceofficial
AlicenseAqualityCmaintenanceContract-driven test enforcement and reporting for LLM-generated code via MCP, VS Code, Copilot CLI, Claude, Cursor, or Python SDK.14MIT
Related MCP Connectors
Agent Replay Debugger MCP — record every agent step + deterministic replay. Step-debugger for
User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.
Artifact store for AI agents. Hosted OAuth at mcp.artifacta.io/mcp; local stdio via npm/PyPI.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/aliengineering-byte/resilireplay'
If you have feedback or need assistance with the MCP directory API, please join our Discord server