AI product Open source

ToolReplay

ToolReplay is a dependency-free Python CLI for auditing recorded AI-agent tool-call transcripts without executing the tools again. It strictly parses JSON Lines records, compares repeated calls and their canonicalized responses to detect non-determinism and redundant calls, checks tool names against a declared permission scope, and produces deterministic, timestamp-free reports suitable for CI checks and Git diffs.

View repository Mentioned in 1 video ↓

Overview

It can seal transcripts into a SHA-256 hash chain, verify the chain for edits or reordered records, replay a session against its recorded responses, and report permission overreach. It requires Python 3.11 or newer, has no third-party runtime dependencies or network access, and is distributed under the MIT license. Its scope checks are name-based, sealing is tamper detection rather than a signature, and replay only detects issues represented in the recorded transcript.

What ToolReplay is used for

1 use taken from transcripts — each links to the moment in the video.

  • Audits recorded AI-agent tool calls without executing them again. Its Python CLI detects repeated calls, inconsistent responses, and unauthorized tools, producing reproducible reports suitable for Git comparison or CI checks.

Videos mentioning ToolReplay

1 in the library.