How GitLab runs a stateless LangGraph agent on a custom checkpointer
GitLab Duo's agent service, the Duo Workflow Service behind GitLab Duo Agent Platform, writes every LangGraph checkpoint into GitLab's own Postgres, yet the service has no connection to that database. Each checkpoint read and write travels down the user's own gRPC stream. The client (an IDE, the CLI or Workhorse) makes the HTTP call to GitLab and hands back the answer.
A LangGraph agent service can keep nothing about a session between requests if a custom LangGraph checkpointer writes into the database the product already has. Inside a request, it still holds the whole run in memory.
The Duo Workflow Service (DWS) pays for this with a second copy of LangGraph's persistence layer. That price is right for GitLab. For most teams it is wrong, for the reason in the last section.
On 2026-11-21 I measured 60 big-company public repos for LangGraph depth. Of the 18 deep users, GitLab's ai-assist ranked second, with 56 production files importing LangGraph and 61 checked-in graphs. Five of the 18 run their product on a saver they wrote, and only GitLab relays checkpoint writes through the client.
Everything I say about DWS comes from reading ai-assist's main branch as of 2026-11-23. I did not run DWS, did not call GitLab's API, and measured no latency.
