Skip to content

Deterministic Replay

Install

Terminal window
pip install briefcase-ai[replay]

Quick Example

from briefcase.replay import ReplayEngine
engine = ReplayEngine()
snapshot = engine.load("snapshot-id")
result = engine.replay(snapshot)

Key Classes

  • ReplayEngine — loads and re-executes snapshots
  • ModelExecutor — pluggable executor for different model providers

Configuration

OptionDefaultDescription
strict_modeTrueFail if model parameters have changed
timeout_ms30000Maximum replay execution time