
Write an AI Agent Loop in Under 100 Lines
Frameworks make agents look complicated, but the core is small: a model, a few tools, and a loop. This post walks through a working coding a...

Frameworks make agents look complicated, but the core is small: a model, a few tools, and a loop. This post walks through a working coding a...

An AI agent is a language model in a loop, with tools it can call and notes to keep track of what happened. This post walks through each par...

AI agents are often overcomplicated. At their core, they’re just models that can call tools, use the results, and continue working. This tut...