Discussion about this post

User's avatar
JP's avatar

The factory pattern for hot-reloading tools is really neat. It's essentially what OpenCode does under the hood with its skills and extensions system, except you get it out of the box with session persistence and context compaction baked in. For anyone who's done the workshop and wants to see what a fully built-out version looks like in practice, I put together a guide covering OpenCode end to end: https://reading.sh/the-definitive-guide-to-opencode-from-first-install-to-production-workflows-aae1e95855fb

Pawel Jozefiak's avatar

The 'LLM calling tools in a loop' definition is the one that actually sticks, and the memory-via-timestamped-markdown approach is genuinely underrated - I've run 1000+ agent sessions using almost exactly this pattern without fancy vector stores. The key discovery along the way: what goes in CLAUDE.md matters far more than how long it is.

Behavioral rules and structural context compound across sessions in ways that are hard to anticipate until you've run enough of them. If you're thinking about instruction architecture for agents like these, I wrote up what I learned: https://thoughts.jock.pl/p/how-i-structure-claude-md-after-1000-sessions

No posts

Ready for more?