{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "topoteretes-cognee--give-claude-code-or-codex-memory-with-cognee",
 "repo": "topoteretes/cognee",
 "repo_url": "https://github.com/topoteretes/cognee",
 "repo_slug": "topoteretes-cognee",
 "title": "Give Claude Code or Codex memory across sessions",
 "page_title": "How to give Claude Code or Codex memory across sessions with Cognee",
 "summary": "Install the Cognee plugin so your coding agent keeps project context, past decisions and fixes between runs.",
 "who": "A developer whose coding agent re-learns the same project rules every session.",
 "problem": "Coding agents lose context when a session ends.",
 "outcome": "A memory plugin installed in Claude Code or Codex that captures and recalls project knowledge.",
 "steps": [
  "For Claude Code run `claude plugin marketplace add topoteretes/cognee-integrations` then `claude plugin install cognee-memory@cognee`",
  "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`",
  "Follow the setup guide for your agent to configure local or remote memory"
 ],
 "agent_prompt": "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.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "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.",
 "category": "Research",
 "tags": [
  "Research"
 ],
 "lang": "python",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "privacy",
   "notice": "The plugin captures session content into memory; check what it stores before using it on private code."
  }
 ],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/topoteretes-cognee/give-claude-code-or-codex-memory-with-cognee/",
 "md": "https://dedupedai.com/use-cases/topoteretes-cognee/give-claude-code-or-codex-memory-with-cognee/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/topoteretes-cognee--give-claude-code-or-codex-memory-with-cognee.json",
 "api_version": "v1"
}
