[](https://github.com/gzileni/kgrag-store)
[](https://github.com/gzileni/kgrag-store/stargazers)
[](https://github.com/gzileni/kgrag-store/network)
## 📦 Installation
Install the `krag-store` library via pip:
```bash
pip install krag-store
```
## Ingestion Data
### 📥 Usage Examples
#### 1️⃣ Ingestion from Local Filesystem
#### 2️⃣ Ingestion from AWS S3
Just set in your `.env`:
```env
AWS_ACCESS_KEY_ID=your_access_key
AWS_SECRET_ACCESS_KEY=your_secret
AWS_BUCKET_NAME=my-bucket
AWS_REGION=eu-west-1
```
## 🧠 Query
## [Docker](./docker/README.md)
{
"_id": null,
"home_page": null,
"name": "kgrag-store",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "agent, knowledge, memory, retrieval, vector-store, kgrag",
"author": null,
"author_email": "Giuseppe Zileni <giuseppe.zileni@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/bf/e3/a459ec80daea15b6d620e7dfc295b56136da0c2634ce2c1c91c43fd672a8/kgrag_store-2.0.3.tar.gz",
"platform": null,
"description": "[](https://github.com/gzileni/kgrag-store)\n[](https://github.com/gzileni/kgrag-store/stargazers)\n[](https://github.com/gzileni/kgrag-store/network)\n\n## \ud83d\udce6 Installation\n\nInstall the `krag-store` library via pip:\n\n```bash\npip install krag-store\n``` \n\n## Ingestion Data\n\n### \ud83d\udce5 Usage Examples\n\n#### 1\ufe0f\u20e3 Ingestion from Local Filesystem\n\n#### 2\ufe0f\u20e3 Ingestion from AWS S3\n\nJust set in your `.env`:\n\n```env\nAWS_ACCESS_KEY_ID=your_access_key\nAWS_SECRET_ACCESS_KEY=your_secret\nAWS_BUCKET_NAME=my-bucket\nAWS_REGION=eu-west-1\n```\n\n## \ud83e\udde0 Query\n\n## [Docker](./docker/README.md)\n\n\n",
"bugtrack_url": null,
"license": null,
"summary": "A Python library for knowledge graph management and retrieval with advanced memory capabilities.",
"version": "2.0.3",
"project_urls": {
"Homepage": "https://github.com/gzileni/kgrag-store",
"Repository": "https://github.com/gzileni/kgrag-store"
},
"split_keywords": [
"agent",
" knowledge",
" memory",
" retrieval",
" vector-store",
" kgrag"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "0e70e27ead53fe1d36d1b90912284a35505a5434f787e1d88b70dea6adbc19cd",
"md5": "14621efad43b1d79cce2ad153c5f45b2",
"sha256": "bd110d4830cb3af8b4b717c4690acf117d32f4cd7f17870d76cf6c3de39ae527"
},
"downloads": -1,
"filename": "kgrag_store-2.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "14621efad43b1d79cce2ad153c5f45b2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 22782,
"upload_time": "2025-08-31T10:23:55",
"upload_time_iso_8601": "2025-08-31T10:23:55.069139Z",
"url": "https://files.pythonhosted.org/packages/0e/70/e27ead53fe1d36d1b90912284a35505a5434f787e1d88b70dea6adbc19cd/kgrag_store-2.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "bfe3a459ec80daea15b6d620e7dfc295b56136da0c2634ce2c1c91c43fd672a8",
"md5": "1060856e4332bf0dc8f88aea4ff4f885",
"sha256": "6d910939318a2f4367bbae0917129ea9eb2eb89acf1261131c24955e3464e653"
},
"downloads": -1,
"filename": "kgrag_store-2.0.3.tar.gz",
"has_sig": false,
"md5_digest": "1060856e4332bf0dc8f88aea4ff4f885",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 23541,
"upload_time": "2025-08-31T10:23:56",
"upload_time_iso_8601": "2025-08-31T10:23:56.926743Z",
"url": "https://files.pythonhosted.org/packages/bf/e3/a459ec80daea15b6d620e7dfc295b56136da0c2634ce2c1c91c43fd672a8/kgrag_store-2.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-31 10:23:56",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "gzileni",
"github_project": "kgrag-store",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "aioboto3",
"specs": [
[
"==",
"15.0.0"
]
]
},
{
"name": "aiobotocore",
"specs": [
[
"==",
"2.23.0"
]
]
},
{
"name": "aiofiles",
"specs": [
[
"==",
"24.1.0"
]
]
},
{
"name": "aiohappyeyeballs",
"specs": [
[
"==",
"2.6.1"
]
]
},
{
"name": "aiohttp",
"specs": [
[
"==",
"3.12.15"
]
]
},
{
"name": "aioitertools",
"specs": [
[
"==",
"0.12.0"
]
]
},
{
"name": "aiosignal",
"specs": [
[
"==",
"1.4.0"
]
]
},
{
"name": "annotated-types",
"specs": [
[
"==",
"0.7.0"
]
]
},
{
"name": "anthropic",
"specs": [
[
"==",
"0.64.0"
]
]
},
{
"name": "anyio",
"specs": [
[
"==",
"4.10.0"
]
]
},
{
"name": "attrs",
"specs": [
[
"==",
"25.3.0"
]
]
},
{
"name": "backoff",
"specs": [
[
"==",
"2.2.1"
]
]
},
{
"name": "beautifulsoup4",
"specs": [
[
"==",
"4.13.4"
]
]
},
{
"name": "boto3",
"specs": [
[
"==",
"1.38.27"
]
]
},
{
"name": "botocore",
"specs": [
[
"==",
"1.38.27"
]
]
},
{
"name": "build",
"specs": [
[
"==",
"1.3.0"
]
]
},
{
"name": "certifi",
"specs": [
[
"==",
"2025.8.3"
]
]
},
{
"name": "cffi",
"specs": [
[
"==",
"1.17.1"
]
]
},
{
"name": "chardet",
"specs": [
[
"==",
"5.2.0"
]
]
},
{
"name": "charset-normalizer",
"specs": [
[
"==",
"3.4.3"
]
]
},
{
"name": "click",
"specs": [
[
"==",
"8.2.1"
]
]
},
{
"name": "coloredlogs",
"specs": [
[
"==",
"15.0.1"
]
]
},
{
"name": "contourpy",
"specs": [
[
"==",
"1.3.3"
]
]
},
{
"name": "cryptography",
"specs": [
[
"==",
"45.0.6"
]
]
},
{
"name": "cycler",
"specs": [
[
"==",
"0.12.1"
]
]
},
{
"name": "dataclasses-json",
"specs": [
[
"==",
"0.6.7"
]
]
},
{
"name": "distro",
"specs": [
[
"==",
"1.9.0"
]
]
},
{
"name": "docutils",
"specs": [
[
"==",
"0.22"
]
]
},
{
"name": "dydantic",
"specs": [
[
"==",
"0.0.8"
]
]
},
{
"name": "emoji",
"specs": [
[
"==",
"2.14.1"
]
]
},
{
"name": "fastembed",
"specs": [
[
"==",
"0.7.1"
]
]
},
{
"name": "filelock",
"specs": [
[
"==",
"3.18.0"
]
]
},
{
"name": "filetype",
"specs": [
[
"==",
"1.2.0"
]
]
},
{
"name": "flatbuffers",
"specs": [
[
"==",
"25.2.10"
]
]
},
{
"name": "fonttools",
"specs": [
[
"==",
"4.59.0"
]
]
},
{
"name": "fpdf",
"specs": [
[
"==",
"1.7.2"
]
]
},
{
"name": "frozenlist",
"specs": [
[
"==",
"1.7.0"
]
]
},
{
"name": "fsspec",
"specs": [
[
"==",
"2024.12.0"
]
]
},
{
"name": "greenlet",
"specs": [
[
"==",
"3.2.4"
]
]
},
{
"name": "grpcio",
"specs": [
[
"==",
"1.74.0"
]
]
},
{
"name": "h11",
"specs": [
[
"==",
"0.16.0"
]
]
},
{
"name": "h2",
"specs": [
[
"==",
"4.2.0"
]
]
},
{
"name": "hf-xet",
"specs": [
[
"==",
"1.1.7"
]
]
},
{
"name": "hpack",
"specs": [
[
"==",
"4.1.0"
]
]
},
{
"name": "html5lib",
"specs": [
[
"==",
"1.1"
]
]
},
{
"name": "httpcore",
"specs": [
[
"==",
"1.0.9"
]
]
},
{
"name": "httpx",
"specs": [
[
"==",
"0.28.1"
]
]
},
{
"name": "httpx-sse",
"specs": [
[
"==",
"0.4.1"
]
]
},
{
"name": "huggingface-hub",
"specs": [
[
"==",
"0.34.4"
]
]
},
{
"name": "humanfriendly",
"specs": [
[
"==",
"10.0"
]
]
},
{
"name": "hyperframe",
"specs": [
[
"==",
"6.1.0"
]
]
},
{
"name": "id",
"specs": [
[
"==",
"1.5.0"
]
]
},
{
"name": "idna",
"specs": [
[
"==",
"3.10"
]
]
},
{
"name": "iniconfig",
"specs": [
[
"==",
"2.1.0"
]
]
},
{
"name": "jaraco.classes",
"specs": [
[
"==",
"3.4.0"
]
]
},
{
"name": "jaraco.context",
"specs": [
[
"==",
"6.0.1"
]
]
},
{
"name": "jaraco.functools",
"specs": [
[
"==",
"4.2.1"
]
]
},
{
"name": "jiter",
"specs": [
[
"==",
"0.10.0"
]
]
},
{
"name": "jmespath",
"specs": [
[
"==",
"1.0.1"
]
]
},
{
"name": "joblib",
"specs": [
[
"==",
"1.5.1"
]
]
},
{
"name": "json_repair",
"specs": [
[
"==",
"0.44.1"
]
]
},
{
"name": "jsonpatch",
"specs": [
[
"==",
"1.33"
]
]
},
{
"name": "jsonpointer",
"specs": [
[
"==",
"3.0.0"
]
]
},
{
"name": "keyring",
"specs": [
[
"==",
"25.6.0"
]
]
},
{
"name": "kiwisolver",
"specs": [
[
"==",
"1.4.9"
]
]
},
{
"name": "langchain",
"specs": [
[
"==",
"0.3.27"
]
]
},
{
"name": "langchain-anthropic",
"specs": [
[
"==",
"0.3.19"
]
]
},
{
"name": "langchain-community",
"specs": [
[
"==",
"0.3.27"
]
]
},
{
"name": "langchain-core",
"specs": [
[
"==",
"0.3.75"
]
]
},
{
"name": "langchain-ollama",
"specs": [
[
"==",
"0.3.6"
]
]
},
{
"name": "langchain-openai",
"specs": [
[
"==",
"0.3.30"
]
]
},
{
"name": "langchain-qdrant",
"specs": [
[
"==",
"0.2.0"
]
]
},
{
"name": "langchain-text-splitters",
"specs": [
[
"==",
"0.3.10"
]
]
},
{
"name": "langcodes",
"specs": [
[
"==",
"3.5.0"
]
]
},
{
"name": "langdetect",
"specs": [
[
"==",
"1.0.9"
]
]
},
{
"name": "langgraph",
"specs": [
[
"==",
"0.6.6"
]
]
},
{
"name": "langgraph-checkpoint",
"specs": [
[
"==",
"2.1.1"
]
]
},
{
"name": "langgraph-prebuilt",
"specs": [
[
"==",
"0.6.4"
]
]
},
{
"name": "langgraph-sdk",
"specs": [
[
"==",
"0.2.4"
]
]
},
{
"name": "langmem",
"specs": [
[
"==",
"0.0.29"
]
]
},
{
"name": "langsmith",
"specs": [
[
"==",
"0.4.14"
]
]
},
{
"name": "language_data",
"specs": [
[
"==",
"1.3.0"
]
]
},
{
"name": "loguru",
"specs": [
[
"==",
"0.7.3"
]
]
},
{
"name": "loki-logger-handler",
"specs": [
[
"==",
"1.1.2"
]
]
},
{
"name": "lxml",
"specs": [
[
"==",
"6.0.0"
]
]
},
{
"name": "marisa-trie",
"specs": [
[
"==",
"1.3.1"
]
]
},
{
"name": "Markdown",
"specs": [
[
"==",
"3.8.2"
]
]
},
{
"name": "markdown-it-py",
"specs": [
[
"==",
"4.0.0"
]
]
},
{
"name": "marshmallow",
"specs": [
[
"==",
"3.26.1"
]
]
},
{
"name": "matplotlib",
"specs": [
[
"==",
"3.10.5"
]
]
},
{
"name": "mdurl",
"specs": [
[
"==",
"0.1.2"
]
]
},
{
"name": "memory_agent",
"specs": [
[
"==",
"2.1.2"
]
]
},
{
"name": "mmh3",
"specs": [
[
"==",
"5.2.0"
]
]
},
{
"name": "more-itertools",
"specs": [
[
"==",
"10.7.0"
]
]
},
{
"name": "mpmath",
"specs": [
[
"==",
"1.3.0"
]
]
},
{
"name": "multidict",
"specs": [
[
"==",
"6.6.4"
]
]
},
{
"name": "mypy_extensions",
"specs": [
[
"==",
"1.1.0"
]
]
},
{
"name": "narwhals",
"specs": [
[
"==",
"2.1.1"
]
]
},
{
"name": "neo4j",
"specs": [
[
"==",
"5.28.2"
]
]
},
{
"name": "neo4j-graphrag",
"specs": [
[
"==",
"1.9.1"
]
]
},
{
"name": "nest-asyncio",
"specs": [
[
"==",
"1.6.0"
]
]
},
{
"name": "nh3",
"specs": [
[
"==",
"0.3.0"
]
]
},
{
"name": "nltk",
"specs": [
[
"==",
"3.9.1"
]
]
},
{
"name": "numpy",
"specs": [
[
"==",
"2.3.2"
]
]
},
{
"name": "olefile",
"specs": [
[
"==",
"0.47"
]
]
},
{
"name": "ollama",
"specs": [
[
"==",
"0.5.3"
]
]
},
{
"name": "onnxruntime",
"specs": [
[
"==",
"1.22.1"
]
]
},
{
"name": "openai",
"specs": [
[
"==",
"1.99.9"
]
]
},
{
"name": "orjson",
"specs": [
[
"==",
"3.11.2"
]
]
},
{
"name": "ormsgpack",
"specs": [
[
"==",
"1.10.0"
]
]
},
{
"name": "packaging",
"specs": [
[
"==",
"25.0"
]
]
},
{
"name": "pandas",
"specs": [
[
"==",
"2.3.1"
]
]
},
{
"name": "pillow",
"specs": [
[
"==",
"11.3.0"
]
]
},
{
"name": "plotly",
"specs": [
[
"==",
"6.3.0"
]
]
},
{
"name": "pluggy",
"specs": [
[
"==",
"1.6.0"
]
]
},
{
"name": "portalocker",
"specs": [
[
"==",
"3.2.0"
]
]
},
{
"name": "propcache",
"specs": [
[
"==",
"0.3.2"
]
]
},
{
"name": "protobuf",
"specs": [
[
"==",
"6.31.1"
]
]
},
{
"name": "psutil",
"specs": [
[
"==",
"7.0.0"
]
]
},
{
"name": "py_rust_stemmers",
"specs": [
[
"==",
"0.1.5"
]
]
},
{
"name": "pyaws-s3",
"specs": [
[
"==",
"1.0.28"
]
]
},
{
"name": "pycparser",
"specs": [
[
"==",
"2.22"
]
]
},
{
"name": "pydantic",
"specs": [
[
"==",
"2.11.7"
]
]
},
{
"name": "pydantic-settings",
"specs": [
[
"==",
"2.10.1"
]
]
},
{
"name": "pydantic_core",
"specs": [
[
"==",
"2.33.2"
]
]
},
{
"name": "Pygments",
"specs": [
[
"==",
"2.19.2"
]
]
},
{
"name": "pyparsing",
"specs": [
[
"==",
"3.2.3"
]
]
},
{
"name": "pypdf",
"specs": [
[
"==",
"5.9.0"
]
]
},
{
"name": "pyproject_hooks",
"specs": [
[
"==",
"1.2.0"
]
]
},
{
"name": "pytest",
"specs": [
[
"==",
"8.4.1"
]
]
},
{
"name": "python-dateutil",
"specs": [
[
"==",
"2.9.0.post0"
]
]
},
{
"name": "python-dotenv",
"specs": [
[
"==",
"1.1.1"
]
]
},
{
"name": "python-iso639",
"specs": [
[
"==",
"2025.2.18"
]
]
},
{
"name": "python-magic",
"specs": [
[
"==",
"0.4.27"
]
]
},
{
"name": "python-oxmsg",
"specs": [
[
"==",
"0.0.2"
]
]
},
{
"name": "pytz",
"specs": [
[
"==",
"2025.2"
]
]
},
{
"name": "PyYAML",
"specs": [
[
"==",
"6.0.2"
]
]
},
{
"name": "qdrant-client",
"specs": [
[
"==",
"1.15.1"
]
]
},
{
"name": "RapidFuzz",
"specs": [
[
"==",
"3.13.0"
]
]
},
{
"name": "readme_renderer",
"specs": [
[
"==",
"44.0"
]
]
},
{
"name": "redis",
"specs": [
[
"==",
"6.4.0"
]
]
},
{
"name": "regex",
"specs": [
[
"==",
"2025.7.34"
]
]
},
{
"name": "reportlab",
"specs": [
[
"==",
"4.4.3"
]
]
},
{
"name": "requests",
"specs": [
[
"==",
"2.32.4"
]
]
},
{
"name": "requests-toolbelt",
"specs": [
[
"==",
"1.0.0"
]
]
},
{
"name": "rfc3986",
"specs": [
[
"==",
"2.0.0"
]
]
},
{
"name": "rich",
"specs": [
[
"==",
"14.1.0"
]
]
},
{
"name": "s3transfer",
"specs": [
[
"==",
"0.13.1"
]
]
},
{
"name": "scipy",
"specs": [
[
"==",
"1.16.1"
]
]
},
{
"name": "setuptools",
"specs": [
[
"==",
"80.9.0"
]
]
},
{
"name": "six",
"specs": [
[
"==",
"1.17.0"
]
]
},
{
"name": "sniffio",
"specs": [
[
"==",
"1.3.1"
]
]
},
{
"name": "soupsieve",
"specs": [
[
"==",
"2.7"
]
]
},
{
"name": "SQLAlchemy",
"specs": [
[
"==",
"2.0.43"
]
]
},
{
"name": "sympy",
"specs": [
[
"==",
"1.14.0"
]
]
},
{
"name": "tenacity",
"specs": [
[
"==",
"9.1.2"
]
]
},
{
"name": "tiktoken",
"specs": [
[
"==",
"0.11.0"
]
]
},
{
"name": "tokenizers",
"specs": [
[
"==",
"0.21.4"
]
]
},
{
"name": "tqdm",
"specs": [
[
"==",
"4.67.1"
]
]
},
{
"name": "trustcall",
"specs": [
[
"==",
"0.0.39"
]
]
},
{
"name": "twine",
"specs": [
[
"==",
"6.1.0"
]
]
},
{
"name": "types-PyYAML",
"specs": [
[
"==",
"6.0.12.20250809"
]
]
},
{
"name": "typing-inspect",
"specs": [
[
"==",
"0.9.0"
]
]
},
{
"name": "typing-inspection",
"specs": [
[
"==",
"0.4.1"
]
]
},
{
"name": "typing_extensions",
"specs": [
[
"==",
"4.14.1"
]
]
},
{
"name": "tzdata",
"specs": [
[
"==",
"2025.2"
]
]
},
{
"name": "unstructured",
"specs": [
[
"==",
"0.18.11"
]
]
},
{
"name": "unstructured-client",
"specs": [
[
"==",
"0.42.3"
]
]
},
{
"name": "urllib3",
"specs": [
[
"==",
"2.5.0"
]
]
},
{
"name": "webencodings",
"specs": [
[
"==",
"0.5.1"
]
]
},
{
"name": "wheel",
"specs": [
[
"==",
"0.45.1"
]
]
},
{
"name": "wrapt",
"specs": [
[
"==",
"1.17.3"
]
]
},
{
"name": "xxhash",
"specs": [
[
"==",
"3.5.0"
]
]
},
{
"name": "yarl",
"specs": [
[
"==",
"1.20.1"
]
]
},
{
"name": "zstandard",
"specs": [
[
"==",
"0.23.0"
]
]
}
],
"lcname": "kgrag-store"
}