Devin Memory
概要
作者による説明(英語の原文)
Anti-poisoning memory for agents: provenance, conflicts, quarantine gate.
PopNx MCPの3つの柱
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
- 利用者の声iレビューはまだありませんレビューは今後のステップで、アカウント機能と一緒に始まります
- 私たちの基本チェックi1項目中1項目に合格公開情報からチェック。コードはまだスキャンしていません
- 利用状況iとても新しい↓ 25/週 · ★ –
できること
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
- 接続方法: パソコンで動く
- トランスポート: stdio
- カテゴリ: 検索・AIの記憶
インストール
使っているAIアプリを選んで、設定をコピーしてください。
インストールの前に
- 基本チェック:1項目中1項目に合格
- あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
- 自分で入力するもの:
DEVIN_MEMORY_DB
必要なもの
- PyPIPythonのuvのインストール(uvxコマンドに必要)
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"devin-memory": {
"command": "uvx",
"args": [
"devin-memory-mcp"
],
"env": {
"DEVIN_MEMORY_DB": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add devin-memory --env DEVIN_MEMORY_DB=your-value -- uvx devin-memory-mcp動かす前に、空欄の値を入力してください。
または、設定を自分でコピーする
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"devin-memory": {
"command": "uvx",
"args": [
"devin-memory-mcp"
],
"env": {
"DEVIN_MEMORY_DB": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
または、設定を自分でコピーする
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"devin-memory": {
"type": "stdio",
"command": "uvx",
"args": [
"devin-memory-mcp"
],
"env": {
"DEVIN_MEMORY_DB": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
自分で入力する値
DEVIN_MEMORY_DBenvPath to memory.db (default: ./memory.db)
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月9日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント Icaro0310 で確認済みです
- … 未チェック
今もメンテナンスされている
このリポジトリはまだGitHubから読み取っていません
- … 未チェック
ライセンスがある
このリポジトリはまだGitHubから読み取っていません
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
検索・AIの記憶のほかのサーバーとの比較i
- このカテゴリのほかの5759件のうち0%よりスターが多い
- このカテゴリのほかの5759件のうち53%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの5759件のうち100%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
Devin Memoryは安全ですか?
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は–、最新バージョン(0.3.0)がレジストリに届いたのは36 日前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。
代わりに使えるものは?
同じカテゴリには:Context7, Codebase Memory, Exa
代わりの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Exa
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Part of the [DEVIN ecosystem](https://github.com/Icaro0310/awesome-devin)
Track: Build · Nature: product
For: AI engineers, Developers, Data Scientists
Interface: CLI / Python library / MCP server / Service
Path: AI engineers · step 3/3 — after
devin-orchestrator
Where this fits
- Job: Build
- Product:
devin-brain - Packages:
devin-memory - Mode: mixed
- Foundation:
devin-internals-spec - Ecosystem:
awesome-devin· registry:devin-powerups
devin-memory
Renamed (Oct 2026): this repository moved from
Icaro0310/devin-memory
to
Icaro0310/devin-brain— the PyPI package, CLI commands and MCP server
name stay
devin-memory; stars, issues and history are preserved by the
GitHub redirect.
Unofficial community project. Not affiliated with, endorsed by, or
sponsored by Cognition AI. "Devin" is a trademark of Cognition AI.
[Linux](README.linux.md) · [Personal Windows](README.windows.md) · [Corporate Windows](README.corporate-windows.md)
Part of the awesome-devin ecosystem: the curated hub for the devin-* tools.
An anti-poisoning memory store for Devin: durable facts with provenance, versioning, and a quarantine gate — so agent memory can't be silently corrupted by a bad session or injected content.
The problem
Agent memory is a poisoning vector. Any tool that persists "facts" between sessions can be corrupted by a single bad session — an injected instruction or a pasted secret becomes a trusted belief in every future session, with no review step and no way to answer *"where did this come from?"*.
Prior art
- The Devin memory MCP (
retain/recall/reflectover.devin/memory/memories.jsonl) — append-only, no screening, no session provenance.devin-memoryexports to that exact line shape. - MemGPT / LangChain memory — persistence layers that optimize for recall, not for auditing or distrusting what was stored.
devin-memory adapts the memory-store idea; it adds the parts those tools don't have: a quarantine gate and provenance back to real session rows.
What makes it Devin-native
- Side-by-side: every entry can carry
source_session_id+source_rowid, auditable against Devin'ssessions.dbviadevin-internals' read-only store — the memory MCP cannot verify that a claimed source session (or a specific message row) ever existed. The quarantine gate also screens every write for secret and injection shapes. - No-Devin: without
sessions.dbthere is no session provenance to audit — the extra disappears. - One sentence: *it's a memory store that remembers where each memory came from — and quarantines suspicious ones until a human releases them.*
Install
Python ≥ 3.10 required; install with uv (recommended) or pipx.
uv tool install 'devin-memory[mcp]'
or with pipx (alternative):
pipx install 'devin-memory[mcp]'
For development:
pip install -e ".[dev]"
pytest
Usage
# Store a fact (screened on write; suspect content lands in quarantine)
devin-memory retain "CI is green on Windows + Linux" --tags ci,status devin-memory retain "..." --source-session --source-rowid devin-memory retain "..." --workspace /path/to/project # scope to a workspace devin-memory retain "..." --expires-at 2026-12-31T00:00:00Z # TTL: drops
out of recall/prime after this instant
Keyword-ranked recall — returns active, unexpired entries only;
scores are weighted by recency decay so fresh memories outrank stale ones
devin-memory recall "ci status" [--json] [--limit 5] [--tags a,b] devin-memory recall "ci status" --include-expired # also surface expired
Quarantine lane: list, mark an existing entry, or release one
devin-memory quarantine # list with reasons devin-memory quarantine [--reason manual:x] # mark entry as quarantined devin-memory quarantine --hold-supersede # mark + hold the supersession:
the superseded parent returns
to active until release/retract
devin-memory quarantine --release # human override -> active
(applies a held supersession)
devin-memory quarantine --digest [--json] # audit hash (read-only)
Contradictions: a conflicting retain is linked, not overwritten
devin-memory conflicts [--json] # (newer, older) pairs; resolve with
supersede / retract / quarantine
Mine a session for durable knowledge -> proposed entries (inactive
until reviewed); extraction is heuristic — see "Limitations"
devin-memory extract --sessions-db path/to/sessions.db devin-memory extract --latest --sessions-db path/to/sessions.db [--auto-approve] devin-memory list --status proposed # review queue devin-memory approve # proposed -> active
Context block for a UserPromptSubmit hook — active entries only,
filtered by workspace + machine profile, bounded by ~4 chars/token;
also appends a generated ecosystem-state block (see below)
devin-memory prime [--workspace PATH] [--max-tokens N] [--state-md PATH] [--max-chars N]
Versioning and housekeeping
devin-memory supersede "corrected fact" [--expires-at ]
default: inherit old expiry
devin-memory retract devin-memory list [--status active|proposed|quarantined|retracted] [--json] devin-memory compact [--json] # dedup report (dry-run) devin-memory compact --apply # retract copies + vacuum the file
Audit an entry's provenance: the write-time seal always runs; with
--sessions-db it also cross-checks source_session_id/source_rowid
devin-memory verify [--sessions-db path/to/sessions.db]
Export active memories to a memory-MCP-compatible JSONL
devin-memory export --out memories.jsonl
MCP server
devin-memory is also a real MCP server (stdio) — the same retain/recall pipeline with the quarantine gate on every write, callable from Devin, Claude Desktop, Cursor or any MCP client:
pipx install "devin-memory-mcp"
The devin-memory-mcp console script also ships inside the base devin-memory dist, so a bare uv tool install devin-memory (no extra) leaves a script that exits with error: The MCP server needs the 'mcp' extra — recovery steps live in the Troubleshooting section of each platform guide (Linux, Personal Windows, Corporate Windows).
Client config:
{
"mcpServers": { "devin-memory": { "command": "devin-memory-mcp", "args": ["--db", "/path/to/memory.db"] } } }
The same stdio server registers in other MCP hosts:
Zed — context_servers in settings.json:
{
"context_servers": { "devin-memory": { "command": { "path": "devin-memory-mcp", "args": ["--db", "/path/to/memory.db"] } } } }
JetBrains — Settings → Tools → AI Assistant → Model Context Protocol → Add:
{ "mcpServers": { "devin-memory": { "command": "devin-memory-mcp", "args": ["--db", "/path/to/memory.db"] } } }
Antigravity — ~/.gemini/config/mcp_config.json:
{ "mcpServers": { "devin-memory": { "command": "devin-memory-mcp", "args": ["--db", "/path/to/memory.db"] } } }
Tools: retain, recall, screen (dry-run the gate, no write), list, retract, supersede, quarantine, release, approve, conflicts, prime, verify, extract, compact, quarantine_digest. The release and approve promotion overrides are only registered when the server runs with DEVIN_MEMORY_MCP_PROMOTE=1 — otherwise promotion stays human-only via the CLI (devin-memory quarantine --release / devin-memory approve ). The same flag gates extract's auto_approve parameter and quarantine's hold_supersede (restoring a superseded parent is promotion-shaped), both forced off without the opt-in so an AI client cannot skip the review step. Every tool returns structured data or a {"error", "detail"} object — nothing raises through the transport. DEVIN_MEMORY_DB works as an alternative to --db.
VS Code: adapters/vscode/ ships an extension that registers this server with the editor's built-in MCP support (server definition provider, VS Code ≥1.102) — launch command, optional DEVIN_MEMORY_DB and workspace cwd are declared there; the promotion opt-in is pinned off so the editor-facing server keeps its non-promoting surface.
adapters/ is a self-contained Devin plugin root (adapters/.devin-plugin/plugin.json + adapters/skills/devin-brain/SKILL.md), installed with devin plugins install Icaro0310/devin-brain#adapters — it ships in the repo, not inside the wheel. The manifest launches the server through uvx --from 'devin-memory[mcp]' devin-memory-mcp; the promotion opt-in (DEVIN_MEMORY_MCP_PROMOTE) is never set, so the plugin-facing server keeps its non-promoting surface. To run against a checkout instead of PyPI, point a local manifest copy at uvx --from '.[mcp]' devin-memory-mcp.
Learn from sessions with devin-learning
This companion CLI extracts candidate lessons from a `sessi
冒頭だけを表示しています。続きはリポジトリで読めます