Context management in agents
02 November 2026
In my previous post I wrote about my local AI setup, the hardware, and some of the things I built to make it useful. One of the projects I’ve been working on since then is Clara, a self-hosted personal assistant. I have not open-sourced her codebase yet (coming soon), but it’s a project I’ve been working on for the past year for my own personal needs. OpenClaw and all alternatives just did not do what I needed, and the mental load they were carrying was just too much for me. There’s a lot going on in that project, but for this post I want to focus on one specific part: How I chose to keep a conversation going without constantly filling the model’s context window.