DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to give Claude Code or Codex memory across sessions with Cognee

Install the Cognee plugin so your coding agent keeps project context, past decisions and fixes between runs.

Short answer: For Claude Code run claude plugin marketplace add topoteretes/cognee-integrations then claude plugin install cognee-memory@cognee; then For Codex enable hooks with codex features enable hooks; then run codex plugin marketplace add topoteretes/cognee-integrations --ref main and codex plugin add cognee@cognee. All steps.

  • Research
  • Intermediate
  • 30 minutes
  • From the README
  • Claude Code
  • Codex
  • Cursor
  • Gemini CLI

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

  1. For Claude Code run claude plugin marketplace add topoteretes/cognee-integrations then claude plugin install cognee-memory@cognee
  2. For Codex enable hooks with codex features enable hooks
  3. Then run codex plugin marketplace add topoteretes/cognee-integrations --ref main and codex plugin add cognee@cognee
  4. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer