</>MCP Agents Market
Plugin

cognee

by topoteretes30.1kPythonUpdated 2026-08-18

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.

Claude Code

Cognee is an open-source AI memory platform available as a Claude Code plugin that gives AI agents persistent long-term memory across sessions. It ingests data in any format and builds a self-hosted knowledge graph that combines vector embeddings, graph reasoning, and cognitive-science-grounded ontology generation. The plugin captures prompts, tool traces, and assistant responses into session memory, injects relevant context on every prompt, and syncs session memory into the permanent knowledge graph at session end. Developers can run it locally or connect to Cognee Cloud for managed hosting.

Key Features

Persistent long-term memory across sessions using self-hosted knowledge graphs
Session memory that captures prompts, tool traces, and assistant responses automatically
Auto-routing query system that picks the best search strategy between vector and graph retrieval
Multi-format data ingestion with unified graph/vector search infrastructure
Local or cloud deployment options with single Postgres backend support
Cross-agent knowledge sharing with tenant isolation for multi-user deployments
Automatic context injection on every prompt and background sync to permanent graph
Self-improvement from conversation feedback signals when auto-feedback is enabled

Use Cases

  • 01Customer support agents that resolve issues using unified personal data across finance, support, and product history
  • 02Expert knowledge distillation for SQL copilots that help junior analysts reuse expert-level queries and patterns
  • 03Building company knowledge bases that unify data from various sources for domain-specific AI agents
  • 04Creating learning agents that improve from feedback and maintain context across sessions
  • 05Multi-tenant agent deployments with isolated memory per user and dataset
  • 06Long-context conversation tracking that maintains state across extended interactions

Related Plugins

View more

cognee — FAQ

What is the Cognee Claude Code plugin?+

The Cognee memory plugin gives Claude Code persistent memory across sessions by capturing prompts, tool traces, and responses into session memory, injecting relevant context on every prompt, and syncing to a permanent knowledge graph. It turns Claude Code into a learning agent that remembers past interactions and improves over time.

How do I install the Cognee plugin for Claude Code?+

Install from the Claude Code marketplace by running 'claude plugin marketplace add topoteretes/cognee-integrations' then 'claude plugin install cognee-memory@cognee' before launching Claude. Set LLM_API_KEY for local mode or COGNEE_BASE_URL and COGNEE_API_KEY for cloud mode.

What API keys are required for the Cognee plugin?+

For local mode, only LLM_API_KEY (OpenAI API key) is required; the Cognee API key is auto-generated. For Cognee Cloud or remote servers, you need both COGNEE_BASE_URL and COGNEE_API_KEY in addition to your LLM provider key.

Which AI clients work with Cognee?+

Cognee works with Claude Code as a plugin, and can integrate with any AI agent via its Python SDK, REST API, TypeScript client, or Rust client. It's designed as infrastructure for AI agents rather than a client-specific tool.

Is Cognee free to use?+

Yes, Cognee is open-source under a permissive license for self-hosted deployments. A managed Cognee Cloud option is also available for developers who prefer not to maintain infrastructure.

What are the prerequisites for running Cognee locally?+

You need Python 3.10 to 3.14 for the local API server. For Docker deployments, you need Docker Desktop, Colima, or any OCI-compatible runtime with a working docker CLI. An LLM API key (OpenAI or another supported provider) is required for all modes.

How do I install cognee?+

Open the source repository on GitHub and follow its README. cognee is a plugin — MCP Agents Market links you directly to the official repo.

Is cognee free?+

cognee is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.

Related searches