From a6db2811d5c5b19e8351f794109f04f9b7980bc3 Mon Sep 17 00:00:00 2001 From: Hande <159312713+hande-k@users.noreply.github.com> Date: Thu, 6 Nov 2025 13:58:18 +0100 Subject: [PATCH 1/5] chore: update videos --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5be2758ef..f5e285fea 100644 --- a/README.md +++ b/README.md @@ -180,17 +180,17 @@ cognee-cli -ui See Cognee in action: -### Cognee Cloud Beta Demo +### Persistent Agent Memory -[Watch Demo](https://github.com/user-attachments/assets/fa520cd2-2913-4246-a444-902ea5242cb0) +[Cognee Memory for LangGraph Agents](https://github.com/user-attachments/assets/e113b628-7212-4a2b-b288-0be39a93a1c3) -### Simple GraphRAG Demo +### Simple GraphRAG -[Watch Demo](https://github.com/user-attachments/assets/d80b0776-4eb9-4b8e-aa22-3691e2d44b8f) +[Watch Demo](https://github.com/user-attachments/assets/f2186b2e-305a-42b0-9c2d-9f4473f15df8) ### Cognee with Ollama -[Watch Demo](https://github.com/user-attachments/assets/8621d3e8-ecb8-4860-afb2-5594f2ee17db) +[Watch Demo](https://github.com/user-attachments/assets/39672858-f774-4136-b957-1e2de67b8981) ## Community & Support From 007c7d403e2a405cb9d01683cafdafca88d3f043 Mon Sep 17 00:00:00 2001 From: Pavel Zorin Date: Sat, 8 Nov 2025 22:34:27 +0100 Subject: [PATCH 2/5] Fix cypher search (#1739) ## Description Resolve issue with cypher search by encoding the return value from the cypher query into JSON. Uses fastapi json encoder ## Type of Change - [x] Bug fix (non-breaking change that fixes an issue) - [ ] New feature (non-breaking change that adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Documentation update - [ ] Code refactoring - [ ] Performance improvement - [ ] Other (please specify): ## Screenshots/Videos (if applicable) Example of result now with Cypher search with the following query "MATCH (src)-[rel]->(nbr) RETURN src, rel" on Simple example: ``` { "search_result":[ [ [ { "_id":{ "offset":0, "table":0 }, "_label":"Node", "id":"87372381-a9fe-5b82-9c92-3f5dbab1bc35", "name":"", "type":"DocumentChunk", "created_at":"2025-11-05T14:12:46.707597", "updated_at":"2025-11-05T14:12:54.801747", "properties":"{\"created_at\": 1762351945009, \"updated_at\": 1762351945009, \"ontology_valid\": false, \"version\": 1, \"topological_rank\": 0, \"metadata\": {\"index_fields\": [\"text\"]}, \"belongs_to_set\": null, \"text\": \"\\n Natural language processing (NLP) is an interdisciplinary\\n subfield of computer science and information retrieval.\\n \", \"chunk_size\": 48, \"chunk_index\": 0, \"cut_type\": \"paragraph_end\"}" }, { "_src":{ "offset":0, "table":0 }, "_dst":{ "offset":1, "table":0 }, "_label":"EDGE", "_id":{ "offset":0, "table":1 }, "relationship_name":"contains", "created_at":"2025-11-05T14:12:47.217590", "updated_at":"2025-11-05T14:12:55.193003", "properties":"{\"source_node_id\": \"87372381-a9fe-5b82-9c92-3f5dbab1bc35\", \"target_node_id\": \"bc338a39-64d6-549a-acec-da60846dd90d\", \"relationship_name\": \"contains\", \"updated_at\": \"2025-11-05 14:12:54\", \"relationship_type\": \"contains\", \"edge_text\": \"relationship_name: contains; entity_name: natural language processing (nlp); entity_description: An interdisciplinary subfield of computer science and information retrieval concerned with interactions between computers and human (natural) languages.\"}" } ] ] ], "dataset_id":"UUID(""af4b1c1c-90fc-59b7-952c-1da9bbde370c"")", "dataset_name":"main_dataset", "graphs":"None" } ``` Relates to https://github.com/topoteretes/cognee/pull/1725 Issue: https://github.com/topoteretes/cognee/issues/1723 ## Pre-submission Checklist - [ ] **I have tested my changes thoroughly before submitting this PR** - [ ] **This PR contains minimal changes necessary to address the issue/feature** - [ ] My code follows the project's coding standards and style guidelines - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have added necessary documentation (if applicable) - [ ] All new and existing tests pass - [ ] I have searched existing PRs to ensure this change hasn't been submitted already - [ ] I have linked any relevant issues in the description - [ ] My commits have clear and descriptive messages ## DCO Affirmation I affirm that all code in every commit of this pull request conforms to the terms of the Topoteretes Developer Certificate of Origin. --- cognee/modules/retrieval/cypher_search_retriever.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cognee/modules/retrieval/cypher_search_retriever.py b/cognee/modules/retrieval/cypher_search_retriever.py index 9978f2536..01816f3df 100644 --- a/cognee/modules/retrieval/cypher_search_retriever.py +++ b/cognee/modules/retrieval/cypher_search_retriever.py @@ -1,4 +1,6 @@ from typing import Any, Optional +from fastapi.encoders import jsonable_encoder + from cognee.infrastructure.databases.graph import get_graph_engine from cognee.modules.retrieval.base_retriever import BaseRetriever from cognee.modules.retrieval.utils.completion import generate_completion @@ -50,7 +52,7 @@ class CypherSearchRetriever(BaseRetriever): logger.warning("Search attempt on an empty knowledge graph") return [] - result = await graph_engine.query(query) + result = jsonable_encoder(await graph_engine.query(query)) except Exception as e: logger.error("Failed to execture cypher search retrieval: %s", str(e)) raise CypherSearchError() from e From 44f0498b7548cb52ff15f815af0ddae6bafc254a Mon Sep 17 00:00:00 2001 From: vasilije Date: Sun, 9 Nov 2025 09:44:07 +0100 Subject: [PATCH 3/5] added release update version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 5f0aef1d8..be500ce39 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "cognee" -version = "0.3.9" +version = "0.4.0" description = "Cognee - is a library for enriching LLM context with a semantic layer for better understanding and reasoning." authors = [ { name = "Vasilije Markovic" }, From 487635b71b204e62a28e91f141b64ae90708d68d Mon Sep 17 00:00:00 2001 From: Vasilije <8619304+Vasilije1990@users.noreply.github.com> Date: Sun, 9 Nov 2025 11:42:45 +0100 Subject: [PATCH 4/5] Update Python version range in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f5e285fea..9fd5635ae 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ Let’s try Cognee in just a few lines of code. For detailed setup and configura ### Prerequisites -- Python 3.10 to 3.12 +- Python 3.10 to 3.13 ### Step 1: Install Cognee From 53532921cf2c595e7c73244583b656988633d3df Mon Sep 17 00:00:00 2001 From: Armel BOBDA <132626034+armelhbobdad@users.noreply.github.com> Date: Mon, 17 Nov 2025 19:56:57 +0400 Subject: [PATCH 5/5] Update cognee-mcp/README.md Co-authored-by: Hande <159312713+hande-k@users.noreply.github.com> --- cognee-mcp/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cognee-mcp/README.md b/cognee-mcp/README.md index fee5d1850..ccfd37928 100644 --- a/cognee-mcp/README.md +++ b/cognee-mcp/README.md @@ -445,7 +445,7 @@ The MCP server exposes its functionality through tools. Call them from any MCP c - **cognify**: Turns your data into a structured knowledge graph and stores it in memory -- **cognify_add_developer_rules**: Ingest core developer rule files into memory +- **cognee_add_developer_rules**: Ingest core developer rule files into memory - **codify**: Analyse a code repository, build a code graph, stores it in memory