# Add graph-backed memory and context retrieval to agent workflows

> Use Cognee to ingest project knowledge into graph and vector memory so agents can retrieve durable context across sessions and workflows.

- Skill: `agentskillexchange/add-graph-backed-memory-and-context-retrieval-to-agent-workf` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/add-graph-backed-memory-and-context-retrieval-to-agent-workf`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/add-graph-backed-memory-and-context-retrieval-to-agent-workf/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/add-graph-backed-memory-and-context-retrieval-to-agent-workf

---


# Add graph-backed memory and context retrieval to agent workflows

Use Cognee to ingest project knowledge into graph and vector memory so agents can retrieve durable context across sessions and workflows.

## Prerequisites

Python, Cognee, LLM provider credentials, optional graph/vector database backend

## Installation

Prerequisite: Python 3.10 to 3.14.

Install Cognee with uv or pip:

- uv pip install cognee
- pip install cognee

For Claude Code persistent memory, upstream documents installing the Cognee integration plugin:

- claude plugin marketplace add topoteretes/cognee-integrations
- claude plugin install cognee-memory@cognee

- Source: https://github.com/topoteretes/cognee
- Extracted from upstream docs: https://raw.githubusercontent.com/topoteretes/cognee/HEAD/README.md

## Documentation

- https://docs.cognee.ai

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/add-graph-backed-memory-and-context-retrieval-to-agent-workflows/)

