A set of simplified LangGraph workflow examples.
LangGraph can feel daunting when you're new. This repo attempts to breaks down graph-based thinking into simple examples — without LLMs, Tools, and Prompt-Templates.
Each workflow showcases a stripped down graph pattern.
Each workflow lives in their own source file:
- Supervisor Workflow
- A central coordinator delegates to other agents and handles results.
- Network Workflow
- A decentralized setup where nodes interact in a peer-to-peer fashion.
- Hierarchical Workflow
- A top-down graph and human-in-the-loop.
- Complex Workflow
# 1. Clone the repo
git clone https://github.com/ngendah/agent-workflows.git
cd agent-workflows
# 2. Install dependencies
npm install
# 3. Build the workflows and generate mermaid diagrams
npm run buildFor official LangGraph documentation visit: 👉 LangGraph