为智能体工作流添加图支持的记忆与上下文检索 是做什么的?
使用 Cognee 将项目知识摄入到图与向量记忆中,使智能体能够在跨会话和工作流中检索持久化上下文。
前提条件
Python、Cognee、LLM 提供者凭据、可选的图/向量数据库后端
安装
前提条件:Python 3.10 到 3.14。
使用 uv 或 pip 安装 Cognee:
- uv pip install cognee
- pip install cognee
对于 Claude Code 持久化记忆,可上游文档安装 Cognee 集成插件:
-
claude plugin marketplace add topoteretes/cognee-integrations
-
claude plugin install cognee-memory@cognee
-
从上游文档提取:https://raw.githubusercontent.com/topoteretes/cognee/HEAD/README.md