The canonical agent architecture: A while loop with tools

Braintrust Blog Aug 7, 2025

Why the best AI agents are just loops that call functions.

link to the original content