Analysis updated 2026-05-18
Reproduce the paper's LoCoMo benchmark results for episodic-semantic agent memory.
Study how spreading activation over a memory graph improves multi-hop question answering.
Run retrieval-only ablations to compare vector search against graph-based memory recall.
Build on the released memory architecture for a custom long-context conversational agent.
| hq0709/synapse | 0xhassaan/nn-from-scratch | 3ks/embedoc | |
|---|---|---|---|
| Stars | 0 | 0 | — |
| Language | Python | Python | Python |
| Last pushed | — | — | 2023-06-08 |
| Maintenance | — | — | Dormant |
| Setup difficulty | hard | moderate | hard |
| Complexity | 5/5 | 4/5 | 1/5 |
| Audience | researcher | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires a paid OpenAI API key for GPT-4o-mini and a Python 3.12 environment to run the benchmark.
This project is the official code release for a research paper called SYNAPSE, accepted at a major computational linguistics conference in 2026. The paper's idea is to give AI chat agents a better kind of memory so they can hold long conversations and still remember details from hundreds of turns earlier. Instead of just searching past messages by keyword or similarity, SYNAPSE builds a graph that mixes two kinds of memory nodes: raw conversation turns and concepts pulled out of those turns by a language model. When a new question comes in, the system lights up matching nodes and lets that signal spread through the graph along different types of connections, similar to how one thought can lead to a related one. It then combines plain similarity search with this spreading signal and a ranking method borrowed from web search to decide what to pull back as an answer. The code is tested on LoCoMo, a public benchmark of long, multi-day conversations with nearly 2,000 question and answer pairs, and the README includes a table comparing this release's scores against the numbers reported in the original paper. It notes some scores differ slightly since this is a clean, from scratch reimplementation rather than the exact original code. The repository is organized as a small Python library covering the graph, the spreading logic, and the language model prompts, plus a set of scripts for downloading the benchmark data, running the full evaluation, and reproducing specific ablation experiments mentioned in the paper. Setting it up means cloning the repository, creating a Python 3.12 environment, installing dependencies, and adding your own OpenAI API key, since scoring the benchmark calls GPT-4o-mini and costs a small amount of money per run. This is aimed at machine learning researchers and engineers studying agent memory, not general users, since running it requires comfort with Python, command line tools, and paying for API usage.
SYNAPSE is a research codebase giving LLM agents graph-based episodic-semantic memory, tested on the LoCoMo long-conversation benchmark.
Mainly Python. The stack also includes Python, GPT-4o-mini, PageRank.
No license information was found in the README, so usage rights are unclear.
Setup difficulty is rated hard, with roughly 1h+ to a first successful run.
Mainly researcher.
This repo across BitVibe Labs
Verify against the repo before relying on details.