AI Roadmap/Layer 08 · 08. AI Engineering / RAG / Agent / Orchestration
8.2

8.2 Agent Workflows, State Machines & Tooling

LangGraph cyclic state machines, persistent checkpoints, human-in-the-loop approvals, strict function calling schemas, multi-agent teams, and transactional compensation.

LangGraph Cyclic State Machines, Checkpoints & Human Approval

Cyclic graph workflows with LangGraph, persistent state checkpoints for durable execution, human-in-the-loop authorization gates, strict JSON Schema tool schemas, and short/long-term memory management.

🏢 Companies
LangChain (LangGraph)Microsoft (AutoGen)CrewAICognition (Devin)Dify.aiFlowise
🛠️ Tech Stack
LangGraphState MachineCheckpointsHuman-in-the-loopFunction CallingTool SchemaAgent Memory
💼 Roles & Salary
Agent Engineer、LLM Application Engineer、AI Engineer
💰 $215K - $460K / year (Agent State Machines & LangGraph) | ¥620K - ¥1.45M / year
📚 Prerequisites: Graph-Based State Machines & Checkpoint Persistence • Strict Function Calling & Schema Validation • Human-in-the-loop Interruption & Resumption • Short-term Window & Long-term Episodic Memory
🤖【Mini-Sandbox】ReAct Loop Live Simulation
🧠 Thought: User needs 2026 LLM memory optimization techniques. I will invoke Search tool.
🛠️ Action: SearchKnowledgeBase(query='vLLM PagedAttention FlashAttention-3')
👁️ Observation: Retrieved 3 cards: PagedAttention, SRAM Tiling, KV Cache compression.

Multi-Agent Teams, Self-Reflection & Transactional Compensation

Hierarchical multi-agent delegation, structured inter-agent communication protocols, trajectory self-reflection correction loops, idempotency keys, and Saga distributed failure compensation.

🏢 Companies
Microsoft (AutoGen)CrewAICognition (Devin)TemporalDify.ai
🛠️ Tech Stack
Multi-AgentAutoGenCrewAIPlanningReflectionIdempotencySaga PatternTemporal
💼 Roles & Salary
Agent Engineer、AI Systems Engineer、AI Solutions Engineer
💰 $220K - $470K / year (Multi-Agent Systems & Compensation) | ¥650K - ¥1.5M / year
📚 Prerequisites: Multi-Agent Topologies (Hierarchical vs Peer-to-Peer) • ReAct & Self-Reflection Correction Loops • Distributed Saga Patterns & Idempotency Keys • Long-Horizon Failure Recovery & Graceful Exits