Show HN: Agent in 9 Lines Python
By tosh · 2026-07-22 · 3 points · 1 comments
https://gist.github.com/tosh/6e91a9dbf08dd630c535e7345ac7f0b5
I asked myself: what would a minimal implementation of an agent look like? Something that works out of the box, is a real agent with tool calling, but without 1000s of lines of code, without dozens or hundreds of npm or pypi dependencies. Something with just a few 'essential' fe…
Open the full discussion on BetterNews