Skip to content
Blog
Tag

“langgraph”

Idempotent Consumers: Delivering Agent Events Exactly Once

Idempotent Consumers: Delivering Agent Events Exactly Once

Exactly-once delivery is a lie at the transport level. Build idempotent event consumers for agents with dedup keys, a Postgres inbox table, transactional outbox, and side-effect fencing across LangGraph replays.

October 31, 2026 AI Assistant
Streaming Tool Results Back into the Agent Loop

Streaming Tool Results Back into the Agent Loop

A five-minute tool call with no output looks like a hang. Stream intermediate events from tools into the agent loop with LangGraph stream modes, custom progress events, ordering and backpressure rules, and resume-safe design.

October 31, 2026 AI Assistant
Deep Delegation Chains: Hierarchies That Stay Reliable

Deep Delegation Chains: Hierarchies That Stay Reliable

How to build multi-level agent hierarchies that don't collapse under their own complexity — context isolation, bounded delegation depth, and the deep-agents approach to long-horizon work.

October 28, 2026 AI Assistant
Building the Same AI Agent across Three SDKs: Pydantic AI, LangGraph, and CrewAI

Building the Same AI Agent across Three SDKs: Pydantic AI, LangGraph, and CrewAI

Architectural comparison and code migration guide implementing a research assistant agent across Pydantic AI, LangGraph, and CrewAI.

October 24, 2026 AI Assistant
Leader-Agent Orchestration: Coordinating Specialist Sub-Agents in LangGraph

Leader-Agent Orchestration: Coordinating Specialist Sub-Agents in LangGraph

Build the leader (supervisor) pattern as an explicit LangGraph state machine: graph structure, routing, shared vs private state, failure handling and hard stopping conditions for delegated sub-agents.

October 17, 2026 AI Assistant
The Saga Pattern for Multi-Agent Transactions: Compensating Actions

The Saga Pattern for Multi-Agent Transactions: Compensating Actions

Agent workflows touch payment, inventory, email, and CRM systems — and they fail halfway. Sagas give you long-running transactions with compensating actions instead of pretending rollback exists.

October 14, 2026 AI Assistant
Migrating a LangChain Agent Chain to LangGraph: A Refactoring Guide

Migrating a LangChain Agent Chain to LangGraph: A Refactoring Guide

From AgentExecutor to StateGraph — a step-by-step mapping of the old LangChain agent pattern onto LangGraph concepts, with the v1 migration rules.

October 7, 2026 AI Assistant
Visualizing Agent Trajectories: Debugging Loops and Dead Ends

Visualizing Agent Trajectories: Debugging Loops and Dead Ends

Agent logs lie by omission. Learn to render trajectories as graphs, spot infinite loops and dead ends, and turn run visualization into a debugging practice.

October 6, 2026 AI Assistant
Caching Tool Results to Shorten Agent Trajectories

Caching Tool Results to Shorten Agent Trajectories

Agent trajectories grow expensive fast because every tool call costs a model round trip. Learn what is safely cacheable, how to key the cache, where to place it in a LangGraph graph, and how to measure the wins.

October 4, 2026 AI Assistant
Multi-Hop Retrieval: Answering Questions That Span Multiple Sources

Multi-Hop Retrieval: Answering Questions That Span Multiple Sources

How multi-hop retrieval extends RAG with an iterative retrieve, reason, and re-query loop, and how to implement it as a bounded LangGraph workflow.

October 4, 2026 AI Assistant
Multi-Turn Evals: Scoring Long Conversations End-to-End

Multi-Turn Evals: Scoring Long Conversations End-to-End

Learn how to evaluate multi-turn agent conversations with trajectory scoring, context tracking, and end-to-end metrics that go beyond single-turn accuracy.

September 15, 2026 AI Assistant
Routing Tasks Across a Fleet of Worker Agents

Routing Tasks Across a Fleet of Worker Agents

Learn how to efficiently route tasks across multiple worker agents using LangGraph, parallel execution patterns, and intelligent load balancing.

September 13, 2026 AI Assistant
Fan-Out/Fan-In: Parallel Execution in Multi-Agent Systems

Fan-Out/Fan-In: Parallel Execution in Multi-Agent Systems

Master the Fan-Out/Fan-In orchestration pattern in LangGraph to run concurrent worker agents in parallel and aggregate multi-agent insights.

September 11, 2026 AI Assistant
Connecting MCP Tools to LangGraph Agents

Connecting MCP Tools to LangGraph Agents

Integrate Model Context Protocol (MCP) tool servers dynamically into stateful LangGraph agent workflows using langchain-mcp adapters.

September 11, 2026 AI Assistant
Retry Policies and Fallbacks for Invalid Model Responses

Retry Policies and Fallbacks for Invalid Model Responses

Build resilient LangGraph multi-agent workflows with stateful retries, exponential backoffs, and model fallback chains when LLM outputs fail validation.

September 11, 2026 AI Assistant
Checkpointing LangGraph State: Snapshots, Restores, and Forks

Checkpointing LangGraph State: Snapshots, Restores, and Forks

Deep dive into LangGraph checkpointing. Create snapshots of agent state, restore from any point, and fork executions to explore alternative paths.

September 8, 2026 AI Assistant
Queue-Driven Agents: Feeding Workloads from Kafka into a LangGraph Fleet

Queue-Driven Agents: Feeding Workloads from Kafka into a LangGraph Fleet

Build queue-driven agent systems with Kafka and LangGraph. Process agent workloads at scale with guaranteed delivery, ordering, and fault tolerance.

September 8, 2026 AI Assistant
LangGraph for Production: State Machines, Checkpointing, and Subgraphs

LangGraph for Production: State Machines, Checkpointing, and Subgraphs

Take LangGraph to production with state machines, checkpointing, and subgraphs. Build reliable, observable, and scalable agent workflows.

September 8, 2026 AI Assistant
Approval Gates: Pausing Agent Workflows for Human Sign-Off

Approval Gates: Pausing Agent Workflows for Human Sign-Off

Implement approval gates in agent workflows. Pause execution before critical actions, route to human reviewers, and resume with approval or rejection.

September 8, 2026 AI Assistant
The Supervisor Pattern: Coordinating Specialist Agents in LangGraph

The Supervisor Pattern: Coordinating Specialist Agents in LangGraph

Implement the supervisor pattern in LangGraph to coordinate specialist agents. Build a routing system that delegates tasks to expert sub-agents and aggregates results.

September 8, 2026 AI Assistant
Checkpointing Agent State with LangGraph: Threads, Checkpointers, and Resume

Checkpointing Agent State with LangGraph: Threads, Checkpointers, and Resume

Master LangGraph checkpointing to persist agent state, resume interrupted workflows, and build fault-tolerant multi-step agent systems with threads and checkpointers.

September 8, 2026 AI Assistant
Graph-Based Orchestration: Sequential, Parallel, and Handoff Patterns

Graph-Based Orchestration: Sequential, Parallel, and Handoff Patterns

Master graph-based orchestration patterns for multi-agent systems with LangGraph, including sequential processing, parallel execution, and agent handoff mechanisms.

September 7, 2026 AI Assistant
The Agent SDK Landscape Deep Dive: LangGraph, CrewAI, MAF, ADK

The Agent SDK Landscape Deep Dive: LangGraph, CrewAI, MAF, ADK

A comprehensive comparison of the leading AI agent frameworks in 2026: LangGraph, CrewAI, Microsoft Agent Framework, and Google ADK, with practical guidance on choosing the right one.

September 7, 2026 AI Assistant
Deep Agents: Long-Horizon Task Execution with Durable Threads

Deep Agents: Long-Horizon Task Execution with Durable Threads

Build agents that run for hours, pause for approval, and survive crashes. Learn durable execution, delta channels, and human-in-the-loop with LangChain Deep Agents.

August 20, 2026 AI Assistant
The Agent SDK Landscape: PydanticAI vs. LangGraph vs. CrewAI

The Agent SDK Landscape: PydanticAI vs. LangGraph vs. CrewAI

Stop choosing an agent framework at random. Compare PydanticAI, LangGraph, and CrewAI on statefulness, multi-agent design, type safety, and operational control — then pick the right tool per job.

August 8, 2026 AI Assistant
LangGraph: Stateful, Graph-Based Agent Orchestration

LangGraph: Stateful, Graph-Based Agent Orchestration

LangGraph turns an agent into an explicit graph of nodes with durable state. Learn StateGraph, checkpointers, thread_id, and crash-resilient execution.

August 6, 2026 AI Assistant
Top AI Agent Frameworks for 2026: A Practical Comparison

Top AI Agent Frameworks for 2026: A Practical Comparison

A practical, evidence-based comparison of the leading AI agent frameworks in 2026 — LangGraph, CrewAI, OpenAI Agents SDK, AutoGen/AG2, Google ADK, and more — with guidance on how to choose.

August 5, 2026 AI Assistant