The State and Observer Patterns in a Python Agent Loop
LangGraph from Scratch, Phase 7: a loop that calls the model and runs tools until it answers, and a way to watch it run.
Oct 5, 202624 min read3

Search for a command to run...
Articles tagged with #design-patterns
LangGraph from Scratch, Phase 7: a loop that calls the model and runs tools until it answers, and a way to watch it run.

LangGraph from Scratch, Phase 6: building the embedder, the vector store and the retriever as three separate pieces.

LangGraph from Scratch, Phase 5: building Sequence, Branch, Parallel and Retry as steps.
