Train your own Jev-style decision model locally!
Agent memory systems must provide different forms of context depending on user queries, ranging from current facts to recurring patterns across interactions. Rather than maintaining separate memory stores, an effective system stores history once within a single temporal memory graph and reads it through six distinct context types: facts, entities, episodes, thread summaries, observations, and user summaries. Evaluating agent memory requires assessing whether the correct structural form of context is returned rather than simply measuring text retrieval similarity. Graphiti is an open-source temporal graph framework that implements this approach by assembling multiple context types into a unified fixed-budget block. A Jev-style decision model was successfully trained locally using Qwen3.5 0.8B as the base model. Through LoRA fine-tuning, the model improved its accuracy from 37% to 65% in only 60 steps, requiring about 10 minutes of training on 4GB of VRAM. A step-by-step video tutorial demonstrates the workflow utilizing Unsloth Studio and programmatic methods. Additionally, Jev-style decision components are demonstrated within end-to-end agentic loops using LangGraph in an Agent Engineering course.
Read the original ↗6 context types for agent memory
Agent memory systems must provide different forms of context depending on user queries, ranging from current facts to recurring patterns across interactions. Rather than maintaining separate memory stores, an effective system stores history once within a single temporal memory graph and reads it through six distinct context types: facts, entities, episodes, thread summaries, observations, and user summaries. Evaluating agent memory requires assessing whether the correct structural form of context is returned rather than simply measuring text retrieval similarity. Graphiti is an open-source temporal graph framework that implements this approach by assembling multiple context types into a unified fixed-budget block.
- Agent memory requires six context types: facts, entities, episodes, thread summaries, observations, and user summaries.
- Instead of creating multiple distinct memory stores, history should be stored once in a single temporal memory graph and read in multiple ways.
- Temporal tracking allows older facts to be closed with validity dates rather than deleted when truths change.
- Memory evaluation must prioritize returning the correct context format for the query rather than just retrieving semantically related text.
- Graphiti is an open-source temporal graph framework that tracks evolving facts and compiles different context types into a fixed-budget block.
Train your own Jev-style decision model locally!
A Jev-style decision model was successfully trained locally using Qwen3.5 0.8B as the base model. Through LoRA fine-tuning, the model improved its accuracy from 37% to 65% in only 60 steps, requiring about 10 minutes of training on 4GB of VRAM. A step-by-step video tutorial demonstrates the workflow utilizing Unsloth Studio and programmatic methods. Additionally, Jev-style decision components are demonstrated within end-to-end agentic loops using LangGraph in an Agent Engineering course.
- Qwen3.5 0.8B served as the base model for local training of a Jev-style decision model.
- Training improved model accuracy from 37% to 65% in 60 steps (10 minutes).
- The fine-tuning process requires only 4GB of VRAM.
- The workflow utilizes LoRA and can be configured through Unsloth Studio or directly via code.
- Jev decision models can be incorporated into agent loops with LangGraph for routing, guardrails, and approval controls.