Skip to main content

🧠 AgensGraph AI Tools and Libraries

Welcome to AgensGraph AI — a curated collection of tools, integrations, and starter templates for building AI-powered applications that work with AgensGraph, a PostgreSQL-based multi-model graph database.

This repository currently includes:

  • LangChain — LLM agents, tools, and chains
  • LlamaIndex — custom data indexing and retrieval
  • LightRag — graph-aware RAG for accurate, context-rich retrieval
  • cognee — dynamic memory for Agents
  • mcp — Model Context Protocol server for AgensGraph enabling database access and graph exploration.

✅ Each library has its own subfolder with a dedicated README to guide you through setup and usage.

📦 Installation

The agensgraph-ai package installs any combination of the integrations under one name. Pick the ones you need:

pip install "agensgraph-ai[langchain]"
pip install "agensgraph-ai[langchain,lightrag]"
pip install "agensgraph-ai[all]"
Extra Installs Import
langchain langchain-agensgraph langchain_agensgraph
llama-index llama-index-agensgraph llama_index_agensgraph
lightrag lightrag-agensgraph lightrag_agensgraph
cognee cognee-agensgraph cognee_agensgraph
mcp the three mcp-agensgraph-* servers run as commands
all all of the above

Name at least one extra. pip install agensgraph-ai on its own installs no integrations, and an extra that is misspelled installs none either — pip warns about that, uv does not.

Each integration is also released on its own, so it can be installed by name instead. The two forms produce the same environment — agensgraph-ai ships no code, and is a convenience rather than a layer:

pip install langchain-agensgraph
pip install llama-index-agensgraph
pip install lightrag-agensgraph
pip install cognee-agensgraph

The MCP servers are commands rather than libraries, and an MCP client normally launches them itself with uvx, which needs no install at all:

"mcpServers": {
  "agensgraph-cypher": {
    "command": "uvx",
    "args": ["mcp-agensgraph-cypher@0.2.0", "--transport", "stdio"]
  }
}

The mcp extra is for the other case: hosting a server yourself over HTTP or SSE.

Database requirements

The Python install is only half of the setup. These integrations talk to a running AgensGraph, 2.17 or newer recommended, and the vector-backed features need the pgvector and meta extensions, which AgensGraph does not bundle — see langchain/README.md for how to build and enable them.

🎯 Purpose

This repository is designed to help developers:

  • Integrate AgensGraph with modern LLM frameworks
  • Leverage graph data in conversational and intelligent apps
  • Explore Retrieval-Augmented Generation (RAG), agents, and graph reasoning

Everything is open-source and modular — feel free to use, fork, or contribute.

📄 License

This repository is licensed under the Apache License 2.0.

📬 Contact

For questions, feature requests, or collaboration:

  • Open an Issue or Pull Request

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agensgraph_ai-0.2.0.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agensgraph_ai-0.2.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file agensgraph_ai-0.2.0.tar.gz.

File metadata

  • Download URL: agensgraph_ai-0.2.0.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.5

File hashes

Hashes for agensgraph_ai-0.2.0.tar.gz
Algorithm Hash digest
SHA256 3caa295f5c341275fcdaae477c945c44ab84aee8e2799b865ce38a97cf7100ca
MD5 f6613e82a10b19077666df5fb10016ae
BLAKE2b-256 f352368d595953e59b98015e7363c08177dae37d53297d901277c055191dc0b9

See more details on using hashes here.

File details

Details for the file agensgraph_ai-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: agensgraph_ai-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.5

File hashes

Hashes for agensgraph_ai-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 03b8f278a1940983615a5fdf457ed088e70a24fd040ee7f2419a866666d06f91
MD5 aedd5a07807e21bf983754c5eeb37f86
BLAKE2b-256 46dee4b767cf2ee921480d63b5f178c52d610701a86bbee43572b8561e4b2aa8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page