Cognee

Active
GitHub Python Apache-2.0

Description

Open-source library for learnable memory and graph retrieval in LLMs.

Key Features

  • Knowledge graph — Auto entity-relation extraction
  • Learnable — Memory updates with interaction
  • ECL pipeline — Extract-Cognify-Load
  • Multi-source — Docs, chat, databases
  • Visualization — Memory graph view

Use Cases

💡 Add structured long-term memory to agents.
💡 Build knowledge graphs from chat history.
💡 Add graph retrieval to RAG systems.

Quick Start

pip install cognee
import cognee
await cognee.add('text data')
await cognee.cognify()

Related Projects