Discussion about this post

User's avatar
Pawel Jozefiak's avatar

Progressive disclosure is the pattern I landed on too but I took longer to get there than I should have. The instinct is to load everything upfront.

Turns out that degrades performance on focused tasks because the model has to do more work to filter signal from noise before it even starts. The skill file approach from the first pattern maps to what I have been calling 'on-demand context loading' - the agent discovers what it needs, activates the relevant context, runs the task. The compression pattern in step two is where most implementations I have seen break down. Summarizing older context with the same model that generated it introduces bias. What model are you using for the compression step, and does it matter?

No posts

Ready for more?