r/coolgithubprojects • • 5d ago

I've been experimenting with context compaction for Long running Agents

Post image

I've been using pi-vcc for long-running coding sessions. It works well, but as sessions got longer and went through multiple compactions, I noticed the agent spending quite a bit of time looking up past decisions and constraints.

I wanted something better suited to long sessions, so I built a hybrid version that keeps track of the current state alongside the original compression and recall mechanism.

I ran some benchmarks on code repair tasks and 1M-token conversations.

Code and benchmark results are here:
https://github.com/choam2426/vcc-hybrid

Feedback welcome.

3 Upvotes

3 comments sorted by

1

u/Still_Surround8076 5d ago

Good Luck BroπŸ‘

2

u/Odd_Werewolf_4478 5d ago

Thanks!😊