Writing / topic

#Systems

  1. Why RAG Shouldn't Retrieve Everything

    In BARA, retrieval is three separate decisions — whether, from where and how much, then which chunks — made by deterministic rules before a vector is ever compared. A research note with the code.

    • AI
    • RAG
    • LLM
Personal / Open Source

BARA — Layered Memory Architecture

Behavior-adaptive retrieval for stateful conversational AI — four memory tiers behind 41 deterministic decision gates instead of always-on RAG.

  • Python
  • FastAPI
  • PostgreSQL
  • pgvector
  • NumPy
  • +6
◧ motion diagram

Jump to