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