State Graph Architecture
We model your agent as a typed state schema with nodes as plain functions and conditional edges as routing logic. Because graphs support cycles, the agent can loop — search, read, reflect, search again — until a finish condition is met, rather than being forced through a fixed linear chain.








