Metadata-Version: 2.4
Name: lightrag-agensgraph
Version: 0.1.0
Summary: Lightrag graph store implementation for agensgraph
Keywords: lightrag,agensgraph,graph store,integration
Author: Muhammad Taha Naveed
Author-email: skaisw@skaiworldwide.com
Requires-Python: >=3.9,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Dist: lightrag-hku (>=1.3.9)
Requires-Dist: psycopg[binary,pool] (>=3.1.0)
Project-URL: Homepage, https://github.com/skaiworldwide-oss/agensgraph-ai/tree/main/lightrag
Project-URL: Repository, https://github.com/skaiworldwide-oss/agensgraph-ai/tree/main/lightrag
Description-Content-Type: text/markdown

# LightRag Knowledge Graph Integration: AgensGraph

This plugin adds support for storing and querying knowledge graphs in [AgensGraph](https://github.com/skaiworldwide-oss/agensgraph) with [LightRAG](https://lightrag.github.io/).

## Build

You can use the following commands to build the plugin from source.

```bash
pip install poetry
poetry install
poetry build
```

## Usage

```
pip install lightrag-hku lightrag_agensgraph-0.1.0-py3-none-any.whl
```

```python
from lightrag import LightRag
import lighrag_agensgraph

os.environ["AGENSGRAPH_DB"] = ""
os.environ["AGENSGRAPH_USER"] = ""
os.environ["AGENSGRAPH_PASSWORD"] = ""
os.environ["AGENSGRAPH_HOST"] = ""
os.environ["AGENSGRAPH_PORT"] = ""
os.environ["AGENSGRAPH_GRAPHNAME"] = ""

rag = LightRAG(
    graph_storage="AgensgraphStorage",
    ...
)
```

See [examples](./examples/) and [tests](./tests/) for more details on how to use the plugin with LightRAG.

