C
cognee
Apache-2.0PythonCognee is the open-source AI memory platform for agents. Give your AI agents persistent long-term memory across sessions with a self-hosted knowledge graph engine.
★ 31kFork 3k更新于 2026-09-14
Cognee is the open-source AI memory platform for agents. Give your AI agents persistent long-term memory across sessions with a self-hosted knowledge graph engine.
Cognee 是一个开源的 AI 记忆平台,专为 AI 智能体设计。它允许你以任何格式摄取数据,并持续构建自托管的知识图谱,为智能体提供跨会话的持久长期记忆。Cognee 结合了向量嵌入、图推理和基于认知科学的本体生成,使文档既可按意义搜索,又可通过关系连接,且这些关系会随着知识的增长而演化。
docker compose up
Cognee 支持多种 LLM 提供商,具体配置请参考官方文档中的 LLM Provider 部分。
是的,Cognee 支持本地开发,默认使用 SQLite、LanceDB 和 Kuzudb,无需额外服务。
可以通过安装 Cognee 记忆插件,为 Claude Code 提供跨会话的持久记忆。
目前 Postgres 作为图存储是演示功能,生产环境建议使用图原生后端,如 Neo4j。