diff --git a/README.md b/README.md index 30f829c93c..59f58d68a4 100644 --- a/README.md +++ b/README.md @@ -43,11 +43,9 @@ -**🚀 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. -More on [use-cases](https://docs.cognee.ai/use-cases) and [evals](https://github.com/topoteretes/cognee/tree/main/evals) +Build dynamic memory for Agents and replace RAG using scalable, modular ECL (Extract, Cognify, Load) pipelines.
🌐 Available Languages @@ -82,41 +80,41 @@ More on [use-cases](https://docs.cognee.ai/use-cases) and [evals](https://github Get started quickly with a Google Colab notebook , Deepnote notebook or starter repo +## Using cognee +Self-hosted package: + - Get self-serve UI with embedded Python notebooks + - Add custom tasks and pipelines via Python SDK + - Get Docker images and MCP servers you can deploy + - Use distributed cognee SDK to process a TBs of your data + - Use community adapters to connect to Redis, Azure, Falkor and others -## Contributing -Your contributions are at the core of making this a true open source project. Any contributions you make are **greatly appreciated**. See [`CONTRIBUTING.md`](CONTRIBUTING.md) for more information. - +Hosted platform: + - Sync your local data to our [hosted solution](www.cognee.ai) + - Get a secure API endpoint + - We manage the UI for you +## Self-Hosted (Open Source) -## 📦 Installation +### 📦 Installation 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 +### 💻 Basic Usage -### Setup +#### Setup ``` import os @@ -125,10 +123,14 @@ 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 -### Simple example + +##### Python This script will run the default pipeline: @@ -139,13 +141,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,33 +163,38 @@ 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. ``` +##### Via CLI -## Our paper is out! Read here +Let's get the basics covered -
-
-### Running the UI
+
-Try cognee UI by setting LLM_API_KEY and running ``` cognee-cli -ui ``` command on your terminal.
-## Understand our architecture
+### Hosted Platform
+
+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 to Cogwit
-
-CODE_OF_CONDUCT for more information.
-
-## 💫 Contributors
+## Contributing
+Your contributions are at the core of making this a true open source project. Any contributions you make are **greatly appreciated**. See [`CONTRIBUTING.md`](CONTRIBUTING.md) for more information.
-
- CODE_OF_CONDUCT for more information.
-- [GitHub's Secure Open Source Fund](https://resources.github.com/github-secure-open-source-fund/)
+## Citation
-## Star History
+We now have a paper you can cite:
-[](https://star-history.com/#topoteretes/cognee&Date)
+```bibtex
+@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},
+}
+```