No description
Find a file
Vasilije 8a96a351e2
chore(deps): bump the npm_and_yarn group across 1 directory with 2 updates (#1974)
Bumps the npm_and_yarn group with 2 updates in the /cognee-frontend
directory: [next](https://github.com/vercel/next.js) and
[preact](https://github.com/preactjs/preact).

Updates `next` from 16.0.4 to 16.1.1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vercel/next.js/releases">next's
releases</a>.</em></p>
<blockquote>
<h2>v16.1.1</h2>
<blockquote>
<p>[!NOTE]
This release is backporting bug fixes. It does <strong>not</strong>
include all pending features/changes on canary.</p>
</blockquote>
<h3>Core Changes</h3>
<ul>
<li>Turbopack: Create junction points instead of symlinks on Windows (<a
href="https://redirect.github.com/vercel/next.js/issues/87606">#87606</a>)</li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a
href="https://github.com/sokra"><code>@​sokra</code></a> and <a
href="https://github.com/ztanner"><code>@​ztanner</code></a> for
helping!</p>
<h2>v16.1.1-canary.16</h2>
<h3>Core Changes</h3>
<ul>
<li>Add maximum size limit for postponed body parsing: <a
href="https://redirect.github.com/vercel/next.js/issues/88175">#88175</a></li>
<li>metadata: use fixed segment in dynamic routes with static metadata
files: <a
href="https://redirect.github.com/vercel/next.js/issues/88113">#88113</a></li>
<li>feat: add --experimental-cpu-prof flag for dev, build, and start: <a
href="https://redirect.github.com/vercel/next.js/issues/87946">#87946</a></li>
<li>Add experimental option to use no-cache instead of no-store in dev:
<a
href="https://redirect.github.com/vercel/next.js/issues/88182">#88182</a></li>
</ul>
<h3>Misc Changes</h3>
<ul>
<li>fix: move conductor.json to repo root for proper detection: <a
href="https://redirect.github.com/vercel/next.js/issues/88184">#88184</a></li>
<li>Turbopack: Update to swc_core v50.2.3: <a
href="https://redirect.github.com/vercel/next.js/issues/87841">#87841</a></li>
<li>Update generateMetadata in client component error: <a
href="https://redirect.github.com/vercel/next.js/issues/88172">#88172</a></li>
<li>ci: run stats on canary pushes for historical trend tracking: <a
href="https://redirect.github.com/vercel/next.js/issues/88157">#88157</a></li>
<li>perf: improve stats thresholds to reduce CI noise: <a
href="https://redirect.github.com/vercel/next.js/issues/88158">#88158</a></li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a
href="https://github.com/wyattjoh"><code>@​wyattjoh</code></a>, <a
href="https://github.com/bgw"><code>@​bgw</code></a>, <a
href="https://github.com/timneutkens"><code>@​timneutkens</code></a>, <a
href="https://github.com/feedthejim"><code>@​feedthejim</code></a>, and
<a href="https://github.com/huozhi"><code>@​huozhi</code></a> for
helping!</p>
<h2>v16.1.1-canary.15</h2>
<h3>Core Changes</h3>
<ul>
<li>add compilation error for taint when not enabled: <a
href="https://redirect.github.com/vercel/next.js/issues/88173">#88173</a></li>
<li>feat(next/image)!: add <code>images.maximumResponseBody</code>
config: <a
href="https://redirect.github.com/vercel/next.js/issues/88183">#88183</a></li>
</ul>
<h3>Misc Changes</h3>
<ul>
<li>Update Rspack production test manifest: <a
href="https://redirect.github.com/vercel/next.js/issues/88137">#88137</a></li>
<li>Update Rspack development test manifest: <a
href="https://redirect.github.com/vercel/next.js/issues/88138">#88138</a></li>
<li>Fix compile error when running next-custom-transform tests: <a
href="https://redirect.github.com/vercel/next.js/issues/83715">#83715</a></li>
<li>chore: add Conductor configuration for parallel development: <a
href="https://redirect.github.com/vercel/next.js/issues/88116">#88116</a></li>
<li>[docs] add get_routes in mcp available tools: <a
href="https://redirect.github.com/vercel/next.js/issues/88181">#88181</a></li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a
href="https://github.com/vercel-release-bot"><code>@​vercel-release-bot</code></a>,
<a href="https://github.com/ztanner"><code>@​ztanner</code></a>, <a
href="https://github.com/mischnic"><code>@​mischnic</code></a>, <a
href="https://github.com/wyattjoh"><code>@​wyattjoh</code></a>, <a
href="https://github.com/huozhi"><code>@​huozhi</code></a>, and <a
href="https://github.com/styfle"><code>@​styfle</code></a> for
helping!</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="3aa53984e9"><code>3aa5398</code></a>
v16.1.1</li>
<li><a
href="d1bd5b5810"><code>d1bd5b5</code></a>
Turbopack: Create junction points instead of symlinks on Windows (<a
href="https://redirect.github.com/vercel/next.js/issues/87606">#87606</a>)</li>
<li><a
href="a67ee72788"><code>a67ee72</code></a>
setup release branch</li>
<li><a
href="34916762cd"><code>3491676</code></a>
v16.1.0</li>
<li><a
href="58e8f8c7e5"><code>58e8f8c</code></a>
v16.1.0-canary.34</li>
<li><a
href="8a8a00d5d0"><code>8a8a00d</code></a>
Revert &quot;Move next-env.d.ts to dist dir&quot; (<a
href="https://redirect.github.com/vercel/next.js/issues/87311">#87311</a>)</li>
<li><a
href="3284587f8e"><code>3284587</code></a>
v16.1.0-canary.33</li>
<li><a
href="25da5f0426"><code>25da5f0</code></a>
Move next-env.d.ts to dist dir (<a
href="https://redirect.github.com/vercel/next.js/issues/86752">#86752</a>)</li>
<li><a
href="aa8a243e72"><code>aa8a243</code></a>
feat: use Rspack persistent cache by default (<a
href="https://redirect.github.com/vercel/next.js/issues/81399">#81399</a>)</li>
<li><a
href="754db28e52"><code>754db28</code></a>
bundle analyzer: remove geist font in favor of system ui fonts (<a
href="https://redirect.github.com/vercel/next.js/issues/87292">#87292</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vercel/next.js/compare/v16.0.4...v16.1.1">compare
view</a></li>
</ul>
</details>
<br />

Updates `preact` from 10.27.2 to 10.28.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/preactjs/preact/releases">preact's
releases</a>.</em></p>
<blockquote>
<h2>10.28.2</h2>
<h2>Fixes</h2>
<ul>
<li>Enforce strict equality for VNode object constructors</li>
</ul>
<h2>10.28.1</h2>
<h2>Fixes</h2>
<ul>
<li>Fix erroneous diffing w/ growing list (<a
href="https://redirect.github.com/preactjs/preact/issues/4975">#4975</a>,
thanks <a
href="https://github.com/JoviDeCroock"><code>@​JoviDeCroock</code></a>)</li>
</ul>
<h2>10.28.0</h2>
<h2>Types</h2>
<ul>
<li>Updates dangerouslySetInnerHTML type so future TS will accept
Trusted… (<a
href="https://redirect.github.com/preactjs/preact/issues/4931">#4931</a>,
thanks <a
href="https://github.com/lukewarlow"><code>@​lukewarlow</code></a>)</li>
<li>Adds snap events (<a
href="https://redirect.github.com/preactjs/preact/issues/4947">#4947</a>,
thanks <a
href="https://github.com/argyleink"><code>@​argyleink</code></a>)</li>
<li>Remove missed jsx duplicates (<a
href="https://redirect.github.com/preactjs/preact/issues/4950">#4950</a>,
thanks <a
href="https://github.com/rschristian"><code>@​rschristian</code></a>)</li>
<li>Fix scroll events (<a
href="https://redirect.github.com/preactjs/preact/issues/4949">#4949</a>,
thanks <a
href="https://github.com/rschristian"><code>@​rschristian</code></a>)</li>
</ul>
<h2>Fixes</h2>
<ul>
<li>Fix cascading renders with signals (<a
href="https://redirect.github.com/preactjs/preact/issues/4966">#4966</a>,
thanks <a
href="https://github.com/JoviDeCroock"><code>@​JoviDeCroock</code></a>)</li>
<li>add <code>commpat/server.browser</code> entry (<a
href="https://redirect.github.com/preactjs/preact/issues/4941">#4941</a>
&amp; <a
href="https://redirect.github.com/preactjs/preact/issues/4940">#4940</a>,
thanks <a
href="https://github.com/marvinhagemeister"><code>@​marvinhagemeister</code></a>)</li>
<li>Avoid lazy components without result going in throw loop (<a
href="https://redirect.github.com/preactjs/preact/issues/4937">#4937</a>,
thanks <a
href="https://github.com/JoviDeCroock"><code>@​JoviDeCroock</code></a>)</li>
</ul>
<h2>Performance</h2>
<ul>
<li>Backport some v11 optimizations (<a
href="https://redirect.github.com/preactjs/preact/issues/4967">#4967</a>,
thanks <a
href="https://github.com/JoviDeCroock"><code>@​JoviDeCroock</code></a>)</li>
</ul>
<h2>10.27.3</h2>
<h2>Fixes</h2>
<ul>
<li>Enforce strict equality for VNode object constructors</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="6f914464b3"><code>6f91446</code></a>
10.28.2</li>
<li><a
href="37c3e030ab"><code>37c3e03</code></a>
Strict equality check on constructor (<a
href="https://redirect.github.com/preactjs/preact/issues/4985">#4985</a>)</li>
<li><a
href="6670a4a70b"><code>6670a4a</code></a>
chore: Adjust TS linting setup (<a
href="https://redirect.github.com/preactjs/preact/issues/4982">#4982</a>)</li>
<li><a
href="2af522b2c2"><code>2af522b</code></a>
10.28.1 (<a
href="https://redirect.github.com/preactjs/preact/issues/4978">#4978</a>)</li>
<li><a
href="f7693b72ec"><code>f7693b7</code></a>
Fix erroneous diffing w/ growing list (<a
href="https://redirect.github.com/preactjs/preact/issues/4975">#4975</a>)</li>
<li><a
href="b36b6a7148"><code>b36b6a7</code></a>
10.28.0 (<a
href="https://redirect.github.com/preactjs/preact/issues/4968">#4968</a>)</li>
<li><a
href="4d40e96f43"><code>4d40e96</code></a>
Backport some v11 optimizations (<a
href="https://redirect.github.com/preactjs/preact/issues/4967">#4967</a>)</li>
<li><a
href="7b74b406e2"><code>7b74b40</code></a>
Fix cascading renders with signals (<a
href="https://redirect.github.com/preactjs/preact/issues/4966">#4966</a>)</li>
<li><a
href="3ab5c6fbbb"><code>3ab5c6f</code></a>
Updates dangerouslySetInnerHTML type so future TS will accept Trusted…
(<a
href="https://redirect.github.com/preactjs/preact/issues/4931">#4931</a>)</li>
<li><a
href="ff30c2b5c4"><code>ff30c2b</code></a>
Adds snap events (<a
href="https://redirect.github.com/preactjs/preact/issues/4947">#4947</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/preactjs/preact/compare/10.27.2...10.28.2">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/topoteretes/cognee/network/alerts).

</details>
2026-01-08 15:55:56 +01:00
.github Release: add push to main docker workflow 2025-12-15 20:46:20 +01:00
alembic feat: Add dataset database handler info (#1887) 2025-12-12 13:22:03 +01:00
assets chore: update cognee ui on readme 2025-09-11 11:05:18 +02:00
bin Revert "Clean up core cognee repo" 2025-05-15 10:46:01 +02:00
cognee Fix Python 3.12 SyntaxError caused by JS regex escape sequences 2025-12-23 15:51:07 +05:30
cognee-frontend chore(deps): bump the npm_and_yarn group across 1 directory with 2 updates 2026-01-07 19:36:40 +00:00
cognee-mcp refactor: add ruff formatting 2026-01-08 13:32:15 +01:00
cognee-starter-kit improve structure, readability 2025-09-04 16:20:36 +02:00
deployment Fix/add async lock to all vector databases (#1244) 2025-08-14 15:57:34 +02:00
distributed chore: deletes toml and lock files from distributed directory 2025-10-14 09:55:02 +02:00
evals Deprecate SearchType.INSIGHTS, replace all references to default search type - SearchType.GRAPH_COMPLETION 2025-10-08 12:13:59 +01:00
examples refactor: Update examples to use pprint 2025-12-18 14:17:24 +01:00
licenses Revert "Clean up core cognee repo" 2025-05-15 10:46:01 +02:00
logs refactor: Return logs folder 2025-10-29 16:31:42 +01:00
notebooks Removed check_permissions_on_dataset.py and related references 2025-11-13 08:31:15 -05:00
tools Revert "Clean up core cognee repo" 2025-05-15 10:46:01 +02:00
working_dir_error_replication feat: Redis lock integration and Kuzu agentic access fix (#1504) 2025-10-16 15:48:20 +02:00
.coderabbit.yaml coderabbit fix 2025-11-25 18:09:43 +01:00
.dockerignore Revert "Clean up core cognee repo" 2025-05-15 10:46:01 +02:00
.env.template Merge branch 'dev' into multi-tenant-neo4j 2025-11-28 12:55:48 +01:00
.gitattributes Merge dev with main (#921) 2025-06-07 07:48:47 -07:00
.gitguardian.yml fix: Mcp improvements (#1114) 2025-07-24 21:52:16 +02:00
.gitignore feat: add welcome tutorial notebook for new users (#1425) 2025-09-18 18:07:05 +02:00
.mergify.yml ci(Mergify): configuration update 2025-11-21 17:59:15 +01:00
.pre-commit-config.yaml Feat: log pipeline status and pass it through pipeline [COG-1214] (#501) 2025-02-11 16:41:40 +01:00
.pylintrc fix: enable sqlalchemy adapter 2024-08-04 22:23:28 +02:00
AGENTS.md Add repository guidelines to AGENTS.md 2025-10-26 11:18:17 +01:00
alembic.ini fix: Logger suppresion and database logs (#1041) 2025-07-03 20:08:27 +02:00
CODE_OF_CONDUCT.md Update CODE_OF_CONDUCT.md 2024-12-13 11:30:16 +01:00
CONTRIBUTING.md docs: clarify dev branching and fix contributing text 2026-01-08 10:15:42 +01:00
CONTRIBUTORS.md Merge with main (#892) 2025-05-30 23:13:04 +02:00
DCO.md Create DCO.md 2024-12-13 11:28:44 +01:00
docker-compose.yml added logs 2025-10-25 10:26:46 +02:00
Dockerfile fix: Resolve issue with Kuzu graph database persistence on our local … (#1490) 2025-10-07 20:38:43 +02:00
entrypoint.sh fix: Resolve issue with migrations for docker 2025-12-22 14:54:11 +01:00
LICENSE
mypy.ini fix: Remove weaviate (#1139) 2025-07-23 19:34:35 +02:00
NOTICE.md add NOTICE file, reference CoC in contribution guidelines, add licenses folder for external licenses 2024-12-06 13:27:55 +00:00
poetry.lock chore: regen poetry lock file 2025-12-05 19:51:26 +01:00
pyproject.toml Release v0.5.1 2025-12-18 16:14:47 +01:00
README.md docs: Update README.md 2025-12-18 14:46:21 +01:00
SECURITY.md Merge main vol 2 (#967) 2025-06-11 09:28:41 -04:00
uv.lock Release v0.5.1 2025-12-18 16:14:47 +01:00

Cognee Logo

Cognee - Accurate and Persistent AI Memory

Demo . Docs . Learn More · Join Discord · Join r/AIMemory . Community Plugins & Add-ons

GitHub forks GitHub stars GitHub commits GitHub tag Downloads License Contributors Sponsor

cognee - Memory for AI Agents  in 5 lines of code | Product Hunt topoteretes%2Fcognee | Trendshift

Use your data to build personalized and dynamic memory for AI Agents. Cognee lets you replace RAG with scalable and modular ECL (Extract, Cognify, Load) pipelines.

🌐 Available Languages : Deutsch | Español | Français | 日本語 | 한국어 | Português | Русский | 中文

Why cognee?

About Cognee

Cognee is an open-source tool and platform that transforms your raw data into persistent and dynamic AI memory for Agents. It combines vector search with graph databases to make your documents both searchable by meaning and connected by relationships.

You can use Cognee in two ways:

  1. Self-host Cognee Open Source, which stores all data locally by default.
  2. Connect to Cognee Cloud, and get the same OSS stack on managed infrastructure for easier development and productionization.

Cognee Open Source (self-hosted):

  • Interconnects any type of data — including past conversations, files, images, and audio transcriptions
  • Replaces traditional RAG systems with a unified memory layer built on graphs and vectors
  • Reduces developer effort and infrastructure cost while improving quality and precision
  • Provides Pythonic data pipelines for ingestion from 30+ data sources
  • Offers high customizability through user-defined tasks, modular pipelines, and built-in search endpoints

Cognee Cloud (managed):

  • Hosted web UI dashboard
  • Automatic version updates
  • Resource usage analytics
  • GDPR compliant, enterprise-grade security

Basic Usage & Feature Guide

To learn more, check out this short, end-to-end Colab walkthrough of Cognee's core features.

Open In Colab

Quickstart

Lets try Cognee in just a few lines of code. For detailed setup and configuration, see the Cognee Docs.

Prerequisites

  • Python 3.10 to 3.13

Step 1: Install Cognee

You can install Cognee with pip, poetry, uv, or your preferred Python package manager.

uv pip install cognee

Step 2: Configure the LLM

import os
os.environ["LLM_API_KEY"] = "YOUR OPENAI_API_KEY"

Alternatively, create a .env file using our template.

To integrate other LLM providers, see our LLM Provider Documentation.

Step 3: Run the Pipeline

Cognee will take your documents, generate a knowledge graph from them and then query the graph based on combined relationships.

Now, run a minimal pipeline:

import cognee
import asyncio
from pprint import pprint


async def main():
    # Add text to cognee
    await cognee.add("Cognee turns documents into AI memory.")

    # Generate the knowledge graph
    await cognee.cognify()

    # Add memory algorithms to the graph
    await cognee.memify()

    # Query the knowledge graph
    results = await cognee.search("What does Cognee do?")

    # Display the results
    for result in results:
        pprint(result)


if __name__ == '__main__':
    asyncio.run(main())

As you can see, the output is generated from the document we previously stored in Cognee:

  Cognee turns documents into AI memory.

Use the Cognee CLI

As an alternative, you can get started with these essential commands:

cognee-cli add "Cognee turns documents into AI memory."

cognee-cli cognify

cognee-cli search "What does Cognee do?"
cognee-cli delete --all

To open the local UI, run:

cognee-cli -ui

Demos & Examples

See Cognee in action:

Persistent Agent Memory

Cognee Memory for LangGraph Agents

Simple GraphRAG

Watch Demo

Cognee with Ollama

Watch Demo

Community & Support

Contributing

We welcome contributions from the community! Your input helps make Cognee better for everyone. See CONTRIBUTING.md to get started.

Code of Conduct

We're committed to fostering an inclusive and respectful community. Read our Code of Conduct for guidelines.

Research & Citation

We recently published a research paper on optimizing knowledge graphs for LLM reasoning:

@misc{markovic2025optimizinginterfaceknowledgegraphs,
      title={Optimizing the Interface Between Knowledge Graphs and LLMs for Complex Reasoning},
      author={Vasilije Markovic and Lazar Obradovic and Laszlo Hajdu and Jovan Pavlovic},
      year={2025},
      eprint={2505.24478},
      archivePrefix={arXiv},
      primaryClass={cs.AI},
      url={https://arxiv.org/abs/2505.24478},
}