# 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.
Raw data
{
"_id": null,
"home_page": "https://github.com/skaiworldwide-oss/agensgraph-ai/tree/main/lightrag",
"name": "lightrag-agensgraph",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.9",
"maintainer_email": null,
"keywords": "lightrag, agensgraph, graph store, integration",
"author": "Muhammad Taha Naveed",
"author_email": "skaisw@skaiworldwide.com",
"download_url": "https://files.pythonhosted.org/packages/b6/55/458ca200fbc74c389f89714a3909e0cf5310f4545a9f2b8aef24ea4f2bfd/lightrag_agensgraph-0.1.0.tar.gz",
"platform": null,
"description": "# LightRag Knowledge Graph Integration: AgensGraph\n\nThis plugin adds support for storing and querying knowledge graphs in [AgensGraph](https://github.com/skaiworldwide-oss/agensgraph) with [LightRAG](https://lightrag.github.io/).\n\n## Build\n\nYou can use the following commands to build the plugin from source.\n\n```bash\npip install poetry\npoetry install\npoetry build\n```\n\n## Usage\n\n```\npip install lightrag-hku lightrag_agensgraph-0.1.0-py3-none-any.whl\n```\n\n```python\nfrom lightrag import LightRag\nimport lighrag_agensgraph\n\nos.environ[\"AGENSGRAPH_DB\"] = \"\"\nos.environ[\"AGENSGRAPH_USER\"] = \"\"\nos.environ[\"AGENSGRAPH_PASSWORD\"] = \"\"\nos.environ[\"AGENSGRAPH_HOST\"] = \"\"\nos.environ[\"AGENSGRAPH_PORT\"] = \"\"\nos.environ[\"AGENSGRAPH_GRAPHNAME\"] = \"\"\n\nrag = LightRAG(\n graph_storage=\"AgensgraphStorage\",\n ...\n)\n```\n\nSee [examples](./examples/) and [tests](./tests/) for more details on how to use the plugin with LightRAG.\n",
"bugtrack_url": null,
"license": null,
"summary": "Lightrag graph store implementation for agensgraph",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/skaiworldwide-oss/agensgraph-ai/tree/main/lightrag",
"Repository": "https://github.com/skaiworldwide-oss/agensgraph-ai/tree/main/lightrag"
},
"split_keywords": [
"lightrag",
" agensgraph",
" graph store",
" integration"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0072ea6227cd3a6aa7606e277b437b33a6b18376efbfa24e9c569ee2ae933ef2",
"md5": "aa42a1768184f5e89f19908af086905d",
"sha256": "7b562364d64ea7cf9dace86385c00d4e88d9096a8de87fa6aebdb0d03c2679ee"
},
"downloads": -1,
"filename": "lightrag_agensgraph-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "aa42a1768184f5e89f19908af086905d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 10783,
"upload_time": "2025-10-22T01:54:16",
"upload_time_iso_8601": "2025-10-22T01:54:16.975428Z",
"url": "https://files.pythonhosted.org/packages/00/72/ea6227cd3a6aa7606e277b437b33a6b18376efbfa24e9c569ee2ae933ef2/lightrag_agensgraph-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b655458ca200fbc74c389f89714a3909e0cf5310f4545a9f2b8aef24ea4f2bfd",
"md5": "dcbd9a67fa4096507b419bec2b5fcad2",
"sha256": "240ae9dfc9d468866fa6a60c3877bb0d1f9213101184a00c72e4501e8d49ab35"
},
"downloads": -1,
"filename": "lightrag_agensgraph-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "dcbd9a67fa4096507b419bec2b5fcad2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 10132,
"upload_time": "2025-10-22T01:54:18",
"upload_time_iso_8601": "2025-10-22T01:54:18.476893Z",
"url": "https://files.pythonhosted.org/packages/b6/55/458ca200fbc74c389f89714a3909e0cf5310f4545a9f2b8aef24ea4f2bfd/lightrag_agensgraph-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-10-22 01:54:18",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "skaiworldwide-oss",
"github_project": "agensgraph-ai",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "lightrag-agensgraph"
}