Hacker News new | ask | show | jobs
by planckscnst 39 days ago
I'm working on [Context Bonsai][1] - LLM harness tools that allow the LLM to prune messages out of the context, leaving behind a summary and keywords instead. In addition to a "prune" tool, there is a "retrieve" tool that allows it to recall the messages if needed.

In addition to these tools, I'm also building automation that will port the tools from the reference implementation (OpenCode) to other harnesses (Claude Code, Cline, Pi, Gemini, Kilo, Codex, others to come?). As well as automation that will either cherry-pick or re-implement commits onto the latest head from upstream.

[1]: https://github.com/Vibecodelicious/context-bonsai-agents#con...

[2]: https://blog.vibecodelicio.us/posts/how-i-fixed-context-wind...

1 comments

Neat so smarter pruning than just an auto compaction event?
Yes, also happening more or less continually instead of waiting for the context to bloat up.

You also have some control over it. You can say something like "prune away the work we did on the UI. Make sure to remember that users can upload multiple images now"