The Stack
Build a Working AI Agent in 2026: The Loop, Context Engineering, and One MCP Tool
Skip the framework. An agent is an LLM calling tools in a loop — here's the ~40 lines that run it, the three context moves that keep it from rotting, and how to hang a real MCP tool off it.