Writing
Notes on things I built, broke, or talked myself out of buying.
16 posts tagged agents
2026
agentsMy config sync script kept undoing my fixes
Two machines push my agent config to one repo, and the last one to push wins. Over a month that quietly reverted a GPU reboot fix, a cron cleanup and a tool migration. I only found one of them by reading a diff for this post.
agentsMy model gateway spent 7,008 tokens to say hi
I put every agent's model calls and tool servers behind one self-hosted gateway. Two weeks later a one-word prompt cost 7,008 input tokens, the fix lived in a database instead of the config file, and the public hostname was adding two seconds to every first token.
agentsMy chat bridge kept reading my messages before I did
I built a self-hosted bridge so agents could read and answer my Zalo chats. Driving the real web app meant every read marked a chat as read and every send could double up. Five weeks in, sends moved to HTTP, and 'delivery unknown' became a real answer.
agentsMy tank bot couldn't count its own kills
A Battle City bot reported 7 to 17 kills a stage. The real number was zero. Moving it to a headless copy of the game with a scoreboard took the clear rate from 4.3% to about 76%, and most of my clever ideas lost.
agentsThe one-word test that told me my delegate model didn't exist
I told Claude Code to hand bounded coding work to Codex. A wrong path exited 127 and read as "unavailable," a missing redirect hung forever, and the CPU meter could not tell a stall from a healthy run.
agentsThe lock I added and reverted four minutes later
A run lock for a scheduled agent was keyed on a live process. It went in at 09:12 and came out at 09:16, because on that box the process never dies.
agentsTiming language models with a bicycle essay and thirty facts about the Moon
Three throwaway prompts, a speed meter that lied by a factor of five, and ten days of changing my agent's default model. A feel test, written down honestly.
agentsTeaching an AI to play an old Flash game so I don't have to
A Playwright bot drives Onslaught 2 inside Ruffle and asks a reasoning model where to put turrets. It never looks at the screen, and the bugs that mattered were about timing and keyboard focus.
agentsThe papercuts I fixed in my own terminal agent this month
A scroll bug, a speed meter that read 232,000 tok/s, a compaction setting I changed four times in two days, and one hotkey too many. Small fixes from using pi every day.
agentsFour AI coding agents, one repo full of rules for who gets to run
I built a repo whose only job is telling Claude Code, Codex, Antigravity and OpenCode which of them handles what. Most of its history is me banning models, three times in 62 seconds.
agentsA Kanban Board My AI Agents Actually Use
A two-person kanban that runs on a single Cloudflare Worker with D1, and that my AI agents edit directly through SQL because the browser UI is for the humans.
agentsKilling Infisical, Building My Own Secret Store
I ran my secrets through Infisical for a year, then replaced it with a 300-line Node/Express daemon in an Alpine LXC — AES-256-GCM, an MCP interface, and the realization that a secret manager is just a tiny API.
agentsGiving My AI Agents a Shared Brain (Self-Hosted, Third Attempt)
How my Claude Code and Antigravity sessions ended up sharing one long-term memory — a self-hosted Hindsight instance on a Proxmox LXC — after two failed prototypes.
agentsPutting My AI Agent on a Token Diet: 36,000 Commands Through RTK
Every shell command my coding agent runs goes through a Rust proxy that compresses the output before the model reads it. Real numbers after months of use: 2.7 million tokens saved — and two gotchas that almost made me uninstall it.
agentsThe Hermes Experiment: An Agent That Hires Other Agents
For two weeks in June, container 124 housed an AI orchestrator with its own browser, Telegram line, and shared memory — delegating coding work to headless Claude Code. Here's what worked, what hung for four hours, and why the container is gone.
agentsI Gave Claude Code a Telegram Number
A 300-line Python bot on the Proxmox host turns my terminal coding agent into something I can text from anywhere — streaming its tool calls into the chat while it works on the lab.