cognee-docker 是什么?
Use when the user wants to run cognee with Docker or docker compose — trying it out from the prebuilt image, starting the API server in a container, or bringing up the full stack (UI, MCP, Postgres, Neo4j) with compose profiles.
以上为来源原文,中文用途说明尚待整理。
怎么接入你的 Agent?
- 定位完整 Skill 目录
打开本项目来源,核对
SKILL.md及其引用的脚本和资料。 - 交给你正在用的 Agent
在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。
- 确认识别,再做具体任务
让 Agent 回报安装目录和识别到的名称
cognee-docker,然后告诉 Agent 你的任务和实际输入,让它先核对触发条件。
展开并复制给 Codex 的安装指令
安装并检查 cognee-docker
请在 Codex 的当前工作环境中安装并检查 cognee-docker 这个 Skill。
项目身份:topoteretes/cognee / cognee-docker
来源:https://github.com/topoteretes/cognee/blob/1961133d0c68b450fe8e71941a756371e94f7c04/.agents/skills/cognee-docker/SKILL.md
已定位的源文件:.agents/skills/cognee-docker/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Claude Code 的安装指令
安装并检查 cognee-docker
请在 Claude Code 的当前工作环境中安装并检查 cognee-docker 这个 Skill。
项目身份:topoteretes/cognee / cognee-docker
来源:https://github.com/topoteretes/cognee/blob/1961133d0c68b450fe8e71941a756371e94f7c04/.agents/skills/cognee-docker/SKILL.md
已定位的源文件:.agents/skills/cognee-docker/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Cursor 的安装指令
安装并检查 cognee-docker
请在 Cursor Agent 的当前工作环境中安装并检查 cognee-docker 这个 Skill。
项目身份:topoteretes/cognee / cognee-docker
来源:https://github.com/topoteretes/cognee/blob/1961133d0c68b450fe8e71941a756371e94f7c04/.agents/skills/cognee-docker/SKILL.md
已定位的源文件:.agents/skills/cognee-docker/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 当前 Agent 的安装指令
安装并检查 cognee-docker
请在 当前 Agent 的当前工作环境中安装并检查 cognee-docker 这个 Skill。
项目身份:topoteretes/cognee / cognee-docker
来源:https://github.com/topoteretes/cognee/blob/1961133d0c68b450fe8e71941a756371e94f7c04/.agents/skills/cognee-docker/SKILL.md
已定位的源文件:.agents/skills/cognee-docker/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。来源原文与资料状态
- 源文件
- 已保存 SKILL.md,抓取于 2026-11-23T04:29:48.865Z
- 中文使用说明
- 尚待整理,保留英文来源内容
- 安装与任务测试
- 本站未执行安装或任务测试
- 来源复核
- 已保留来源记录;当前完整用法未逐项人工复核
展开 SKILL.md 原文、章节与历史收录资料
.agents/skills/cognee-docker/SKILL.md · 抓取时间 2026-11-23T04:29:48.865Z
以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。
抓取成功不代表已完成安装或任务测试。
Use when the user wants to run cognee with Docker or docker compose — trying it out from the prebuilt image, starting the API server in a container, or bringing up the full stack (UI, MCP, Postgres, Neo4j) with compose profiles.
查看源文件章节 / Source sections
- 原文:Start cognee from the Docker image
- 原文:Fastest path: prebuilt image, one file
- 原文:Full stack from the repo
- 原文:Gotchas
原文:Fastest path: prebuilt image, one file
For a local try-out, do NOT clone or build anything. Follow `docs/minimal-docker-compose.md`: save this as `docker-compose.yml` in an empty directory: ```yaml services: cognee: image: cognee/cognee:main ports: - "8000:8000" environment: LLM_API_KEY: ${LLM_API_KEY:?set LLM_API_KEY to your OpenAI API key} # Single-user try-out: no auth, shared local databases. ENABLE_BACKEND_ACCESS_CONTROL: "false" ``` Then: ```bash export LLM_API_KEY="sk-..." # OpenAI key (default LLM + embedding provider) docker compose up curl http://localhost:8000/health ``` Interactive API reference: http://localhost:8000/docs. First requests: ```bash echo "Cognee turns documents into AI memory." > note.txt # remember = ingest + build the graph in one call (multipart form) curl -X POST http://localhost:8000/api/v1/remember -F "data=@note.txt" -F "datasetName=main_dataset" # recall = query it (JSON) curl -X POST http://localhost:8000/api/v1/recall -H "Content-Type: application/json" \ -d '{"query": "What does Cognee do?", "datasets": ["main_dataset"]}' ``` `/api/v1/recall` takes the question as `query`. Omit `search_type` (or pass `null`) and the query is auto-routed by the same rule-based router the SDK `recall()` uses, with `HYBRID_COMPLETION` as the fallback; pass a value such as `"search_type": "GRAPH_COMPLETION"` to pin a strategy. The rule table is in `docs/recall-vs-search.md`. Request DTOs accept both `snake_case` and `camelCase` for every field (`alias_generator=to_camel` + `populate_by_name` in `cognee/api/DTO.py`), so `search_type` and `searchType` are equally valid. The legacy `/api/v1/add` + `/api/v1/cognify` + `/api/v1/search` endpoints still exist and are what `remember`/`recall` call underneath; use them only when you need a single stage on its own. `/api/v1/improve` and `/api/v1/forget` complete the memory API. Data lives inside the container by default. To persist it, set `DATA_ROOT_DIRECTORY=/cognee-data/data` and `SYSTEM_ROOT_DIRECTORY=/cognee-data/system` and mount a named volume at `/cognee-data` (full example in `docs/minimal-docker-compose.md`).
原文:Full stack from the repo
The repository's `docker-compose.yml` builds from source and adds opt-in profiles. From the repo root (needs a `.env` with at least `LLM_API_KEY`; copy `.env.template`): ```bash docker compose up # API server only, port 8000 docker compose --profile ui up # + frontend on port 3000 docker compose --profile mcp up # + MCP server on port 8001 docker compose --profile postgres --profile neo4j up # + databases ``` Postgres profile: pgvector/pg17, user/password/db `cognee`/`cognee`/`cognee_db` on 5432. Neo4j profile: `neo4j`/`pleaseletmein` on 7474/7687. When cognee runs in a container and the database on the host, use `DB_HOST=host.docker.internal`.
原文:Gotchas
- With `ENABLE_BACKEND_ACCESS_CONTROL` unset (defaults to true), every API call requires authentication — the single-user try-out sets it to `false`. - The image defaults to OpenAI for both LLM and embeddings; configuring only one of them leaves the other on OpenAI, so keep a valid OpenAI key or configure both (see the cognee-integrations skill).
文件 SHA256:35271fdb2d24e6098ba50058a565033392b7bc5d757155193e39753e3d0afcb1
仓库许可证记录:Apache-2.0;repository-license-recorded-scope-unverified,查看来源。
Use when the user wants to run cognee with Docker or docker compose — trying it out from the prebuilt image, starting the API server in a container, or bringing up the full stack (UI, MCP, Postgres, Neo4j) with compose profiles.
历史收录数据
| 来源仓库 | topoteretes/cognee |
|---|---|
| Skill源路径 | .agents/skills/cognee-docker/SKILL.md |
安装前请让使用的Agent先读取这个SKILL.md及其所在目录,确认依赖和所需权限。此页不生成未经来源验证的安装命令。
