Pi proved that the best agent architecture is the simplest one: a while loop with tools. No graphs, no DAGs, no state machines. Just call the LLM, execute whatever tools it asks for, feed results back ...