Cognee

Cognee is an open-source AI memory engine built by Topoteretes UG, founded in 2024 by Vasilije Markovic and Boris Arzentar. The project started as an open-source initiative and has grown into a production-grade framework adopted by over 70 organizations, running more than one million pipelines per month. Cognee gives AI agents a shared, continuously improving memory by combining graph traversal and vector similarity into a single retrieval layer that goes well beyond standard RAG.

General
CompanyCognee
Founded2024 by Vasilije Markovic and Boris Arzentar
HeadquartersBerlin, Germany
Websitecognee.ai
Documentationdocs.cognee.ai
GitHubtopoteretes/cognee
TypeAI Infrastructure, Memory Engine

Core Products

Cognee Memory Engine

Cognee ingests data in any format and builds a structured knowledge graph with embeddings, making it queryable through four operations: remember, recall, forget, and improve. The default retrieval mode (GRAPH_COMPLETION) uses vector search as a hint to locate relevant graph triplets, then traverses the graph to assemble structured context before generating an answer. Memory graphs can be scoped per user, per group, or as a shared public graph, giving teams fine-grained multi-tenancy control.

Cognee UI

Starting with v0.3.3, Cognee ships a local web interface with interactive notebooks and a Graph Explorer. Developers can run cognee methods, build pipelines, and visualize query results directly in the browser without leaving their local environment.


Developer Resources

Cognee provides a Python SDK that wraps the full memory pipeline in three core operations: .add() to ingest data, .cognify() to build the knowledge graph, and .search() to retrieve context. The SDK supports text files, structured datasets, and custom data formats.

  • Documentation: getting started guide, API reference, and examples
  • GitHub: source code, issues, and community contributions
  • PyPI: install via pip install cognee
  • LangChain integration: drop-in integration for LangChain projects

Key Features

Unified three-layer storage Cognee combines a graph store (Kuzu by default, also supports Neo4j, FalkorDB, Amazon Neptune, Memgraph), a vector store (LanceDB by default, also supports Qdrant, pgvector, Redis, Pinecone, ChromaDB), and a relational store (SQLite by default, also supports PostgreSQL) into a single memory interface.

14 retrieval modes The framework ships with 14 configurable retrieval strategies. GRAPH_COMPLETION is the default and produces more structured, relationship-aware context than cosine-similarity chunk retrieval.

Automatic ontology management Cognee continuously updates ontologies as new data is ingested, so the knowledge graph stays current without manual schema maintenance.

Multi-tenancy and graph isolation Memory graphs can be instantiated per user, per group, or as shared public graphs, making it suitable for multi-user agent applications.


Use Cases

Agentic workflows with persistent memory Teams building AI agents that need to recall previous decisions, user preferences, or domain knowledge across sessions use Cognee to maintain a durable, queryable memory layer.

GraphRAG over private data Organizations with large internal document libraries (legal, medical, research) use Cognee to transform document collections into navigable knowledge graphs, improving retrieval accuracy over standard vector search.

Multi-agent coordination Shared graph instances let multiple agents read and write to the same memory space, enabling coordination without duplicating context across agent boundaries.

Cognee AI Technologies top builders

Explore the top contributors showcasing the highest number of Cognee AI Technologies app submissions within our community.

Cognee AI Technologies Hackathon projects

Discover innovative solutions crafted with Cognee AI Technologies, developed by our community members during our engaging hackathons.

Fresno LUX: A Living City

Fresno LUX: A Living City

Fresno LUX is a prototype for a living intelligence layer across an entire city. Fresno already contains enormous amounts of intelligence: residents know where problems exist, nonprofits know where help is needed, businesses know where opportunities exist, educators understand gaps in learning, researchers generate knowledge, and government maintains critical infrastructure and data. The problem is that much of this intelligence is fragmented across disconnected systems. Fresno LUX connects those pieces. The platform creates a shared city graph where people, organizations, resources, needs, projects, observations, experiments, and outcomes become connected nodes. Instead of simply collecting data, LUX continuously asks: What is happening? What do we know? What is missing? What can we test? What changed? A community problem can become an observable signal. That signal can become an experiment. The experiment produces evidence. Evidence changes the system's understanding. That updated understanding informs the next action. Observe → Connect → Understand → Act → Measure → Learn → Converge. The goal is to move Fresno from disconnected information toward collective intelligence—a system where knowledge can travel across boundaries and successful solutions can be discovered, tested, measured, and replicated. LUX is designed to make the invisible connections visible: the relationship between a neighborhood and its resources, between a student and educational opportunity, between a business and workforce capacity, between environmental conditions and community health, and between an idea and measurable real-world impact. This hackathon prototype demonstrates the beginning of a Living Fresno Graph: a city that can observe itself, learn from evidence, and coordinate toward better outcomes.

Veritas-Agent

Veritas-Agent

VERITAS is an execution-aware autonomous AI trading agent built for the Alpaca AI Trading Agents Hackathon. Its goal is not simply to predict market direction, but to determine whether a proposed options trade is trustworthy enough to execute. VERITAS focuses on defined-risk short-DTE credit spreads on SPY and QQQ. A deterministic candidate engine first generates valid options spreads using predefined constraints. An AI reasoning layer then evaluates and ranks those opportunities using market context, technical signals, volatility information, and the strategy's rules. The AI does not have unrestricted control over execution: every proposal must pass deterministic mathematical validation and a multi-layer risk gate before an order can be submitted. The project's core principle is: “LLM proposes, math disposes.” The system independently recalculates option spread width, credit, maximum loss, breakeven, position size, and other critical values instead of trusting the language model's numerical output. It also applies an Execution Reality Layer that evaluates whether a trade remains attractive after conservative assumptions about liquidity, slippage, and paper-trading execution behavior. A key feature of VERITAS is its Execution Confidence Score, which measures the quality and trustworthiness of each candidate based on factors such as quote quality, liquidity, data freshness, spread characteristics, and execution assumptions. Low-confidence opportunities can be rejected or traded at reduced size. The agent also continuously reconciles positions and account activity, polls for options activities that are not delivered through streaming events, and uses a hierarchical risk system with per-trade limits, daily loss protection, position-count limits, portfolio heat, liquidity checks, DTE constraints, and an emergency kill switch. The default strategy avoids holding options into expiration and prioritizes controlled, defined-risk exposure.

PriceGhost: Dynamic Pricing Forensic Exposé

PriceGhost: Dynamic Pricing Forensic Exposé

PriceGhost is a full-stack forensic intelligence platform that detects, measures, and cryptographically proves dynamic geographic pricing discrimination. THE PROBLEM: Corporations silently charge different prices based on your location, device, and browser fingerprint. 78% of consumers report feeling targeted by location-based pricing bias, yet proving it is nearly impossible. HOW IT WORKS: PriceGhost coordinates 10 simultaneous residential proxy scrapes across global coordinates (Mumbai, New York, London, Tokyo, Berlin, Sydney, Lagos, Buenos Aires, Dubai, Singapore) via Bright Data's Web Unlocker API. Each scrape rotates device fingerprints and captures raw HTML payloads. STATISTICAL FORENSICS ENGINE: Four custom mathematical algorithms run natively — Gini Coefficient of Spatial Inequality, Coefficient of Variation, Mann-Whitney U Significance Test (p < 0.05), and GDP Pearson Wealth Correlation — establishing courtroom-ready mathematical proof of pricing discrimination. AI-POWERED PARSING: When standard regex price extraction fails on complex HTML, Featherless AI's hosted Llama-3 model acts as a semantic fallback parser. AI/ML API generates authoritative natural language indictments styled as investigative exposés. COGNITIVE MEMORY: Cognee's semantic graph database indexes every pricing anomaly, enabling live queries against historical precedents to expose long-term corporate discrimination patterns. AUTOMATED ALERTS: TriggerWare webhooks automatically dispatch incident alerts to legal networks when Gini/Pearson indices flag "Severe" exploitation levels. EVIDENCE INTEGRITY: Every scrape result is sealed with SHA-256 cryptographic signatures and timestamp chains, producing immutable evidence packages exportable as courtroom-ready JSON dossiers. BUILT WITH: Next.js 16 (Turbopack), better-sqlite3 (7-table schema with WAL), Recharts composed visualizations, Leaflet dynamic trace maps.