Skip to content
System One

Jev for agent memory and context: 15 projects

Agents run out of context. Long sessions fill with tool output, old messages and notes, and something has to decide what stays. A memory or context decision is a small yes or no, or a relevance score, asked many times. That suits a decision model, which returns a typed answer and a confidence value instead of a summary written in prose. The examples in this hub run on Jev and other decision models. Most are plugins for coding agents. compozy/yoshi prunes conversation history for Claude Code and Codex, kunchenguid/compact-adviser judges when it is safe to run /compact, and arslanr-com/perfectrecall decides what is worth recalling. Before you copy one, check what it removes and whether the removed text can be brought back. Check how it treats a case the model is unsure about, which model still sees the full context, and whether the author compared sessions with and without it. Entries differ a lot in how aggressive they are, from hints to fully automatic pruning.

15 entries

All entries

Showing 15 of 15

How decision models are used for agent memory

The common loop is score and prune. A large tool result is split into blocks. The decision model gets one relevance question per block, such as whether the agent will still need it. Low scorers are replaced with a short stub. GhalebDweikat/winnow does this as a Claude Code hook and keeps the stub recoverable. Because the question is the same for every block, one batched call can cover a whole result.

Noul and score cover most of it. Choice appears when the question has named outcomes, such as keep or drop. tamaratran/fast-jev-compaction goes further than pruning: it replaces the compaction summary with decisions, scoring every tool call and result in one request against the whole conversation. Most of these entries run inside a coding agent, as a hook or plugin, so the pruning happens without the main model being asked to do it.

The risk is dropping something the agent needs later. Entries handle it by keeping the originals, as omp-jev-compaction does by parking old outputs on disk, or by acting only above a size threshold. Whether the saved context outweighs the occasional miss depends on your sessions, so test on your own. Start in a hint mode if the entry offers one, and read what it would have removed before you let it act.

FAQ

Can Jev decide what an agent should remember?

Yes. Entries such as arslanr-com/perfectrecall and GhalebDweikat/winnow ask Jev whether a memory or tool result is worth keeping and drop or stub the rest. The decision is a typed score or yes or no that code acts on.

Is this the same as RAG?

No. RAG retrieves documents to answer a question. Agent memory entries decide what an agent keeps in its own context or recalls from past sessions. The two overlap when an agent searches its own history.

Does pruning context lose information?

It can. The better entries keep the original text on disk or leave a stub that can be expanded, and some only act once the context passes a size limit.