WeChat (EasyShip.AI)
ai-engineeringai-tools
Original source

Jev-Mem: System-One-Controlled Agentic Memory for Efficient AI Agents

Summary

Jev-Mem is an agentic memory architecture inspired by System 1 / System 2 cognition (Kahneman’s dual-process theory), applied to AI agent memory management.

Core idea: Split memory management into “judgment/decision” (System 1) and “text generation” (System 2):

  • Jev model (System 1) handles all high-frequency structured control decisions: memory typing, relation judgments, query routing, budget allocation, candidate scoring, and evidence assessment
  • LLM (System 2) is only invoked after retrieval to synthesize complex evidence and generate final answers

Architecture — 3 planes:

  1. System-One control plane — lightweight Jev model for fast decisions (binary Noul propositions + categorical Choice decisions)
  2. Shared memory plane — canonical observations + 4 relational graph views (semantic, temporal, causal, entity) + shared vector & keyword indexes
  3. System-Two reasoning plane — LLM for final answer synthesis

Write path: Observation → Jev typing → candidate search → Jev relation judgment → insert memory Read path: Query → Jev routing → vector/keyword search → graph traversal → Jev scoring → adaptive stopping → LLM synthesis

Benchmark results (LoCoMo with GPT-4o-mini):

  • Overall LLM-as-Judge score: 0.777 (+11.0% over strongest baseline MAGMA at 0.700)
  • Memory construction time: 158s (6.6x faster than MAGMA at 1404s; vs A-MEM 3636s, MemoryOS 3276s)
  • Query latency: 0.93s (36.7% lower than fastest baseline MAGMA at 1.47s)
  • Especially strong on adversarial queries: 0.962 vs MAGMA 0.742

Key insight: Even just splitting the workflow (decisions vs generation) improves results, even if the LLM still handles the decisions. The architecture pattern of offloading high-frequency control decisions to a lightweight model while reserving expensive LLM calls for complex reasoning is broadly applicable beyond memory systems.