topoteretes/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...

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 21 minutes ago
Added to GitGenius on November 8th, 2025
Created on August 16th, 2023
Open Issues & Pull Requests: 347 (+1)
Number of forks: 2,953
Total Stargazers: 30,235 (+2)
Total Subscribers: 105 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 1.8 hours
Mean response time: 5.6 days
90th percentile: 6.1 days
Tracked items: 900

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 79% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "Medium priority" is answered fastest, typically in under an hour, while "SDK RELIABILITY" waits about 34 hours. Almost all tracked open issues have seen activity in the last three months. Only 4% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 107
New in 7 days: 33
Closed in 7 days: 8
Avg open age: 5 days
Stale 30+ days: 47
Stale 90+ days: 0

Recent activity

Opened in 7 days: 13
Closed in 7 days: 7
Comments in 7 days: 15
Events in 7 days: 49

Top labels

  • bug (172)
  • enhancement (168)
  • hackathon (158)
  • help wanted (114)
  • good first issue (102)
  • INTEGRATIONS (46)
  • documentation (33)
  • Medium priority (32)

Detailed Description

Cognee is an open-source AI memory platform designed to give AI agents persistent long-term memory across sessions through a self-hosted knowledge graph engine. Written in Python, the platform enables developers to ingest data in any format and automatically build a knowledge graph that agents can query to recall information, understand relationships, and act with full context. The project combines vector embeddings, graph reasoning, and cognitive-science-grounded ontology generation to make documents both searchable by semantic meaning and connected through evolving relationships.

The core functionality revolves around four primary operations: remember, recall, forget, and improve. The remember operation ingests data and builds the knowledge graph, recall retrieves relevant information for agent decision-making, forget removes data when needed, and improve refines the knowledge structure over time. Cognee's architecture emphasizes unified knowledge infrastructure with local execution, multimodal support, and ontology grounding. The platform supports persistent and learning agents that can benefit from feedback and cross-agent knowledge sharing while maintaining reliability through agentic user and tenant isolation, traceability via OpenTelemetry collectors, and audit trails.

A significant architectural innovation in Cognee 1.0 is the ability to run the entire memory layer on a single Postgres instance rather than requiring a traditional stack of separate services. This unified approach consolidates graph relationships, vector embeddings via pgvector, session management, and metadata into one database, eliminating the operational complexity of deploying and maintaining Neo4j, Redis, dedicated vector databases, and relational databases separately. Benchmarks show this Postgres-backed approach runs approximately 10 percent faster than separate graph-plus-vector setups, though the platform remains flexible enough to swap in dedicated backends like Neo4j, Neptune, Qdrant, ChromaDB, Weaviate, and Milvus when specific workloads demand them.

The project maintains active development with strong community engagement.

Cognee provides multiple integration pathways including a TypeScript client, Rust client, and plugins for Claude Code and OpenClaw. The platform supports deployment across multiple cloud providers including Cognee Cloud as a managed service, Modal for serverless workloads, Railway, Fly.io, Render, and Daytona for cloud sandboxes. Local development is fully embedded with SQLite, LanceDB, and Kuzudb requiring no external services. The project includes comprehensive documentation, a Colab walkthrough demonstrating core features, and example implementations for use cases like customer support agents and expert knowledge distillation. A research paper titled "Optimizing the Interface Between Knowledge Graphs and LLMs for Complex Reasoning" by Markovic et al. from 2025 provides theoretical grounding for the platform's approach.