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.24 min read·thearchitectsmind.hashnode.dev12KAOct 5
Dependency Injection and Interface Segregation in a Python RAG RetrieverLangGraph from Scratch, Phase 6: building the embedder, the vector store and the retriever as three separate pieces.21 min read·thearchitectsmind.hashnode.dev1AOct 3
The Composite Pattern in a Python LLM PipelineLangGraph from Scratch, Phase 5: building Sequence, Branch, Parallel and Retry as steps.16 min read·thearchitectsmind.hashnode.devOct 1
Template Method, and Why Your LLM's Memory Isn't Its Chat HistoryLangGraph from Scratch, Phase 4: three ways to forget, one set of steps that never changes19 min read·thearchitectsmind.hashnode.devSep 27
Strategy and the Registry Pattern Never Clicked for Me Until a Model Started Calling My FunctionsLangGraph from Scratch, Phase 3: polymorphism again, except this time the model picks.15 min read·thearchitectsmind.hashnode.devSep 24