Payment agent

TrueLayer sandbox · test money only

The concepts this agent runs on.

LangGraph gives you a state machine with a checkpointer. That covers most of what an agent handling money needs, and almost none of a free-running tool-calling loop. Below are the parts this one uses.

The page reads every excerpt out of the running deployment and finds it by parsing the file, so the code here is the code that ran. Nothing is pasted, and concepts this repository does not demonstrate are left out instead of described.

  1. Reading the source…

A payments flow is a deliberately small corner of the framework: it runs once, forwards, and stops. Cycles, dynamic fan-out with Send, subgraphs and rewinding a thread with get_state_history are all real LangGraph, and none of them appear here because this agent does not use them.

A video that covers the rest

LangGraph Tutorial - How to Build Advanced AI Agent Systems Tech With Tim Opens at 25:45