Deep dive
What is an AI agent? The loop in code, and where it fails
What is an AI agent? A tested agent loop in TypeScript, run offline against a scripted model, with traces of runaway loops, tool errors, and token growth.
9 min readAgents and frameworks