The State and Observer Patterns in a Python Agent LoopLangGraph 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, 2026·24 min read·12