What is Session Replay? Record every
put, find, and ask operation during an agent session, then replay it with different parameters, models, or frozen context for debugging and auditing.Overview
1
Record
Start a session and perform operations (
put, find, ask). Every action is captured with full context.2
Save
End the session. Frames, results, answers, tokens, cost, and grounding scores are persisted.
3
Replay
Re-run the session with different parameters or frozen context to debug or audit.
Debug Mode
Re-execute searches with different
--top-k or --adaptive settings to find why results were missedAudit Mode
Freeze retrieval context and replay with different LLMs using
--audit --use-model --diffKey Features
Quick Example
How It Works
1. Start Recording
2. Perform Operations
All operations are recorded with full context:3. End Session
4. View Session Details
Replay Modes
Debug Replay (Re-executes Search)
Standard replay re-runs retrieval to compare results:Audit Replay (Frozen Context)
Audit mode uses the exact frames from the original session:Model A/B Testing
Compare different models with identical context:Replay Options
Token & Cost Tracking
Everyask operation tracks token usage and estimated cost:
Supported Models & Pricing (Dec 2025)
Grounding & Hallucination Detection
Every answer is scored for grounding - how well it’s supported by the retrieved context:
When grounding is low, you’ll see a warning:
Answer Caching
Repeated questions with the same context return cached answers instantly:model + query + context hash
Use Case Examples
1. Debug Missing Results
2. Compliance Audit Trail
3. Model Comparison
CLI Commands Reference
SDK Support
Python SDK (Full Support)
Node.js SDK
Best Practices
- Use descriptive session names: Include date and purpose, e.g., “Fraud Detection Audit 2024-12-27”
- Record minimal reproductions: Capture just enough to reproduce the issue
- Use audit mode for compliance: Frozen context ensures reproducibility
- Compare models with identical context: Use
--audit --use-model --difffor fair comparisons - Monitor grounding scores: Low scores indicate potential hallucination
Next Steps
CLI Reference
Full CLI reference for session commands
Python SDK
Session recording in Python
LLM Providers
Configure OpenAI, Claude, Gemini, and more
Adaptive Retrieval
Learn about adaptive retrieval strategies