Teach & learn

Training & notes

Python, finance, fintech, AI, machine learning, and adjacent topics — structured for reuse.

All AI Agents LLM LangGraph

AI Agents

AI Agent

AI Agent

beginner

AI agents are systems that go beyond answering questions—they can understand goals, make decisions, and take actions autonomously. Powered by models like ChatGPT, they …

AI agent LangChain LangGraph Python

AI Agents

LangGraph

LangGraph

intermediate

LangGraph Deep Dive Series In this series, we explore how to build powerful, production-ready AI workflows using LangGraph. We’ll go beyond simple prompt chains …

AI agent LangGraph Python

AI Agents LLM

Large Language Models (LLMs)

Large Language Models (LLMs)

beginner

Large Language Models (LLMs) are the core intelligence behind AI agents. They enable agents to understand language, reason through problems, and plan actions. Models …

AI agent LangChain LangGraph Python

AI Agents LangGraph

LangGraph START/END points

LangGraph START/END points

intermediate

In LangGraph, every graph workflow requires a clearly defined starting point and ending point. LangGraph provides two special built-in markers for this purpose: START …

AI agent LangChain LangGraph Python

AI Agents LangGraph

Nodes in LangGraph

Nodes in LangGraph

intermediate

In LangGraph, a node is the fundamental building block of any workflow. It is a reusable unit of logic that receives the current state, …

AI agent LangChain LangGraph Python

AI Agents LangGraph

Edges in LangGraph

Edges in LangGraph

intermediate

In this topic, we explore edges in LangGraph and understand how they control execution flow between nodes in a graph-based workflow. We discuss why …

AI agent LangChain LangGraph Python

AI Agents LangGraph

Conditional Edges in LangGraph

Conditional Edges in LangGraph

intermediate

In this topic, we explore conditional edges in LangGraph and understand how they enable dynamic and intelligent workflow execution. We discuss the difference between …

AI agent LangChain LangGraph Python

AI Agents LangGraph

Cycles and Self-Loops in LangGraph

Cycles and Self-Loops in LangGraph

intermediate

In this topic, we explore cycles and self-loops in LangGraph and understand how they enable iterative, adaptive, and autonomous AI workflows. We discuss the …

AI agent LangChain LangGraph Python

AI Agents LangGraph

StateGraph vs MessageGraph

StateGraph vs MessageGraph

intermediate

In this topic, we explore the differences between StateGraph and MessageGraph in LangGraph, how each graph type works, and when to use them in …

AI agent LangChain LangGraph Python

AI Agents LangGraph

Graph Compilation in LangGraph

Graph Compilation in LangGraph

intermediate

In this topic, we explore graph compilation in LangGraph and understand how a graph is transformed from a builder definition into an executable workflow. …

AI agent LangChain LangGraph Python

AI Agents LangGraph

Graph Visualization in LangGraph

Graph Visualization in LangGraph

intermediate

In this topic, we explore graph visualization in LangGraph and learn how to visually inspect workflow structures, execution flows, nodes, edges, cycles, routing logic, …

AI agent LangChain LangGraph Python

AI Agents LangGraph

State in LangGraph

State in LangGraph

intermediate

This post explores everything about State in LangGraph, how it works as shared memory between nodes, how data flows through graphs, and how state …

AI agent LangChain LangGraph Python

AI Agents LangGraph

Reducers

Reducers

intermediate

This post covers everything you need to know about Reducers in LangGraph — how they manage and merge state updates across nodes, especially during …

AI agent LangChain LangGraph Python

AI Agents LangGraph

Messages & Chat History

Messages & Chat History

intermediate

This post explores how messages work in LangGraph , including HumanMessage , AIMessage , SystemMessage , and ToolMessage . We cover storing messages in …

AI agent LangChain LangGraph Python

AI Agents LangGraph

System Prompts

System Prompts

intermediate

This post covers everything about System Prompts in LangGraph — how they define AI behavior, roles, and instruction hierarchy. We explore persona design, safety …

AI agent LangChain LangGraph Python

AI Agents LangGraph

Prompt Templates

Prompt Templates

intermediate

This post explores Prompt Templates in LangGraph and LangChain , including static and dynamic templates, template variables, reusable prompt components, and template composition. We …

AI agent LangChain LangGraph Python

AI Agents LangGraph

Prompt Chaining

Prompt Chaining

intermediate

This post covers Prompt Chaining in LangGraph , showing how multiple prompts can work together in sequential workflows and multi-step reasoning pipelines. We explore …

AI agent LangChain LangGraph Python

AI Agents LangGraph

Streaming

Streaming

intermediate

This post explores Streaming in LangGraph , including real-time state updates, token streaming, node-level streaming, and streaming LLM or tool outputs. We cover stream() …

AI agent LangChain LangGraph Python

AI Agents LangGraph

Interrupts

Interrupts

intermediate

This post covers Interrupts in LangGraph , explaining how to pause and resume graph execution for human-in-the-loop workflows. We explore waiting for approvals, maintaining …

AI agent LangChain LangGraph Python

AI Agents LangGraph

Breakpoints

Breakpoints

intermediate

This post explains Breakpoints in LangGraph and how they help debug workflows by pausing execution at specific points. It covers inspecting state at runtime, …

AI agent LangChain LangGraph Python

AI Agents LangGraph

Retry Logic

Retry Logic

intermediate

This post covers Retry Logic in LangGraph , explaining how and why retries are used to handle failures in workflows. It includes automatic and …

AI agent LangChain LangGraph Python

AI Agents LangGraph

Model Integration

Model Integration

intermediate

This post covers Model Integration in LangGraph , explaining how LLMs are connected and orchestrated within graph-based workflows. It explores model lifecycle, binding models …

AI agent LangChain LangGraph Python

AI Agents LangGraph

Structured Output Prompting

Structured Output Prompting

intermediate

This post covers Structured Output Prompting , focusing on how to make LLMs produce reliable, machine-readable outputs. It includes JSON, schema-guided, and Pydantic-based prompting, …

AI agent LangChain LangGraph Python

AI Agents LangGraph

Pydantic Outputs

Pydantic Outputs

intermediate

This post explains Pydantic Outputs in LangGraph , focusing on how to enforce structured, type-safe LLM responses using Pydantic models. It covers defining structured …

AI agent LangChain LangGraph Python