OHREN_Lab

Open source오픈소스Nebula MemoryNebula Memory

Nebula Memory, a memory engine that keeps AI agent memories in local files and shows them on a 3D star mapNebula Memory, AI 에이전트의 기억을 로컬 파일에 두고 3D 별 지도 화면으로 보는 메모리 엔진

Nebula Memory is an MIT-licensed Node.js engine that keeps AI agent memories in local JSONL files and recalls them in four ways. The 3D star-map panel and the optional second engine exist in only two of its five setups, the DSH plugin and the HTTP service. The README is mainly in Chinese, and memories are stored unencrypted.Nebula Memory는 AI 에이전트의 기억을 로컬 JSONL 파일에 저장하고 네 가지 방식으로 찾아 주는 MIT 라이선스 Node.js 엔진입니다. 3D 별 지도 화면과 선택형 두 번째 엔진은 다섯 가지 사용법 가운데 DSH 플러그인과 HTTP 서비스 둘에만 있습니다. README는 대부분 중국어이고 기억은 암호화하지 않은 채 저장됩니다.

Checked확인일

Nebula Memory is a Node.js memory engine with no npm dependencies that keeps AI agent memories in local JSONL files and recalls them in four ways; its repository is named agent-memory. The 3D star-map panel and the optional second engine exist in only two of its five setups, the DeepSeek Harness (DSH) plugin and the HTTP service started with node server.js. The README and the screen pictures in the repository are mainly in Chinese, and it is under the MIT license.Nebula Memory는 AI 에이전트의 기억을 로컬 JSONL 파일에 저장하고 네 가지 방식으로 찾아 주는 Node.js 메모리 엔진으로, npm 의존성이 없고 저장소 이름은 agent-memory입니다. 3D 별 지도 화면과 선택형 두 번째 엔진은 다섯 가지 사용법 가운데 DeepSeek Harness(DSH) 플러그인과 node server.js로 띄우는 HTTP 서비스 둘에만 있습니다. README와 저장소의 화면 그림은 글자가 대부분 중국어이고 라이선스는 MIT입니다.

Animated Nebula Memory panel with Chinese labels: a 3D cloud of star-like memory nodes in the middle, session, conversation and memory counters on the left, four recall arms named LEX, ACT, GRAPH and PROFILE at the top, and the data chain and recalled fragments on the right.
Image: Nebula Memory README.그림: Nebula Memory README. Copyright (c) 2026 yb-zhai · MIT License Open original원본 보기

Memories are stored as unencrypted JSON lines in a data folder the user sets (for MCP, ~/.agent-memory when none is set), where any process or person that can read the user’s files can read them, and SECURITY.md says not to put API keys, passwords or private keys in them. Upgrade backups also contain a full copy of the memories and local paths, and the security notes say not to commit them to a public repository. The local engine does not go online, but if the AI model that writes answers from those memories is a cloud API, it still needs the internet. The second engine, Hindsight, is a separate MIT-licensed project that a user sets up with PostgreSQL and an LLM, whose billing drops to zero with a local model. Its API key is stored on Windows encrypted with DPAPI, which other processes of the same Windows user could in theory decrypt, and is kept only in memory on other systems. The panel service listens only on 127.0.0.1. Separate processes on the same data folder do not see each other’s live updates until a restart, and compacting at the same time conflicts.기억은 암호화하지 않은 JSON 줄로 사용자가 정한 데이터 폴더(MCP에서 정하지 않으면 ~/.agent-memory)에 남아 그 사용자의 파일을 읽을 수 있는 프로세스나 사람이면 읽을 수 있고, SECURITY.md는 API 키와 비밀번호, 개인 키를 넣지 말라고 적었습니다. 업그레이드 백업에도 기억 전체 사본과 로컬 경로가 들어 있어 공개 저장소에 올리지 말라고 합니다. 로컬 엔진은 인터넷에 접속하지 않지만, 기억을 바탕으로 답을 만드는 AI 모델이 클라우드 API라면 인터넷이 필요합니다. 두 번째 엔진 Hindsight는 별도의 MIT 라이선스 프로젝트로, PostgreSQL과 LLM을 갖춰 사용자가 설치하고 LLM 요금이 들며 로컬 모델로 바꾸면 요금이 없습니다. 그 API 키는 Windows에서 DPAPI로 암호화해 저장하지만 같은 Windows 사용자의 다른 프로세스는 이론상 풀 수 있고, 다른 운영체제에서는 메모리에만 둡니다. 화면 서비스는 127.0.0.1에서만 받습니다. 같은 데이터 폴더를 쓰는 따로 도는 프로세스끼리는 서로의 실시간 변경을 보지 못해 다시 시작해야 맞춰지고, 동시에 압축하면 충돌합니다.

The local engine recalls memories along four arms: word frequency (TF-IDF), activation on an FSRS forgetting curve, graph diffusion over 2 hops and a profile. With Hindsight added, an LLM extracts facts and vectors are searched by meaning, and the two engines’ separate candidates are merged with RRF. Every 30 seconds the plugin checks Hindsight’s port, API and LLM and uses both engines only when all three pass; otherwise it falls back to the local engine with a warning, and the top of the panel shows local or hybrid. The panel displays the 3D star map, the data chain and recall traces in real time.로컬 엔진은 낱말 빈도(TF-IDF), FSRS 망각 곡선에 따른 활성도, 두 단계까지 번지는 그래프, 프로필의 네 갈래로 기억을 찾습니다. Hindsight를 더하면 LLM으로 사실을 뽑고 벡터로 뜻을 찾으며, 두 엔진이 따로 낸 후보를 RRF로 합칩니다. 플러그인은 30초마다 Hindsight의 포트와 API, LLM을 살펴 셋이 모두 통과할 때만 함께 쓰고, 안 되면 로컬만 쓰며 경고합니다. 화면 위쪽에는 local이나 hybrid가 표시됩니다. 화면은 3D 별 지도와 데이터 흐름, 찾은 기억의 자취를 실시간으로 보여 줍니다.

Architecture diagram with Chinese labels: DSH host files on the left, a panel server in the middle with a local four-arm engine and a Hindsight layer side by side, and on the right the local JSONL store, the Hindsight HTTP API, DSH session files and worker scripts.
Image: Nebula Memory README.그림: Nebula Memory README. Copyright (c) 2026 yb-zhai · MIT License Open original원본 보기

The README’s figures, measured on the author’s machine, are a median local recall of about 13 ms on an auto-compacted store of 23.8k nodes and 41.4k edges, and a cold start of about 2.0 s; the Q&A part of the same README gives 25 to 28 ms and 2.9 s. It calls fewer than 50k memories the best range, with a median under 50 ms, and lists 100 to 350 ms for 50k to 100k and 1.7 to 2.8 s from there to half a million. Past 100k it recommends running both engines, and past half a million keeping the local one as a cache only.README가 저자 기계에서 쟀다고 적은 값은 노드 23,800개, 연결 41,400개의 자동 압축한 저장소에서 로컬 찾기 중앙값 약 13 ms, 시작 약 2.0초이고, 같은 README의 문답에는 25~28 ms와 2.9초로 적혀 있습니다. 기억이 5만 개보다 적을 때를 가장 알맞은 범위로 보고 중앙값 50 ms 미만, 5만~10만 개는 100~350 ms, 10만~50만 개는 1.7~2.8초라고 적었습니다. 10만 개를 넘으면 두 엔진을 함께 쓰고, 50만 개를 넘으면 로컬을 캐시로만 두라고 합니다.

In MCP clients such as Claude, Cursor or ChatGPT, nebula-memory-mcp is started with npx and offers four tools, remember, recall, stats and forget; this route uses the local engine only and has no panel. In DSH it is added with the plugin command or an install script, Node.js code imports it as a library, and other languages call the HTTP service at 127.0.0.1:8898.Claude나 Cursor, ChatGPT 같은 MCP 클라이언트에서는 npx로 nebula-memory-mcp를 띄우고, remember와 recall, stats, forget 네 도구를 씁니다. 이 길은 로컬 엔진만 쓰고 화면이 없습니다. DSH에서는 플러그인 명령이나 설치 스크립트로 더하고, Node.js 코드에는 라이브러리로 넣으며, 다른 언어는 127.0.0.1:8898의 HTTP 서비스를 부릅니다.

An AI does not use the MCP tools on its own, so a person has to tell it to remember something or to recall what was said. Clients that point to the same data folder share memories, and a different namespace in the tools gives an agent a separate store. Searching across stores split this way is not supported.MCP로 더한 뒤에는 AI가 스스로 쓰지 않아서, 기억하라거나 전에 말한 것을 떠올리라고 말해야 합니다. 여러 클라이언트가 같은 데이터 폴더를 가리키면 기억을 함께 쓰고, 에이전트마다 따로 두려면 도구의 namespace를 다르게 줍니다. 이렇게 나눈 저장소를 가로질러 찾는 기능은 없습니다.

All algoit posts알고IT 글 목록

Follow our AI news onAI 소식 팔로우하기X Instagram Threads