Skip to main content
Represent Darwin identifiers and states directly in your graph rather than keeping them only in messages. Copy the LangChain / LangGraph MCP recipe.

Suggested state

Use separate nodes or tools for Search, Start, Get, Update, Approve, and Stop. Route from availableActions; do not infer valid transitions from elapsed time or model prose. Checkpoint before and after each Action mutation so retries can reuse the same requestId and avoid duplicate work.

Suggested nodes

Never route directly from model sentiment such as “looks done.” Route from Darwin’s structured response and checkpoint the result.
Last modified on September 22, 2026