google-gemini / google-gemini/gemini-cli
Task aware compression and memories
- Dominant language
- TypeScript
- Stars
- 107k
- Forks
- 14.6k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 45
Description
### What would you like to be added?
When using the new task management system, it would be nice if gemini would manage memory compression in a context-aware way. For example, not compressing the current task, and compression tasks one at a time in a way that highlights the relevance to future tasks rather than pure summaries.
This could go even further with task-based memory extraction/saving, allowing gemini to search past tasks and load the memory of ones similar to what it's currently working on. For example, last week when it was also making changes in this area of the code.
### Why is this needed?
Gemini, like all agents, degrades as the context grows and has trouble "remembering" things from the past sessions. The introduction of tasks could serve as boundaries and metadata to help manage the context.
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.