Introducing Icho v0.8.0: AI Test Datasets & Instant Replay

Snapshot Testing & Replay for LLM Applications

Turn LLM executions into searchable, reproducible cassettes. Search past requests ($ icho search "refund" --since yesterday) and replay them locally in 12ms to debug and validate fixes.

$ pip install icho
See Icho in Action
tests/integration_test.py

# Icho Snapshot Cassette Testing

from langchain_groq import ChatGroq

from icho import cassette

 

model = ChatGroq(model_name="llama-3.1-8b-instant")

 

# Automatically intercepts, records or replays

with cassette("tests/cassettes"):

response = model.invoke("Write a 3-word slogan for gravity.")

🟢⏱️ First run: 2.3 seconds (Recorded to cassette)

🚀⏱️ Second run: 12 ms (Replayed locally!)

See the Record & Replay Cycle

Interactive visualization showing what happens on the first run (recording network responses) versus subsequent runs (instant replaying).

🐍
Python Apppytest suite
ICHO
ICHO CASSETTE
Cache Middleware
LLM APIllama-3.1-8b
Latency:0.0s
Source:Waiting
ICHO LOGGER v0.3.0
Console empty. Click "Start First Run" above to simulate execution.

Replay vs. Network Comparison

Live Network: 2300ms100%
Icho Replay: 12ms0.5% (250x Faster)
Requests0
Est. Cost$0.00
Integrity---
Execution Search & CLI Suite

Searchable AI Executions & Instant Replay

Icho is not just an API snapshot decorator; it turns past AI executions into a searchable vector index. Query by prompt text, filter by time (--since yesterday), and instantly replay locally to reproduce bugs.

zsh (local) • Icho v0.8.0
$icho test tests/customer_support/ --mode regression --threshold 0.85 --fail-on-drift

================================================================================

🧪 Icho AI Dataset Test Suite Runner (v0.8.0)

Target Domain: tests/customer_support/ (Found 3 cassette files)

================================================================================

✓ greeting.yaml [PASSED] 12ms (Match score: 1.00 - Replayed)

✓ refund.yaml [PASSED] 14ms (Match score: 0.98 - Replayed)

✓ complaint.yaml [PASSED] 11ms (Match score: 0.94 - Replayed)

--------------------------------------------------------------------------------

Suite Summary: 3/3 PASSED | 0 Failed | Total Time: 37ms | Drift: 0.00%

✨ Parallel Worker Pool (-j 4) active • Zero API Costs Accrued