Tüm roadmap'e dön
topicadvanced★ Pro
Deterministic Replay
Fail eden agent run'ını seed + mock tool ile birebir replay et — root cause analysis için altın.
2 saat1 önkoşul
Production agent fail ettiğinde "neden?" sorusu zor. Deterministic replay:
- Seed model output:
seedparameter (OpenAI) ile aynı output'u alma şansı (yine de %100 garanti değil) - Tool mock: tool çağrılarını record edip replay'de mock'la — agent yeniden çalışsın ama gerçek API'lere git etmesin
- Snapshot state: her LLM call öncesi/sonrası state snapshot
- Diff view: orijinal run vs replay run side-by-side
Langfuse/LangSmith bu pattern'i destekler.