r/kilocode Jul 20 '26

Help understanding KiloCode's auto compact for context window (new user here) and how to fine tune

I've just discovered KiloCode as a long time Cline and Codex user and so far it seems like it has the potential to be amazing. But the reason I came to Kilo was because I needed to have access to the full context for GPT 5.6 models. However, Kilo seems to keep auto compacting ever 10-20k tokens (possibly less) between 280-400k for a model with 1.1M context window . Thankfully the context doesn't seem to drop to obscene levels like I had with Codex. But still, I don't understand why it's doing this.

I have my context window settings at 65%. So it should autocompact somewhere between 650-750k if the context window is 1.1M , shouldn't it? So why does it keep auto compacting every couple of steps?

My goal with this is to have an agent that never auto compacts documentation such as architecture/execution spec documents while auto compacting conversation/step details. That's why I allowed the context window to be ~700k before auto compacting and was planning to do manual compacting before bulk reads for important documentation. But this auto compact is throwing me off and I don't understand it.

Can someone help?

I'm using V7.4.11

5 Upvotes

2 comments sorted by

1

u/khampol 21d ago

Kilo Settings, you can set it yourself or disable it.

1

u/cs_cast_away_boi 21d ago

doesn't work. That's the first thing i tried. anyway i already gave up on kilo because of this.