cogito-mem

Safety

What you install

Cogi runs on your computer and never sends your conversations anywhere. Here is all of it, so you can check.

Your computer only

It answers only on 127.0.0.1 and refuses requests from web pages.

No cloud, no tracking

No account, no API key, no analytics. No network calls after setup.

Open source

Every line is on GitHub, MIT license.

What Cogi saves, and what it skips

Saves

  • your messages and Claude's replies, with their dates
  • commands Claude ran and files it touched
  • what each sub-agent reported
  • a few lines of command output: errors, metrics, how a run ended

Skips

  • files Claude reads
  • API keys, tokens, private keys and passwords, swapped for [redacted]
  • anything inside <private>…</private>
  • sessions from before you installed it, unless you ask

Redaction works by patterns, so an unusual secret can slip through, and a command's output can quote a line from a file. Wrap anything sensitive in <private>.

Your controls

ToSet or run
Pause savingCOGITO_MEM_CAPTURE=off
Keep no command outputCOGITO_MEM_CAPTURE_TOOL_OUTPUT=off
Keep messages onlyalso COGITO_MEM_CAPTURE_ACTIONS=off and COGITO_MEM_CAPTURE_SUBAGENTS=off
Add your past sessions, oncecogito-mem capture claude-code --all
Add them automaticallyCOGITO_MEM_BACKFILL=on: at each session start, at most hourly

Old sessions may hold secrets that redaction misses.

Files and downloads

Added to Claude Code

FileWhat it does
plugin.jsonStarts the cogi memory tools and asks for your memory's name
hooks.jsonSaves new messages after each answer; adds related memories with each prompt
pyproject.toml, uv.lockPin the exact Cogi release from PyPI, with checksums

Downloaded once, over HTTPS

WhatFrom
Cogi and numpyPyPI
llama-server, which runs the model (skipped if you have it)llama.cpp releases
The model, EmbeddingGemma 2 (310 MB)Hugging Face, ggml-org

Stored in ~/.cogito-mem/

Folder or fileHolds
memory/your messages, in one SQLite file per memory
cache/what makes messages findable by meaning
models/, bin/the model and llama.cpp
run/logs, and the service's address
config.jsonyour memory's name

Check it yourself

Terminal
lsof -nP -iTCP:7327 -sTCP:LISTEN

127.0.0.1:7327 (LISTEN), never *:7327

Or switch off Wi-Fi: Cogi keeps saving and finding as before.

Remove everything

Remove the plugin
claude plugin uninstall cogito-mem@cogito-mem
Erase your memories, the model and llama.cpp
rm -rf ~/.cogito-mem