From 2769b5b9ef25b261c34e94556acf1f2d8cfde4ae Mon Sep 17 00:00:00 2001 From: Vasilije <8619304+Vasilije1990@users.noreply.github.com> Date: Wed, 24 Sep 2025 19:42:27 +0200 Subject: [PATCH 01/14] feat: Revise README for installation and CLI usage Updated installation instructions and usage examples in README. --- README.md | 47 +++++++++++++++++++++++++++++------------------ 1 file changed, 29 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 30f829c93..426d3eb55 100644 --- a/README.md +++ b/README.md @@ -95,24 +95,15 @@ Your contributions are at the core of making this a true open source project. An You can install Cognee using either **pip**, **poetry**, **uv** or any other python package manager. -Cognee supports Python 3.10 to 3.13 +Cognee supports Python 3.10 to 3.12 -### With pip +### With uv ```bash -pip install cognee +uv pip install cognee ``` -## Local Cognee installation - -You can install the local Cognee repo using **uv**, **pip** and **poetry**. -For local pip installation please make sure your pip version is above version 21.3. - -### with UV with all optional dependencies - -```bash -uv sync --all-extras -``` +Detailed instructions can be found in our [docs](https://docs.cognee.ai/getting-started/installation#environment-configuration) ## 💻 Basic Usage @@ -125,11 +116,28 @@ os.environ["LLM_API_KEY"] = "YOUR OPENAI_API_KEY" ``` You can also set the variables by creating .env file, using our template. -To use different LLM providers, for more info check out our documentation +To use different LLM providers, for more info check out our documentation ### Simple example + +## Via CLI + +These commands will show you the basics of cognee CLI + +``` +cognee-cli add "Cognee turns documents into AI memory." + +cognee-cli cognify + +cognee-cli search "What does cognee do?" +cognee-cli delete --all + +``` + +## Python + This script will run the default pipeline: ```python @@ -139,13 +147,16 @@ import asyncio async def main(): # Add text to cognee - await cognee.add("Natural language processing (NLP) is an interdisciplinary subfield of computer science and information retrieval.") + 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("Tell me about NLP") + results = await cognee.search("What does cognee do?") # Display the results for result in results: @@ -158,7 +169,7 @@ if __name__ == '__main__': ``` Example output: ``` - Natural Language Processing (NLP) is a cross-disciplinary and interdisciplinary field that involves computer science and information retrieval. It focuses on the interaction between computers and human language, enabling machines to understand and process natural language. + Cognee turns documents into AI memory. ``` @@ -178,7 +189,7 @@ You can also cognify your files and query using cognee UI. ### Running the UI -Try cognee UI by setting LLM_API_KEY and running ``` cognee-cli -ui ``` command on your terminal. +Try cognee UI by setting your LLM_API_KEY and running ``` cognee-cli -ui ``` command on your terminal. ## Understand our architecture From 7620f46820955e42bdbeffb351c2259f7901e342 Mon Sep 17 00:00:00 2001 From: Vasilije <8619304+Vasilije1990@users.noreply.github.com> Date: Wed, 24 Sep 2025 19:43:25 +0200 Subject: [PATCH 02/14] Change section headers from H2 to H4 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 426d3eb55..bd4f713ad 100644 --- a/README.md +++ b/README.md @@ -122,7 +122,7 @@ To use different LLM providers, for more info check out our documentation -### Simple example +#### Simple example -#### Via CLI +##### Via CLI These commands will show you the basics of cognee CLI @@ -134,9 +139,13 @@ cognee-cli cognify cognee-cli search "What does cognee do?" cognee-cli delete --all +``` +or run +``` +cognee-cli -ui ``` -#### Python +##### Python This script will run the default pipeline: @@ -173,29 +182,18 @@ Example output: ``` -## Our paper is out! Read here -
-
+Get up and running in minutes with automatic updates, analytics, and enterprise security.
-### Running the UI
+1. Sign up on [cogwit](https://www.cognee.ai)
+2. Add your API key to local UI and sync your data or send your data to Cogwit API
-Try cognee UI by setting your LLM_API_KEY and running ``` cognee-cli -ui ``` command on your terminal.
-
-## Understand our architecture
-
-
-CODE_OF_CONDUCT for more information.
-## 💫 Contributors
-
-
- CODE_OF_CONDUCT for more information.
From 8adfa8e2a585662c42878f30322a2c004a2b9c76 Mon Sep 17 00:00:00 2001
From: Vasilije <8619304+Vasilije1990@users.noreply.github.com>
Date: Wed, 24 Sep 2025 20:18:23 +0200
Subject: [PATCH 09/14] Simplify data sync instructions in README
Updated instructions for syncing data with Cogwit API.
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index f11f2efa3..61ce504bc 100644
--- a/README.md
+++ b/README.md
@@ -195,7 +195,7 @@ Example output:
Get up and running in minutes with automatic updates, analytics, and enterprise security.
1. Sign up on [cogwit](https://www.cognee.ai)
-2. Add your API key to local UI and sync your data or send your data to Cogwit API
+2. Add your API key to local UI and sync your data to Cogwit
From c4b2ce0d1aee7cb97cd02bf801b3ed78055580b0 Mon Sep 17 00:00:00 2001
From: Vasilije <8619304+Vasilije1990@users.noreply.github.com>
Date: Wed, 24 Sep 2025 20:19:58 +0200
Subject: [PATCH 10/14] Revise README for self-hosted and hosted platform
Updated sections on self-hosted package and hosted platform.
---
README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 61ce504bc..4a1690746 100644
--- a/README.md
+++ b/README.md
@@ -84,13 +84,13 @@ Get started quickly with a Google Colab
Date: Wed, 24 Sep 2025 20:25:47 +0200
Subject: [PATCH 12/14] Revise CLI commands section in README
Reorganize CLI usage section in README for clarity.
---
README.md | 33 ++++++++++++++++-----------------
1 file changed, 16 insertions(+), 17 deletions(-)
diff --git a/README.md b/README.md
index e783c00f9..f3e32bb35 100644
--- a/README.md
+++ b/README.md
@@ -130,23 +130,6 @@ To use different LLM providers, for more info check out our
From 2437892766d2e7de1c966333c99f15bcf5094219 Mon Sep 17 00:00:00 2001
From: Vasilije <8619304+Vasilije1990@users.noreply.github.com>
Date: Wed, 24 Sep 2025 20:26:30 +0200
Subject: [PATCH 13/14] Remove beta launch announcement from README
Removed announcement for Cogwit beta launch.
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index f3e32bb35..d8338b979 100644
--- a/README.md
+++ b/README.md
@@ -43,7 +43,7 @@
-**🚀 We launched Cogwit beta (Fully-hosted AI Memory): Sign up [here](https://platform.cognee.ai/)! 🚀**
+
Build dynamic memory for Agents and replace RAG using scalable, modular ECL (Extract, Cognify, Load) pipelines.
From 9c3fa87e5c3149647c74130aec7b1fcdfc9cb579 Mon Sep 17 00:00:00 2001
From: Vasilije <8619304+Vasilije1990@users.noreply.github.com>
Date: Wed, 24 Sep 2025 20:29:09 +0200
Subject: [PATCH 14/14] Revise README for SDK and use-case links
Updated README to reflect changes in SDK usage and links.
---
README.md | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index d8338b979..59f58d68a 100644
--- a/README.md
+++ b/README.md
@@ -47,8 +47,6 @@
Build dynamic memory for Agents and replace RAG using scalable, modular ECL (Extract, Cognify, Load) pipelines.
-More on [use-cases](https://docs.cognee.ai/use-cases) and [evals](https://github.com/topoteretes/cognee/tree/main/evals)
-
🌐 Available Languages : @@ -86,9 +84,10 @@ Get started quickly with a Google Colab