
IntermediatePart 2
Hand work between LangGraph agents without corrupting shared state
A supervisor routes work to specialists, an agent hands off mid-task, and two agents write the same state key in the same step. One of those raises an error rather than picking a winner — and the routing decision costs 412 output tokens to say one word.
AIAgentsself-hostinglanggraph
August 26, 202618 min read
Read more
IntermediatePart 1
Checkpoint a LangGraph agent on a WEC Instance so crashes cost you nothing
Persist agent state to Postgres on a WEC Instance, call a model on the WEC Inference API, then kill the process mid-run twice and resume both times from exactly where it stopped — plus the human-approval pause, and the interrupt that silently fires your side effects twice.
AIAgentsself-hostinglanggraph
August 26, 202621 min read
Read more