<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Code-Golf on Edd Mann</title><link>https://eddmann.com/archive/tag/code-golf/</link><description>Recent content in Code-Golf on Edd Mann</description><generator>Hugo</generator><language>en-GB</language><lastBuildDate>Thu, 16 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://eddmann.com/archive/tag/code-golf/index.xml" rel="self" type="application/rss+xml"/><item><title>Code Golf: An Agentic Loop in PHP</title><link>https://eddmann.com/posts/code-golf-an-agentic-loop-in-php/</link><pubDate>Thu, 16 Apr 2026 00:00:00 +0000</pubDate><guid>https://eddmann.com/posts/code-golf-an-agentic-loop-in-php/</guid><description>&lt;p>There has been a lot of discussion recently about &lt;em>agent frameworks&lt;/em> - orchestration layers, SDKs, harnesses.
Over lunch I found myself curious about how much of that is actually essential.
How small could a working &lt;em>agentic loop&lt;/em> be, whilst still doing useful work?
The result is 821 bytes of PHP, running entirely locally via &lt;a href="https://ollama.com/" rel="external noopener" target="_blank">Ollama&lt;/a> with a single shell tool - and it turns out that gets you surprisingly far.&lt;/p></description></item></channel></rss>