AI EngineeringInterview preparation
Foundation·Discussion·2 min read

What are nodes, edges, and state?

Practice this question
  • Nodes are steps that perform work, edges choose what runs next, and state carries the information needed by those steps.
  • Nodes can be ordinary code or model calls, so the graph can be deterministic or hybrid.
Adapted from 13_AI.MD · “29.7 LangGraph”. Code examples are study fragments. Difficulty and core labels are editorial estimates; version-specific behavior should be checked against your project.