Testing, Versioning & Release
How do I test durable agent workflows that use LLM calls?
You can validate LLM-integrated durable agent workflows using Diagrid Catalyst’s production-grade, purpose-built replayable test harnesses tailored for both deterministic and probabilistic testing. Isolate external LLM calls with schema-aligned mock responses to avoid real API interactions during local or staging testing, then replay core workflow steps to confirm predictable state transitions without unintended side effects. Take care to match mock response schemas and expected behavior closely, as mismatched data can disrupt replay validation checks.
Was this article helpful?
Your feedback helps improve Diagrid's FAQ experience.
Keep reading
More Diagrid FAQ articles
- Testing, Versioning & Release
What staging environment requirements apply to durable agent workflows?
Outlines key staging considerations for deploying and validating durable agent workflows before moving them to production environments.
- Testing, Versioning & Release
How do versioning strategies work for durable agent workflows?
Explains core versioning approaches for managing updates to durable agent workflow definitions and their associated execution runs.
- Testing, Versioning & Release
What happens if I update a workflow definition while runs are active?
Covers safe practices for modifying workflow definitions while in-progress runs continue executing without unexpected interruptions.