Skip to content
reaatechREAATECH

reaatech/agent-replay

0Last commit: May 20, 2026GitHub →

These packages give you a deterministic recording and replay system for AI agent interactions. You'd adopt them to debug agent behavior without burning LLM tokens on every iteration — record a trace once, then replay it in stubbed, partial, or diff modes for zero-cost debugging and regression testing. The system is built around a trace-based data model with hierarchical spans and events, with interceptors that monkey-patch OpenAI and Anthropic SDKs transparently, so recording happens without modifying your agent code.

Packages

7 packages

@reaatech/agent-replay

v0.1.0
A convenience re-export package that provides the complete public API of the Agent Replay ecosystem—core engine, LLM interceptors, and shared types—from a single import.
status
published
published
15 days ago

@reaatech/agent-replay-cli

v0.1.0
A CLI tool for recording, replaying, debugging, and comparing AI agent traces, providing five subcommands (`record`, `replay`, `explore`, `diff`, `debug`) that operate on `.artrace.json` trace files.
status
published
published
15 days ago

@reaatech/agent-replay-core

v0.1.0
Recording and replay engine for AI agent traces, providing a `RecordingEngine` to capture span-structured interactions with events and checkpoints, and a `ReplayEngine` to deterministically replay those traces in stubbed, live, or partial modes without consuming LLM tokens.
status
published
published
15 days ago

@reaatech/agent-replay-integrations

v0.1.0
Provides callback handlers (`createLangChainHandler`) and state machine hooks (`createLangGraphHooks`) that record LangChain and LangGraph agent interactions into traces, returning handler objects compatible with each framework's interfaces.
status
published
published
15 days ago

@reaatech/agent-replay-interceptors

v0.1.0
Monkey-patches OpenAI and Anthropic SDK clients to transparently record all LLM API calls into Agent Replay traces, providing `OpenAIInterceptor` and `AnthropicInterceptor` classes that wrap `client.chat.completions.create` and `client.messages.create` respectively. Requires `@reaatech/agent-replay-core` for the `RecordingEngine`.
status
published
published
15 days ago

@reaatech/agent-replay-shared

v0.1.0
Shared types, interfaces, error classes, and configuration for the Agent Replay ecosystem, providing the canonical trace model shapes, LLM provider abstractions, and storage contracts as pure TypeScript exports with zero runtime dependencies.
status
published
published
15 days ago

@reaatech/agent-replay-web-ui

pending npm
Web-based trace viewer for Agent Replay that provides an interactive UI for exploring recorded agent traces, including span timelines, event inspection, checkpoint navigation, and diff visualization.
status
awaiting publish

Comments

Sign in with GitHub to comment and vote.

Loading comments…