Build Your First Graph

Code-based approach
Define and run the graph in code
  1. Define the state model and initial state.
  2. Implement node functions (including LLM/tool calls).
  3. Wire control flow with edges and set the entry point.
  4. Run and inspect logs/state traces; iterate.
GUI-based approach
Build visually in the browser
  1. Start a new graph or from a template on the Home page.
  2. Add nodes/edges and configure properties.
  3. Set the entry point and run.
  4. Visualize logs/state for debugging.