Installation
Requirements
Python >= 3.10, <= 3.13
AgensGraph database instance
psycopg >= 3.1.0 with extras(binary and pool)
Using Pypi
cognee integration for agensgraph can be installed directly via pip:
pip install -U cognee-agensgraph
Build from source
To build and install the package from source, follow these steps:
Clone the repository:
git clone https://github.com/skaiworldwide-oss/agensgraph-ai.git cd agensgraph-ai/cognee
Use the following commands using poetry:
pip install poetry poetry install poetry build
Install the built package:
pip install dist/cognee-agensgraph-<version>-py3-none-any.whl
You are now ready to use the cognee-agensgraph
package in your Python projects.