Getting Started & Migration
How do I add Diagrid durable execution to an existing LLM framework agent without a full rewrite?
Wrap the agent’s decision function into a Diagrid workflow definition, keeping the original framework code largely intact. Diagrid handles state persistence and retries around each interaction with the LLM or tools. This incremental approach preserves your investment. Note that non-idempotent side effects may require compensating logic to maintain consistency during retries.
Was this article helpful?
Your feedback helps improve Diagrid's FAQ experience.
Keep reading
More Diagrid FAQ articles
- Getting Started & Migration
What does a minimal but realistic durable agent look like when I first run Diagrid locally?
A realistic durable agent prototype that progresses from a call to an LLM through a conditional action to an API, illustrating automatic state persistence.
- Getting Started & Migration
How do I iterate quickly on durable agent logic without deploying to a shared cluster?
Use a local Dapr sidecar to execute and debug agent workflows, enabling a fast edit-run-debug cycle without remote dependencies.
- Getting Started & Migration
My agent is already built with LangChain/LlamaIndex. Can I add durable execution without a rewrite?
Wrap an existing agent’s entry point in a Diagrid workflow to gain durability without modifying framework internals, then progressively refactor.