privacy. The plugin captures session content into memory; check what it stores before using it on private code.
Who it is forA developer whose coding agent re-learns the same project rules every session.
The problemCoding agents lose context when a session ends.
The outcomeA memory plugin installed in Claude Code or Codex that captures and recalls project knowledge.
What you need first
- Python 3.10 to 3.14; install with `uv pip install "cognee[gliner]"` for the local extraction model
- Optional: an LLM key (LLM_API_KEY) for generated answers instead of retrieved passages
- Optional: Docker for the API, UI and MCP server; Node.js/npm for the local UI launcher
Steps
- For Claude Code run
claude plugin marketplace add topoteretes/cognee-integrationsthenclaude plugin install cognee-memory@cognee - For Codex enable hooks with
codex features enable hooks - Then run
codex plugin marketplace add topoteretes/cognee-integrations --ref mainandcodex plugin add cognee@cognee - Follow the setup guide for your agent to configure local or remote memory
Prompt for your agent
Install the topoteretes/cognee memory plugin in <Claude Code or Codex> using the README commands, start a session in <my repo>, and confirm a decision from the first session is recalled in the second.
Caveat. This card is written from the topoteretes/cognee README, not from a test run by Deduped. Before you start, make sure you have Python 3.10 to 3.14. Check the repo for newer instructions before you rely on these steps.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for topoteretes/cognee and "Give Claude Code or Codex memory across sessions"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer