20% 할인연간 요금제요금제 보기 →
Verbative

Verbative Memory

모든 에이전트가 함께 쓰는, 완전히 내 기기에서 동작하는 프로젝트 메모리예요. 끝난 턴마다 중요한 내용을 저장하고, 프롬프트마다 꼭 맞는 부분만 불러와요. 저장과 검색은 모두 내 컴퓨터에서만 이뤄져요.

빠른 시작

이미 Verbative VS Code 확장 프로그램을 쓰고 있나요? 그렇다면 이 모든 게 이미 설정돼 있어요. 확장 프로그램이 엔진을 설치하고, 모든 Claude Code CLI 세션에 자동 저장과 불러오기를 연결하고, 설정에 스위치를 넣어 둬요. 아래 단계는 확장 프로그램 없이 메모리를 쓰는 방법이에요. 다른 컴퓨터, 다른 에이전트에서요. 두 방법 모두 같은 엔진과 같은 메모리를 공유해요.

1 — 설치

터미널
$ pip install verbative-memory

2 — 에이전트 연결

터미널
$ claude mcp add verbative-memory -- verbative-memory

명령어 하나로 설정 끝. 자동 저장과 자동 불러오기도 함께 켜져요. 둘 다 선택 사항이고 기본으로 켜져 있어요.

끝이에요. 처음 실행할 때 기기용 모델을 한 번만 내려받아요. 임베딩 모델, 검색용 리랭커, 저장용 추출기로 모두 합쳐 약 4.6 GB예요(verbative-memory setup을 실행하면 미리 받을 수 있고, Verbative VS Code 확장 프로그램이 설치돼 있으면 그 모델을 다시 써서 두 번 받는 일이 없어요). 지원하는 에이전트는 Claude Code CLI와 Codex이고, 각각 명령어 하나로 돼요. Claude의 MCP 항목은 첫 세션에서 자동 저장과 주입 훅을 스스로 등록해요. Codex는 register-hooks --agent=codex가 MCP 서버, 저장, 관리되는 AGENTS.md 블록을 연결해요. 저장과 주입은 선택 사항이고 기본으로 켜져 있으며, 에이전트마다 capture, inject, context 설정이 따로 있어요.

MCP 서버 내부: 에이전트가 받는 안내와 모든 도구

연결되면 서버는 MCP 핸드셰이크를 통해 에이전트에게 사용 안내를 직접 전달해요. 그래서 모든 클라이언트(Claude Code CLI, Codex 등)가 에이전트별 설정 없이도 메모리를 잘 쓸 수 있어요. 영어 원문은 다음과 같아요.

This project has a shared, persistent memory (Verbative Memory).

RULE: search memory before asking the user about conventions, decisions, or where things live — it likely knows.

PICK THE RETRIEVER
- `recall(context)` — assembled context for a task you're starting.
- `briefing()` — once at cold start if your host doesn't auto-inject memory.
- `search(query)` — one specific fact; filters: type/tags/file/polarity. Cheap — the default for lookups.
- `ask(question)` — a composed answer from the slow on-device reader. ONLY for genuine why/how questions; never to fetch a fact or context.
- `events` — the exact activity record: "what commands ran", "when was this file edited", "did X ever happen".
- `events(flips=true)` — when did a command/test BREAK or get FIXED (pass→fail / fail→pass transitions).
- `timeline` — the work history in chronological order, with dates and commits.
- `history(subject)` — how one decision/convention evolved over time.
- `file_brief(file)` — before editing an unfamiliar file. `file_at` — a file's state at a past moment.
- `deep_recall(query)` — ONLY hard multi-hop questions; run broad sweeps in a subagent that returns a synthesis.

TRUST
- A weak, lone top search score means memory doesn't know — say so, don't guess.
- If the record supports several readings (a later-corrected value, an ambiguous reference), report each with its condition; never silently pick one.
- Lines marked "(code changed since — verify)": verify against the file, then `feedback` or `revise`.

CLOSE THE LOOP
- `feedback(id, helpful|wrong|stale)` when a recalled memory proves right or wrong; wrong retires it immediately.
- `revise(id, text)` when a memory is outdated but the topic still matters. `get(id)` expands any [m:id].

An on-device model captures durable facts automatically at turn end; use `remember` only for what must be recorded explicitly (a decision the user states, a hard-won dead end).

이 형식은 추측이 아니라 측정으로 정했어요. 에이전트를 넣은 A/B 테스트에서 시험 질문 20개 중 19개를 올바른 도구로 보냈고, 일반적인 서술형 버전은 20개 중 15개였어요. 그리고 함정 질문에서는 한 번도 답을 지어내지 않았어요.

마지막 문장은 저장 설정에 따라 바뀌어요. 자동 저장을 끄면 안내가 대신 에이전트에게 저장을 맡기고, 엄격한 저장 규칙을 따르게 해요(문장마다 정확한 경로와 명령어가 담긴 독립된 사실 하나, 복합 진술은 나누기, 숫자와 날짜는 그대로, 막다른 길은 avoid로 표시, 인과 관계 기록, 세션마다 session-gist 한 줄).

도구: 모두 21개예요.

기록

  • remember — 오래 남길 사실, 결정, 규칙을 하나 저장해요. 이유, 중요도, 개체 간 관계, 막다른 길 표시를 함께 담아요.
  • remember_batch — 여러 사실을 한 번에 저장해요(세션 종료 시 저장).
  • revise — 오래된 메모리를 고친 버전으로 한 번에 바꾸고, 이력은 유지해요.
  • feedback — 메모리를 도움됨, 틀림, 오래됨으로 알려서 시스템이 결과로부터 배우게 해요.

불러오기

  • recall — 작업에 맞춰 예산 안에서 모은 메모리 블록이에요(훅을 쓰는 에이전트가 주입받는 것과 같아요).
  • briefing — 콜드 스타트용 안내: 핵심 블록, 고정된 규칙, 활성 경고, 최근 사실.
  • search — 필터가 있는 시맨틱 검색(유형, 태그, 파일, 막다른 길만).
  • related — 지식 그래프의 이웃: 같은 단어가 없어도 저장된 관계로 이어진 사실.
  • deep_recall — 어려운 질문을 위한 다단계 검색: 찾고, 빠진 것을 알아내고, 다시 찾고, 합쳐요.
  • ask — 질문을 넣으면 근거 있는 답이 나와요(깊은 검색 + 기기 내 리더 모델).
  • get — [m:id] 하나를 전체 기록으로 펼쳐요: 세부 내용, 출처, 대체 이력.
  • list — 현재 항목을 나열해요. 범위별로도 돼요.

시간과 활동

  • timeline — 시간순 작업 이력. 줄마다 날짜와 git 커밋이 있어요.
  • events — 관찰된 모든 도구 호출의 정확한 활동 기록. flips=true는 무언가가 언제 망가지고 언제 고쳐졌는지 정확히 보여 줘요.
  • history — 한 주제가 거쳐 온 모든 버전을 순서대로, 현재 버전과 함께 보여 줘요.
  • recap — 특정 시점 이후 메모리에서 바뀐 것(새로 생김, 대체됨, 폐기됨).
  • file_brief — 파일을 고치기 전 점검: 알려진 막다른 길, 결정, 그 파일의 수정 이력.
  • file_at — 과거의 메모리, 날짜, 단계 시점의 파일 상태를 되살려요. 메모리가 안내하는 git 고고학이에요.

관리

  • pin / forget — 항목을 항상 컨텍스트에 두거나 무효로 해요.
  • edit_core — 항상 컨텍스트에 있는 핵심 메모리 블록을 다시 써요.

3 — Claude Code CLI에서 자동 저장과 불러오기(권장)

terminal
$ verbative-memory register-hooks

권장: 보이는 대로 기본값으로 실행하세요. 그러면 프로젝트의 모든 Claude Code CLI 세션이 프롬프트마다 관련 메모리를 주입받고, 끝난 턴마다 오래 남길 사실이 저장돼요. 도구를 호출할 필요가 없어요. 같은 명령어로 Codex도 연결돼요. --agent=codex가 MCP 서버, 자동 저장, 관리되는 메모리 블록을 등록하고, Codex는 notify 훅으로 매 턴이 끝날 때마다 저장해요. 저장과 주입은 에이전트마다 따로 있는 독립된 두 스위치예요: --capture=on|off와 --inject=on|off. Claude에서는 VS Code 확장 프로그램 설정에 보이는 바로 그 두 스위치예요. verbative-memory unregister-hooks는 에이전트별로 또는 전체를 한 번에 되돌려요.

명령줄

위의 모든 것은 알아서 돌아가요. 평소 메모리를 쓰는 데 터미널은 필요 없어요. CLI는 설정(확장 프로그램 스위치와 같은 설정)을 위한 것이고, 직접 들여다보고 싶을 때 프로젝트 메모리에 바로 닿는 통로이기도 해요.

terminal
# sign in once — the same account as the extension
$ verbative-memory login you@example.com
✓ Signed in — plan: Code Advanced · memory active

# the switches — capture and injection are independent
$ verbative-memory register-hooks --capture=on --inject=on
✓ Registered Verbative memory hooks in ~/.claude/settings.json
  • SessionStart     → start the local memory engine
  • UserPromptSubmit → inject relevant memories into every prompt
  • Stop             → capture durable facts from each finished turn
  Capture:   on    (--capture=on|off)
  Injection: on    (--inject=on|off)
  Context:   standard (--context=compact|standard|rich)
  Power:     balanced (--power=quiet|balanced|fast)
  Backfill:  balanced (--backfill-power=quiet|balanced|fast)

# answer a question from your project's memory — no agent needed
$ verbative-memory ask "why is the session cookie SameSite=Lax?"
The Safari-only login loop was traced to SameSite on Jul 11: the OAuth
callback needs the session cookie at SameSite=Lax. It was set deliberately
in auth.ts — tightening it back to Strict reintroduces the loop. [m:b41c2e]

# bring your history in — pick which past sessions to memorize
$ verbative-memory backfill
Past sessions of this project — a live picker:
  ↑↓ select · enter memorize · same key pauses/resumes · q quit
  ▸ Jul 22  4.1MB  fix the safari login loop on the auth callback  ▶ 37%
    Jul 21  1.3MB  strip EXIF with sharp before upload             done
    Jul 18  0.8MB  why is the checkout flaky on slow connections
    … show 10 more
  Memorizing runs in the background, GPU-quiet — close anytime, it continues.
  In scripts: backfill 1,3-5 | --last=5 | --all · progress: backfill --status

# everything else
$ verbative-memory --help
verbative-memory       the MCP server (what your agent runs)
  login [email]        sign in — same plan as the extension
  logout               sign out (memory pauses; your files stay)
  register-hooks       auto capture & recall
                       (--agent=claude|codex)
  unregister-hooks     remove the hooks again (per agent or all)
  backfill             browse & memorize past sessions
  ask "<question>"     answer from this project's memory
  status               account, memory, hooks, models, engine
  setup                pre-download the on-device models
  version              print the installed version

작동 방식

알아 두면 좋은 점

고급: 에이전트가 확장 프로그램의 바이너리를 직접 쓰게 하기(npx 없이)

확장 프로그램은 컴파일된 서버를 ~/Library/Application Support/Verbative/bin/verbative-hooks/verbative-hooks에 함께 제공해요. 아래에서는 <verbative-server>로 표시해요. 기능은 npx 방식과 똑같아요. 주의: 확장 프로그램이 엔진을 호스팅할 때는 그 프로젝트에 대해 Verbative가 있는 VS Code 창이 열려 있어야 해요. 독립 설치는 자체 엔진을 호스팅해요.

터미널
$ claude mcp add verbative-memory -- "$HOME/Library/Application Support/Verbative/bin/verbative-hooks/verbative-hooks" __memory-mcp

확장 프로그램이 이미 자동 저장과 자동 주입을 하고 있어요. 이 명령어는 필요할 때 쓰는 메모리 도구를 추가해요.

Memory가 작동하는 모습 보기 →