List your AI tool on AI Orion for free. Submit a tool

cognee

Cognee is the open-source AI memory platform for agents. Give your AI agents persistent long-term memory with small models for free

Pricing
Free
cognee

About cognee

cognee is a free, open-source AI memory platform that gives AI agents persistent long-term memory across sessions. It turns documents, code, and conversations into a self-hosted knowledge graph that agents can search and reuse. It is aimed at developers building agents that need to retain project context, past decisions, and learned rules rather than starting each session from scratch.

cognee runs locally for free using small models that run on a CPU, with no API key required, and both the local extraction model and the embedding model download on first use. Text becomes entities, relationships, and searchable chunks, while code becomes a graph of symbols and dependencies. At query time, retrieval selects relevant graph, vector, or code context that an application can inspect and use to answer a question or continue an agent task.

cognee supports four core operations: remember stores content or code in permanent memory or a session, recall retrieves context and answers using automatic routing or a chosen search strategy, improve enriches memory with feedback, and forget removes a specific item or dataset. It can run the entire memory layer on a single Postgres instance instead of separately operating a graph database, a vector database, Redis, and a relational database.

cognee is released under the Apache-2.0 license and requires Python 3.10 to 3.14. It can be installed with pip or uv, run from the command line with cognee-cli, deployed with Docker Compose exposing an API on port 8000, a UI on port 3000, and an MCP server on port 8001, or used through Cognee Cloud as a managed service. Running Cognee as a graph store on Postgres is a demo feature, with a production-ready version offered as a licensed product.

Use cases

  • Building a shared 'Company Brain' from docs, tickets, and code
  • Giving a coding agent memory of past decisions across runs
  • Grounding an agent in a custom domain with its own data model

Key features

  • Gives AI agents persistent long-term memory across sessions
  • Runs locally for free with no API key required
  • Builds a searchable knowledge graph from text and code
  • Four core memory operations: remember, recall, improve, forget
  • Can run the entire memory layer on a single Postgres instance
  • Claude Code and Codex plugins for connecting an agent's memory
  • Local UI for inspecting a knowledge graph
  • Managed Cognee Cloud option

Pros and cons

Pros

Free and open source under the Apache-2.0 license
Runs locally with no API key or LLM required
Can consolidate the whole memory stack onto a single Postgres instance

Cons

Using Postgres as a graph store is currently only a demo feature
Generated answers and media processing require additional LLM configuration

Pricing

cognee
Free
  • Apache-2.0 license
  • Runs locally for free

Reviews

No reviews yet. Used cognee? Be the first to review it.Log in to review

Alternatives to cognee

More in AI Knowledge Graph

Comparing tools