whatisgithub

What is agenticmemory?

vuquangminhpe/agenticmemory — explained in plain English

Analysis updated 2026-05-18

11PythonAudience · developerComplexity · 4/5Setup · moderate

In one sentence

A memory system that stores decisions and context from AI coding sessions in a knowledge graph so agents can recall them later.

Mindmap

mindmap
  root((AgenticMemory))
    What it does
      Shared agent memory
      Knowledge graph
      Decision tracking
    Agents
      Micro Agent
      Meta Agent
      Immune Agents
      Sentinel Agent
    Tech stack
      Python FastAPI
      SQLite Parquet
      React Electron
    Use cases
      Multi agent coding
      Cross session memory
      Benchmarking agents

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Give a team of coding agents a shared memory of past decisions so they stop repeating or contradicting themselves.

USE CASE 2

Track why a technical decision was made in a project so it can be reviewed later.

USE CASE 3

Run benchmarks comparing an agent with memory against a plain baseline agent on pass rate and latency.

USE CASE 4

Build a multi agent coding workflow that needs long term context across many sessions.

What is it built with?

PythonFastAPIPydanticSQLiteNetworkXReact

How does it compare?

vuquangminhpe/agenticmemory2arons/llm-cliadzza/guardium-dns
Stars111111
LanguagePythonPythonPython
Setup difficultymoderateeasymoderate
Complexity4/52/53/5
Audiencedeveloperdevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Needs a Python virtual environment and a Gemini API key for benchmark scripts.

So what is it?

SmartAgentic is a memory layer for AI coding assistants. The README pitches it as a project centric operating system that turns conversations, code context, and technical decisions into a long lived knowledge graph that a team's agents can reason over later. The problem it tries to solve is that current coding assistants forget what was decided in the last session, contradict themselves over time, cannot reuse knowledge across projects, and cannot show why a particular decision was taken. SmartAgentic's answer is a fixed pipeline that runs on every input: extract, rank, resolve context, synthesize, decay or rebase, and sync. The system is organised as several specialised agents. A Micro Agent keeps deep context for a single project. A Meta Agent does global synthesis and consensus across projects. Immune Agents do adversarial review of proposed memory updates. A Sentinel Agent escalates to a human reviewer when something needs sign off. The memory itself is a graph of nodes and edges where the node types are issue, decision, assumption, contradiction, dependency, and abstraction, and edges connect them as parents, related items, contradictions, pointers, or abstraction links. A ranking step assigns a dynamic weight to each node so the agents can pull the relevant subset for a given prompt. The pipeline is split into seven layers visible in the source tree. Layer 0 is an append only event log in JSONL with a hash chain for tamper evidence. Layer 1 runs an LLM extraction step with Vietnamese structured prompts for Qwen, then classifies the node type, scores importance and confidence, pulls tags, and detects parent and related relations. Layer 2 manages a seven state lifecycle with triggers such as human confirmation, usage thresholds, contradiction detection, and time decay, plus a promoter that moves nodes from short memory to long memory. Layers 3 through 6 cover ranking, decay and rebase, context resolution, and synthesis, ending with an agent runtime, a human review loop, and a global sync. Storage is tiered into hot, warm, and cold buckets to control cost. The backend is Python with FastAPI, Uvicorn, APScheduler, and Pydantic v2. LLM and embedding work runs through Transformers, BitsAndBytes, Sentence Transformers, and LiteLLM. The graph and similarity layer uses NetworkX and the datasketch MinHash LSH library. Data lives in SQLite, Parquet via pyarrow, and JSONL. A separate desktop UI built with Electron, React, TypeScript, Vite, Tailwind, and TanStack Query sits in the frontend folder. Setup is the usual clone, create a virtual environment, install requirements.txt, drop a GEMINI_API_KEY in a .env file, and start the API with python main.py serve. The repository also ships a benchmark suite that compares a baseline coding assistant against the SmartAgentic version on compile and test pass rate, golden score, tokens, and latency, with both a built in 30 step trajectory and a custom trajectory file option. The full README is longer than what was shown.

Copy-paste prompts

Prompt 1
Help me set up SmartAgentic locally and start the FastAPI server with python main.py serve.
Prompt 2
Explain how the memory lifecycle from extraction to decay works in this repo.
Prompt 3
Show me how to write a custom trajectory file for this project's benchmark pipeline.
Prompt 4
Walk me through how the Micro Agent and Meta Agent roles differ in this system.

Frequently asked questions

What is agenticmemory?

A memory system that stores decisions and context from AI coding sessions in a knowledge graph so agents can recall them later.

What language is agenticmemory written in?

Mainly Python. The stack also includes Python, FastAPI, Pydantic.

How hard is agenticmemory to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is agenticmemory for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.