Cognee
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.
供给资产档案
研究与知识工作
Deep research, source comparison, literature review, RAG, knowledge search, and reports.
场景
RAG and knowledge
I need my agent to build a RAG workflow over documents and retrieve reliable context.
适配 Agent
Claude Code + CLI + Codex
适用于 Codex、Claude Code、Cursor、CLI 或自定义 Agent。
安装
就绪
npx skills add topoteretes/cognee
维护状态
新鲜
今天有推送
风险
需审查
Permission surface may require sandboxing
GitHub 质量
30K
100/100 质量 · 91/100 信任
覆盖标签
审查说明
Permission surface may require sandboxing · Financial research output is not financial advice; require human review before any live investment decision
Agent 采用评分卡
一眼查看信任、审计与安装准备度
这些分数综合公开仓库元数据、OpenAgentSkill 审查信号、维护新鲜度与安装准备度。它用于候选筛选,不替代人工审查。
质量
优秀高置信候选,具有较强的采用度与健康维护信号。
信任
审查后安装适合加入候选清单,但 Agent 在运行前应审查审计说明、安装策略和结果证据。
审计
需审查对安装准备度、安全元数据、维护情况与采用风险的机器可读审查。
OpenAgentSkill 信任评分 v5
安装前需人工审查
在人工审查或沙盒验证后作为首选候选。
Stars
30K 个 GitHub Stars
仓库活跃度
30K 个 Star,3.0K 个 Fork
维护状态
今天有推送
许可证
Apache-2.0
安装
npx skills add topoteretes/cognee
安装安全性
标准软件包或运行时安装路径
权限范围
filesystem or document access, network or browser access
Agent 结果
暂未有 Agent 结果数据
文档
README/SKILL.md 上下文充分
风险摘要
生产前审查
- Financial research output is not financial advice; require human review before any live investment decision.
- Permission surface needs review: filesystem or document access, network or browser access
- Permission surface: filesystem or document access, network or browser access
安装准备度
安装路径可用
- 安装路径可用
- 仓库证据可用
- 已声明许可证
- 暂无 Agent 验证结果证据
Agent 可读元数据
这个 Skill 的机器可读决策数据。
使用此区块或内嵌 JSON 判断 Agent 是否应安装该 Skill、选择替代方案,或先请求人工审查。
适用任务
- RAG and knowledge 工作流
- Claude Code 团队
- 重视 GitHub 采用信号的团队
- Chunk documents
适用 Agent
安装决策
- 命令
- npx skills add topoteretes/cognee
- 策略
- 审查
- 人工审查
- 是
信任与风险
- 信任
- 83/100
- 审计
- 94/100
- 风险级别
- 需审查
结果闭环
- 端点
- /api/agent/outcome
- 事件 ID
- resolve
- 结果
- 5
不适用场景
- 需要厂商支持 SLA 的团队
- 没有内部安全审查的高合规环境
- 当前元数据中未发现重大风险信号
- Permission surface may require sandboxing
- Financial research output is not financial advice; require human review before any live investment decision
Agent 安全 v2
74/100 · 安装前审查
可用候选,但 Agent 在安装前应展示权限与审计说明。
在真实工作区安装前需要人工批准。
中
网络访问
Skill 可能访问远程页面、API、仓库或外部服务。
中
文件系统访问
Skill 可能读取或写入项目文件、文档、生成产物或本地工作区状态。
中
数据库访问
Skill 可能检查 Schema、查询数据库或处理持久化存储。
- Permission surface may require sandboxing
安装目标
在你的 Agent 工作流中安装此 Skill
通过公开安装端点获取命令、安全清单、目标提示词和该 Skill 的规范链接。
OpenAgentSkill CLI
Resolve policy, run the source installer safely, and report a verified install receipt.
$ npx --yes https://github.com/Leon-Drq/openagentskill/releases/download/cli-v0.2.1/openagentskill-0.2.1.tgz install topoteretes-cogneeAgent 解析计划
让 Agent 在安装前验证匹配度。
Resolve API 返回首选 Skill、替代方案、安全策略、审计说明、安装目标和可直接执行的提示词,无需抓取此页面。
打开 JSON
/api/agent/resolve?task=Use%20Cognee%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve 文本
/api/agent/resolve?task=Use%20Cognee%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
安装交接
/api/skills/topoteretes-cognee/install
Agent 应检查
- 从 Resolve API 检查任务匹配与替代方案。
- 检查审计评分、信任评分和安全策略警告。
- 检查 Codex、Claude Code、Cursor 或 CLI 的安装目标兼容性。
复制提示词
Task: Use Cognee in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20Cognee%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/topoteretes-cognee/install
Install command: npx skills add topoteretes/cognee
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent 交接
把安装路径交给 Agent,而不是再给一个目录页。
通过公开安装端点获取命令、安全清单、目标提示词和该 Skill 的规范链接。
安装交接
/api/skills/topoteretes-cognee/install
LLM 文本格式
/api/skills/topoteretes-cognee/install?format=text
寻找替代方案
/api/skills/search?q=Cognee&limit=3
Agent 提示词
Use Cognee for this task. Review https://www.openagentskill.com/api/skills/topoteretes-cognee/install, then install with: npx skills add topoteretes/cogneeRegistry 元数据
用于自动选择 Skill 的 Agent 可读档案。
本页通过 Registry API 提供相同的决策、信任、审计、场景和安装信号,让 Agent 无需抓取界面即可排序。
Manifest
/api/registry/manifest/topoteretes-cognee
LLM 文本
/api/registry/manifest/topoteretes-cognee?format=text
安装别名
/api/registry/install/topoteretes-cognee
推荐
/api/registry/recommend?task=Use%20Cognee%20in%20an%20agent%20workflow&limit=3
适配 Agent
RAG and knowledge
平台
Python, Vector Search, Claude Code
Agent 决策面板
适合 RAG and knowledge 的首选
将其作为优先候选,再在你的 Agent 环境中验证 README 与安装路径。
栈中角色
首选
主要匹配
RAG and knowledge
信任标签
可用于生产
安装路径
命令已就绪
适用场景
- RAG and knowledge 工作流
- Claude Code 团队
- 重视 GitHub 采用信号的团队
证据
- 30,192 个 GitHub Stars
- 仓库近期活跃
- 已提供安装命令或 GitHub 仓库
- 100/100 质量档案
- 147 个 OpenAgentSkill 交互事件
先审查
- 当前元数据中未发现重大风险信号
实施路径
- 1在沙盒 Agent 中安装它,并端到端完成一次RAG and knowledge任务。
- 2Compare output quality, latency, and failure behavior against at least one alternative.
- 3Promote it into production only after reviewing repository permissions, license, and maintenance signals.
信任档案
审查后安装
适合加入候选清单,但 Agent 在运行前应审查审计说明、安装策略和结果证据。
GitHub 采用度
通过30K 个 GitHub Stars
Star/Fork 活跃度
通过30K 个 Star,3.0K 个 Fork; 当前元数据中没有议题活跃度信息
近期维护
通过今天有推送
许可证清晰度
通过Apache-2.0
积极信号
- 人工验证的收录
- AI 审查已通过
- 安装路径可用
- 仓库证据可用
- 近期维护的仓库
- Large GitHub adoption signal
- 安装命令未发现明显高风险模式
- 检测到 OpenAgentSkill 使用活动
- 结果闭环已就绪,但需要首次真实 Agent 运行
安装前审查
- Financial research output is not financial advice; require human review before any live investment decision.
- Permission surface needs review: filesystem or document access, network or browser access
- Permission surface: filesystem or document access, network or browser access
- 暂未有真实 Agent 结果报告
- 无人值守安装前需要人工审查
建议操作
在人工审查或沙盒验证后作为首选候选。
质量档案
优秀 适用于 Agent 工作流的候选
高置信候选,具有较强的采用度与健康维护信号。
工作流匹配
在这些场景使用此 Skill
Search private knowledge
RAG and knowledge
I need my agent to build a RAG workflow over documents and retrieve reliable context.
Investigate faster
Research agents
I need my agent to research a topic, compare sources, and produce a concise report.
Answer users
Customer support
I need my agent to triage support requests and draft useful replies from product knowledge.
工作流匹配
加入完整工作流
Ingest, retrieve, and cite
RAG knowledge base
A workflow for document-heavy agents that ingest files, create searchable knowledge, retrieve relevant context, and answer with grounded sources.
Find, compare, and synthesize
Research report agent
A workflow for agents that gather sources, compare claims, summarize long material, and draft useful research briefs.
Turn skills into distribution
Content growth agent
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
替代方案短名单
安装前对比
可能适合该任务的相近 Skill。
MiroFish
A Simple and Universal Swarm Intelligence Engine, Predicting Anything. 简洁通用的群体智能引擎,预测万物
Generative AI For Beginners
21 Lessons, Get Started Building with Generative AI
Graphify
AI coding assistant skill (Claude Code, Codex, OpenCode, Cursor, Gemini CLI, and more). Turn any folder of code, SQL schemas, R scripts, shell scripts, docs, papers, images, or videos into a queryable knowledge graph. App code + database schema + infrastructure in one graph.
Elasticsearch
Free and Open Source, Distributed, RESTful Search Engine
概览
--- name: cognee description: > Use this skill whenever the user asks about Cognee, AI memory, persistent agent memory, self-improving agents, agents learning from feednack, knowledge graphs, graph-based RAG, long-term memory for agents, short-term memory for agents, personalization, personas, temporal search, temporal knowledge graphs, ontology-based extraction, ontology grounding, feedback, Cypher search, natural-language graph search, chunk search, RAG search, cross-session memory, session feedback, feedback loops, session based memory, redis based memory, knowledge promotion. Also use when the user describes the workflow such as: "turn documents into a knowledge graph", "build memory from files", "search my graph", "extract entities and relations", "sync data into a graph", "update graph memory", "store memories for an agent", "help my agent learn over time", "visualize a knowledge graph built from documents", "let the agent learn", "adaptive agents", "personalized agents", "session based personalization", "find important ontologies", "find custom pydantic models", "isolate agentic behaviour", "add permission control to retrieval", "reduce context bloating". ---
# Cognee
Use this skill for **Cognee-specific Python API help** and for mapping user goals to the right Cognee workflow.
## When to apply this skill
Apply this skill whenever the user wants to do any of the following with Cognee:
- ingest text, files, URLs, repos, or datasets - build or rebuild a knowledge graph - search documents, chunks, summaries, triplets, or graph context - choose a `SearchType` - enrich an existing graph with `memify` - define custom graph extraction models or `DataPoint` types - run custom task pipelines - configure LLM, graph DB, vector DB, or storage settings - tag and scope memory with `node_set` / NodeSets - build persistent memory for agents across sessions - create feedback loops or self-improving agent workflows - work with temporal extraction, ontologies, Cypher, or natural-language graph queries - manage datasets, sessions, feedback, pruning, updates, or visualization
If the user’s intent is “store information in memory and query it later,” prefer Cognee’s core flow: **add -> cognify -> search**
## Core workflow
```python import cognee from cognee import SearchType
await cognee.add( "Your text, file path, URL, or list of inputs", dataset_name="main", node_set=["default_memory"], ) await cognee.cognify(datasets="main") results = await cognee.search( "What are the key insights?", query_type=SearchType.GRAPH_COMPLETION, datasets="main", ) ```
## Default guidance
When helping with Cognee:
1. Start with the **simplest working path** unless the user explicitly asks for advanced configuration. 2. Prefer the standard workflow: - `add(...)` to ingest - `cognify(...)` to build the graph - `search(...)` to query it 3. Treat Cognee APIs as **async**. 4. Use `dataset_name` / `datasets` to keep work organized when the user has multiple sources. 5. Use `node_set` when the user wants lightweight tagging, project scoping, per-user memory buckets, or subgraph filtering. 6. Recommend advanced features only when they match the task: - `memify(...)` for enriching an existing graph - `temporal_cognify=True` for time-aware extraction - custom graph models or `DataPoint` types for domain-specific extraction - custom pipelines for non-default task orchestration - feedback loops for retrieval improvement - visualization tools for graph inspection
## Common tasks
### Add data
Use `cognee.add(...)` for text, files, URLs, or mixed inputs.
```python await cognee.add("notes.md", dataset_name="research") await cognee.add("https://example.com", dataset_name="research") await cognee.add(["paper.pdf", "summary.txt"], dataset_name="research") ```
Use `node_set` when the user wants data grouped into logical memory buckets.
```python await cognee.add( "Customer prefers concise weekly summaries and Slack delivery.", dataset_name="customer_success", node_set=["preferences", "customer_123", "weekly_reports"], ) ```
### Build the graph
Use `cognee.cognify(...)` after ingestion.
```python await cognee.cognify(datasets="research") ```
Use these options when relevant:
```python await cognee.cognify( datasets="research", temporal_cognify=True, chunk_size=1024, custom_prompt="Extract companies, products, and partnerships.", ) ```
### Search the graph
Use `cognee.search(...)` and pick the search mode that matches the request.
```python results = await cognee.search( "What changed in Q1 2024?", query_type=SearchType.TEMPORAL, datasets="research", top_k=10, ) ```
### Scope search with NodeSets
Use NodeSets when the user wants to search only a subset of memory such as one project, one customer, one user, or one workflow.
```python results = await cognee.search( query_text="What are this customer's reporting preferences?", query_type=SearchType.GRAPH_COMPLETION, datasets="customer_success", node_name=["preferences", "customer_123"], ) ```
### Enrich an existing graph
Use `memify(...)` when the user wants to improve or extend an already-built graph without restarting the full workflow.
```python await cognee.memify(dataset="research") ```
### Create domain-specific structures
Use custom models when the user wants extraction shaped around a schema.
```python from typing import Any from pydantic import SkipValidation from cognee.infrastructure.engine import DataPoint from cognee.tasks.storage import add_data_points
class ScientificPaper(DataPoint): title: str authors: list[str] methodology: str findings: list[str] cites: SkipValidation[Any] = None metadata: dict = {"index_fields": ["title", "findings"]}
paper = ScientificPaper( title="Graph Memory for Agents", authors=["A. Researcher"], methodology="Knowledge graph + vector retrieval", findings=["Improved cross-session recall", "Better multi-hop retrieval"], )
await add_data_points([paper]) ```
### Run custom pipelines
Use `run_custom_pipeline(...)` when the user needs explicit sequential task control.
```python from cognee.modules.pipelines.tasks.task import Task
async def my_task(data): return data
await cognee.run_custom_pipeline( tasks=[Task(my_task)], data="input", dataset="research", ) ```
## DataPoints
A `DataPoint` is the **atomic unit of knowledge** in Cognee.
Use this concept whenever the user asks how Cognee represents structured data internally or how to insert graph objects directly.
Key ideas:
- A `DataPoint` is a Pydantic model that represents one meaningful unit of information. - It can carry both **content** and **context**, including indexing hints and relationship fields. - When inserted directly, DataPoints can become graph nodes and edges while also contributing searchable vector fields. - `metadata = {"index_fields": [...]}` controls which fields should be embedded for semantic search. - Relationship fields can point to other DataPoints, letting you define graph structure programmatically. - DataPoints are ideal when the user already has structured objects and does **not** want to rely only on text extraction.
Use `DataPoint` when the user wants:
- schema-shaped memory - exact control over graph structure - programmatic relationship creation - custom domain entities such as papers, customers, incidents, policies, products, or workflows
Prefer plain `add(...) -> cognify(...)` for unstructured documents. Prefer `DataPoint` models plus `add_data_points(...)` when the user already has structured Python objects and wants direct graph insertion.
## NodeSets
Use NodeSets when the user wants a lightweight way to **tag, group, and scope memory**.
A NodeSet starts as a simple list of tags passed through `node_set=[...]` during `add(...)`, but after `cognify()` those tags become first-class graph nodes that help organize retrieval.
### Why NodeSets matter
- They let the user organize memory by project, team, customer, workflow, topic, or environment. - They make it easy to search only a relevant subgraph instead of the full dataset. - They are especially useful in agent systems where one memory store contains many users, jobs, or tasks.
### Good NodeSet patterns
- per customer: `["customer_123"]` - per workflow: `["support_bot", "refund_flow"]` - per topic: `["contracts", "vendor_risk"]` - per environment: `["prod", "staging"]` - per user memory: `["user_42", "preferences"]`
### Example
```python await cognee.add( [ "Alice prefers terse answers and email follow-ups.", "Alice escalates billing issues to finance first.", "Bob prefers detailed technical explanations." ], dataset_name="agent_memory", node_set=["crm", "user_profiles"], )
await cognee.cognify(datasets="agent_memory")
results = await cognee.search( query_text="How should I respond to Alice?", datasets="agent_memory", node_name=["crm", "user_profiles"], ) ```
Use NodeSets by default whenever the user says things like:
- “scope memory by customer” - “separate projects without making separate databases” - “let the agent search only its own memories” - “group facts by workflow or team”
## SearchType selection guide
Use these defaults:
- `GRAPH_COMPLETION`: best default for graph-aware Q&A - `RAG_COMPLETION`: traditional RAG over document chunks - `CHUNKS`: fast semantic retrieval without completion - `CHUNKS_LEXICAL`: exact-term / keyword matching - `SUMMARIES`: overview of documents - `TRIPLET_COMPLETION`: subject-predicate-object style graph Q&A - `GRAPH_SUMMARY_COMPLETION`: graph + summary-based answers - `GRAPH_COMPLETION_COT`: deeper reasoning over graph context - `GRAPH_COMPLETION_CONTEXT_EXTENSION`: broader graph context retrieval - `CYPHER`: raw Cypher queries when enabled - `NATURAL_LANGUAGE`: natural language to graph query - `TEMPORAL`: time-aware graph search - `CODING_RULES`: code rules and patterns - `CODE`: deterministic code fact lookup, graph traversal, paths, and impact analysis - `FEELING_LUCKY`: let Cognee choose automatically - `FEEDBACK`: apply feedback to improve later retrieval behavior
## Agentic workflows and feedback-driven improvement
Use Cognee as the **memory layer for agent systems** that need to improve over time through better recall, better reuse of prior work, and better retrieval of successful past behavior.
The key idea is simple:
- keep the **agent workflow itself constant** - keep the **prompt and tools constant** - change only what the agent can remember and retrieve
This means “improvement” comes from **memory reuse and retrieval quality**, not from changing the model or retraining it.
### What Cognee gives agentic workflows
Cognee helps agent systems:
- store observations, decisions, outcomes, and learned patterns as memory - retrieve graph-aware context instead of relying only on flat chunk search - reuse prior investigations, plans, and successful resolutions - preserve short-term context through sessions - consolidate useful session history into long-term knowledge - scope memory by user, customer, workflow, team, or environment with datasets and NodeSets - improve future behavior through feedback loops and memory enrichment
### The general feedback pattern
A strong way to explain Cognee in agent systems is:
1. **Baseline condition** The agent searches the existing knowledge graph and acts using only current stored knowledge.
2. **Feedback-enabled condition** The agent uses the same prompt and the same tools, but now benefits from: - **short-term memory** from cached or sessionized interactions - **long-term memory** created by periodically persisting useful sessions back into the graph
3. **Improvement mechanism** Future runs become faster or better because the agent can retrieve: - similar prior cases - successful resolutions
平台兼容性
技术详情
- 版本
- 1.0.0
- 许可证
- Apache-2.0
- 最近更新
- 2026年8月23日
- 发布时间
- 2026年5月23日
框架与工具
决策摘要
首选
30,192 个 GitHub Stars
Agent 验证证据
Agent 验证证据
来自解析、审查、安装和一次小范围运行后的结果报告。
- 成功率
- —
- 近期失败
- —
- 结果
- 0
- 输出质量
- —
- 失败
- 0
- 不相关
- 0
- 安装次数
- 0
- 风险拦截
- 0
- 需要配置
- 0
- 生产环境
- 0
暂时没有 Agent 结果数据。首次 Agent 执行可以通过 /api/agent/outcome 报告成功、需要设置、风险拦截、失败或不相关。
增长闭环
分享工具包
为 Cognee 准备的场景化草稿,可手动发布到 X。
Cognee: Cognee is the open-source AI memory platform for agents. Give your AI agents persistent long-... 30.2K stars https://www.openagentskill.com/skills/topoteretes-cognee?ref=x
可选:带安装命令的回复
Listing + install path for Cognee: https://www.openagentskill.com/skills/topoteretes-cognee?ref=x Install: npx skills add topoteretes/cognee
收录来源
社区收录
此列表来自公开来源,维护者认领获批前不会标记为官方。
- 创作者
- topoteretes
- 收录方
- OpenAgentSkill 社区索引
归属链接指向公开仓库或创作者主页。创作者可认领列表以更新所有权信号。
认领此 Skill所有者认领
认领此 Skill 页面
这条 社区收录 列表归属于 topoteretes,但尚未标记为官方。认领后可增加已验证所有者信号,使后续发布、安装和审计更新更值得信赖。
创作者外链工具包
将证据徽章加入你的 README
在开发者评估仓库的位置展示规范页面、当前信任与审计信号,以及真实的 Agent 验证证据。
[](https://www.openagentskill.com/skills/topoteretes-cognee)
[](https://www.openagentskill.com/skills/topoteretes-cognee)
[](https://www.openagentskill.com/skills/topoteretes-cognee/audit)
[](https://www.openagentskill.com/skills/topoteretes-cognee)作者
topoteretes✓
@topoteretes
标签
平台适配
健康信号
- GitHub Stars
- 30.2K
- 质量评分
- 75/100
- 最近 GitHub 推送
- 2026年8月23日
- 框架提示
- 2
- OpenAgentSkill 浏览量
- 29
- 复制安装命令
- 0
- 跳转点击
- 1
社区信号
告诉我们这个 Skill 是否对你的 Agent 工作流有帮助。汇总反馈会持续改善排序。
信任与安全
审查后安装
- GitHub 采用度30K 个 GitHub Stars通过
- Star/Fork 活跃度30K 个 Star,3.0K 个 Fork; 当前元数据中没有议题活跃度信息通过
- 近期维护今天有推送通过
- 许可证清晰度Apache-2.0通过
- README/SKILL.md 完整度元数据包含足够的用法与工作流上下文通过
- 依赖与运行时风险network or browser surface, database surface信息
相关 Skill
MiroFish
A Simple and Universal Swarm Intelligence Engine, Predicting Anything. 简洁通用的群体智能引擎,预测万物
69.9K StarsGenerative AI For Beginners
21 Lessons, Get Started Building with Generative AI
112.2K StarsGraphify
AI coding assistant skill (Claude Code, Codex, OpenCode, Cursor, Gemini CLI, and more). Turn any folder of code, SQL schemas, R scripts, shell scripts, docs, papers, images, or videos into a queryable knowledge graph. App code + database schema + infrastructure in one graph.
91.0K StarsElasticsearch
Free and Open Source, Distributed, RESTful Search Engine
77.0K Stars