An AI agent is just a while loop. I built one in 70 lines of Python, then tricked it into leaking my .env
A developer from Tigera built a minimal AI agent in under 70 lines of Python using Ollama and the OpenAI API, demonstrating that an agent is essentially a language model, a set of functions, and a while loop. The develop…