İçeriğe geç
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:

  1. Seed model output: seed parameter (OpenAI) ile aynı output'u alma şansı (yine de %100 garanti değil)
  2. 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
  3. Snapshot state: her LLM call öncesi/sonrası state snapshot
  4. Diff view: orijinal run vs replay run side-by-side

Langfuse/LangSmith bu pattern'i destekler.

Önce bunları bil