Building Scalable Agent Graphs