java
Build your own agent harness, part 2: every turn pays for the whole conversation
Last time, we found out that the model doesn't remember us. The "conversation" is a list that our harness keeps and resends, in full, with every request. Nice trick. Elegant, even. But wait a minute. In full? Every time? My inner accountant just woke up 🤓 If every turn resends everything said so far, then every turn also pays for everything said so far. So what does a simple "ok" actually...
24 oct. 2026 — 7 minute(s) readBuild your own agent harness, part 1: the model doesn't remember you
Every day I use coding agents. Claude Code, Codex, Kimi Code, you name it. They read my files, run my tests, fix my typos (and sometimes add a few of their own 😇). And at some point the question came back, the same one I had at 20 when I was compiling kernels just to see how they worked: what is actually inside? Spoiler: a model only completes text. That's it. What turns it into...
23 oct. 2026 — 7 minute(s) readPiG 4 - Lcd and Java
The plan was to deliver you the Golo version of the previous post code to allow you to write on the LCD. But it looks like I’ve done too much Java those months and not enough Golo. I’m currently stucked on a technical issue. I’ll find a way but in the meantime and to keep the new goal to publish more often, I’ll share with you the Java version. First, you...
7 déc. 2013 — 3 minute(s) read