# Cognee

> An open-source memory platform that turns documents, code and conversations into a knowledge graph for agents.

## Facts
- **Category:** [Agent Infrastructure](https://agentsearchengine.app/category/agent-infrastructure)
- **Type:** Infrastructure
- **Pricing:** Open source
- **GitHub stars:** 30,933
- **Language:** Python
- **License:** Apache-2.0
- **Last repo activity:** today (Sep 23, 2026)
- **Official site:** https://www.cognee.ai
- **Source code:** https://github.com/topoteretes/cognee
- **Listing on Agent Search Engine:** https://agentsearchengine.app/agents/cognee
- **Data verified:** September 2026

## Best for
Agents whose memory should be structured around entities and relationships rather than a flat vector store.

## About Cognee
Cognee gives AI agents persistent long-term memory by turning documents, code and conversations into a self-hosted knowledge graph they can search and reuse across sessions. It can start locally without an OpenAI or Anthropic key, using local extraction and embedding models, supports custom data models and ontologies, and targets uses from a shared company-wide memory to memory that carries between agent runs.

## Install

```
uv pip install "cognee[gliner]"
```

## Alternatives
Cognee sits in agent infrastructure. Related tools indexed here:
- [daytona](https://agentsearchengine.app/agents/daytona) — Secure elastic infrastructure for running AI-generated code; this repository is no longer maintained. · Open source · Infrastructure · 72k★ · active 2 months ago
- [mem0](https://agentsearchengine.app/agents/mem0) — Universal memory layer for AI Agents · Open source · Infrastructure · 66k★ · Python · Apache-2.0 · active today
- [Langfuse](https://agentsearchengine.app/agents/langfuse) — An open-source LLM engineering platform for tracing, evaluation, prompt management and debugging. · Open source · Infrastructure · 35k★ · TypeScript · MIT · active today
- [Graphiti](https://agentsearchengine.app/agents/graphiti) — A framework for building temporal context graphs that give AI agents memory of how facts change. · Open source · Infrastructure · 31k★ · Python · Apache-2.0 · active 1 day ago
- [Composio](https://agentsearchengine.app/agents/composio) — SDKs that give AI agents 1,000+ pre-authenticated toolkits, per-user sessions, triggers and a sandbox. · Open source · Infrastructure · 30k★ · TypeScript · MIT · active today
- [cua](https://agentsearchengine.app/agents/cua) — Open-source infrastructure for Computer-Use Agents. Sandboxes, SDKs, and benchmarks to train and evaluate AI agents that can control full desktops (macOS, Linux, Windows). · Open source · Infrastructure · 26k★ · Python · MIT · active today
- [Opik](https://agentsearchengine.app/agents/opik) — Comet's open-source platform for LLM and agent tracing, evaluation, prompt management and monitoring. · Open source · Infrastructure · 22k★ · Python · Apache-2.0 · active today
- [E2B](https://agentsearchengine.app/agents/e2b) — Open-source infrastructure for running AI-generated code in secure, isolated cloud sandboxes. · Open source · Infrastructure · 14k★ · Python · Apache-2.0 · active today

---
Source: [Agent Search Engine](https://agentsearchengine.app) — an independent, hand-curated index of AI agents, MCP servers, and frameworks. Rankings are never sold; sponsored placements are labeled and never numbered. Full directory: https://agentsearchengine.app/llms-full.txt
