{"data":{"slug":"topoteretes-cognee","name":"cognee","tagline":"Cognee is the open-source AI memory platform for agents.","github_url":"https://github.com/topoteretes/cognee","owner":"topoteretes","repo":"cognee","owner_avatar_url":"https://avatars.githubusercontent.com/u/125468716?v=4","primary_language":"Python","stars":30121,"forks":2937,"topics":["agent-memory","agent-skills","ai","ai-agents","ai-memory","cognitive-architecture","cognitive-memory","context-engineering","contributions-welcome","good-first-issue","good-first-pr","graph-database","graph-rag","help-wanted","knowledge","knowledge-graph","memory-management","open-source","vector-database"],"archived":false,"github_pushed_at":"2026-08-19T16:09:58+00:00","maintenance_label":"Very active","stars_delta_30d":1545,"url":"https://www.graphcanon.com/tools/topoteretes-cognee","markdown_url":"https://www.graphcanon.com/tools/topoteretes-cognee.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/topoteretes-cognee","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=topoteretes-cognee","description":"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.","homepage_url":"https://www.cognee.ai","license":"Apache-2.0","open_issues":359,"watchers":104,"ai_summary":"Provides persistent long-term memory to AI agents using a self-hosted knowledge graph engine.","readme_excerpt":"### Step 1: Install Cognee\n\nYou can install Cognee with **pip**, **poetry**, **uv**, or your preferred Python package manager.\n\n```bash\nuv pip install cognee\n```\n\n---\n\n## Run with Docker\n\nPrefer containers? Cognee publishes prebuilt images to Docker Hub on every push to `main`:\n[`cognee/cognee`](https://hub.docker.com/r/cognee/cognee) (the API server) and\n[`cognee/cognee-mcp`](https://hub.docker.com/r/cognee/cognee-mcp) (the MCP server).\n\n> **Just want to try it?** Follow the\n> [minimal docker-compose try-out](docs/minimal-docker-compose.md) — a single\n> copy-pasteable compose file that runs the prebuilt image, no clone or build needed.\n\n---\n\n### Option A — Docker Compose (build from source)\n\nClone the repo, create a `.env` with at least `LLM_API_KEY`, then:\n\n```bash\ncp .env.template .env   # then edit .env and set LLM_API_KEY\n\n---\n\n# Add the marketplace and install the plugin (one-time, user-scoped)\nclaude plugin marketplace add topoteretes/cognee-integrations\nclaude plugin install cognee-memory@cognee\n\n---\n\n### Getting Started with Rust\n\nUse the [cognee-rs](https://github.com/topoteretes/cognee-rs) crate to add, cognify, and search from Rust.\n\n```bash\ncargo add cognee\n```\n\nSee the [cognee-rs repository](https://github.com/topoteretes/cognee-rs) for full setup and examples.\n\n---\n\n### Getting Started with TypeScript\n\nUse the [@cognee/cognee-ts](https://www.npmjs.com/package/@cognee/cognee-ts) package to add, cognify, and search from Node.js or the browser.\n\n```bash\nnpm install @cognee/cognee-ts\n```\n\nSee the [@cognee/cognee-ts package](https://www.npmjs.com/package/@cognee/cognee-ts) for full setup and examples.","github_created_at":"2023-08-16T16:16:33+00:00","created_at":"2026-07-07T17:40:18.849967+00:00","updated_at":"2026-08-19T18:02:16.853885+00:00","categories":[{"slug":"ai-agents","name":"AI Agents","url":"https://www.graphcanon.com/categories/ai-agents","markdown_url":"https://www.graphcanon.com/categories/ai-agents.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/ai-agents"},{"slug":"vector-databases","name":"Vector Databases","url":"https://www.graphcanon.com/categories/vector-databases","markdown_url":"https://www.graphcanon.com/categories/vector-databases.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/vector-databases"}],"tags":[{"slug":"agent-memory","name":"agent-memory"},{"slug":"ai-agents","name":"ai-agents"},{"slug":"docker","name":"docker"},{"slug":"knowledge-graph","name":"knowledge-graph"},{"slug":"open-source","name":"open-source"},{"slug":"python","name":"python"},{"slug":"rust","name":"rust"},{"slug":"vector-database","name":"vector-database"}],"trust":{"provenance":{"is_fork":false,"github_id":679343504,"owner_type":"Organization","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-08-19T18:02:15.974Z","maintenance":{"label":"Very active","score":96,"methodology":"github_public_v1","releases_90d":29,"days_since_push":0,"last_release_at":"2026-08-19T16:05:28Z","stars_delta_30d":1545,"open_issues_delta_30d":-265},"security_summary":{"status":"no_lockfile","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-07-11T11:16:25.341Z","medium_count":0,"scan_profile":"none","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-08-19T18:02:16.465Z"},"deploy":{"source":"dockerfile:Dockerfile","self_host":true,"observed_at":"2026-08-19T18:02:16.465Z","managed_saas":false},"has_cli":{"value":true,"source":"pyproject.toml:[project.scripts]","observed_at":"2026-08-19T18:02:16.465Z"},"languages":{"value":["python"],"source":"github.language+pyproject.toml","observed_at":"2026-08-19T18:02:16.465Z"},"has_docker":{"value":true,"source":"dockerfile:Dockerfile","observed_at":"2026-08-19T18:02:16.465Z"},"license_spdx":{"value":"Apache-2.0","source":"github.license","observed_at":"2026-08-19T18:02:16.465Z"}},"decision_facts":{"hosting":null,"pricing":null,"requirements":null,"constraints":null,"when_to_use":["- You are developing AI agents that require persistent long-term memory across different sessions.","- You prefer a self-hosted solution where data privacy is critical and you need full control over the knowledge graph engine."],"when_not_to_use":["- Your project does not require persistent memory storage, or your agents operate fully within short-lived sessions without the need for past context.","- You are aiming for minimal setup overhead and prefer a cloud-based solution that requires less maintenance on your infrastructure side."],"source":"enrich:decision_facts","observed_at":"2026-07-11T13:23:53.473Z"},"constraint_facets":null,"decision_summary":[{"label":"Adopt for","value":"When evaluating Cognee, consider its self-hosted persistence capability and the extensive support it offers through multiple programming languages (Python, Rust, TypeScript). It uses vector databases to provide efficient"}]}}