Catalog PyPI
Back to packageRELEASE DETAILS

0.3.1

PyPI

agensgraph-ai

Umbrella installer for the AgensGraph AI integrations (LangChain, LlamaIndex, LightRAG, cognee, MCP).

agensgraphcogneegraphlangchainlightragllama-indexmcprag
Published23 Sept 2026
Direct dependencies7
Transitive dependenciesNot calculated

README

Version 0.3.1 documentation

AgensGraph AI

Integrations, tools and starter material for building AI applications on AgensGraph, the PostgreSQL-based graph database. Every integration here runs on the agensgraph-python 2.0 driver.

IntegrationPackageWhat it gives you
LangChainlangchain-agensgrapha graph store and a vector store, three retrievers, a text2cypher chain, a LangGraph checkpointer and long-term memory store, chat message history
LlamaIndexllama-index-agensgrapha property graph store for PropertyGraphIndex and a vector store for VectorStoreIndex
LightRAGlightrag-agensgraphall four LightRAG storages — graph, vectors, key-value, document status — in one database
cogneecognee-agensgraphcognee's graph store and vector store in one database
MCPmcp-agensgraph-cypher, mcp-agensgraph-memory, mcp-agensgraph-data-modelingthree Model Context Protocol servers: Cypher over a graph, a knowledge-graph memory, and graph data modeling

Each directory has a README of its own with setup and usage, and an examples/demos/ suite that runs on real datasets.

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]"
ExtraInstallsImport
langchainlangchain-agensgraphlangchain_agensgraph
llama-indexllama-index-agensgraphllama_index_agensgraph
lightraglightrag-agensgraphlightrag_agensgraph
cogneecognee-agensgraphcognee_agensgraph
mcpthe three mcp-agensgraph-* serversrun as commands
allall 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", "--transport", "stdio"]
  }
}

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

Requirements

  • Python 3.11 or later.
  • A running AgensGraph 2.17 or later; the driver refuses an older server at connect. SHOW agversion tells you which you have. From 2.18 a release reports four numbers, such as 2.18.4.0, with -rc1 on a release candidate; the first two are the line, so 2.18.6.0-rc1 is a 2.18 server.
  • The vector-backed features need the pgvector extension, and schema introspection is faster with the meta extension. AgensGraph bundles neither; see how to build them.

License

Apache License 2.0 — see LICENSE.

Contact

Open an issue or a pull request.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 14

Native requirements
7 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
cognee-agensgraph
Environment
{
  "extras": "",
  "marker": "extra == \"all\"",
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
cognee-agensgraph>=0.3; extra == "all"runtime
langchain-agensgraph
Environment
{
  "extras": "",
  "marker": "extra == \"all\"",
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
langchain-agensgraph>=0.3; extra == "all"runtime
lightrag-agensgraph
Environment
{
  "extras": "",
  "marker": "extra == \"all\"",
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
lightrag-agensgraph>=0.3; extra == "all"runtime
llama-index-agensgraph
Environment
{
  "extras": "",
  "marker": "extra == \"all\"",
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
llama-index-agensgraph>=0.3; extra == "all"runtime
mcp-agensgraph-cypher
Environment
{
  "extras": "",
  "marker": "extra == \"all\"",
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
mcp-agensgraph-cypher>=0.3; extra == "all"runtime
mcp-agensgraph-data-modeling
Environment
{
  "extras": "",
  "marker": "extra == \"all\"",
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
mcp-agensgraph-data-modeling>=0.3; extra == "all"runtime
mcp-agensgraph-memory
Environment
{
  "extras": "",
  "marker": "extra == \"all\"",
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
mcp-agensgraph-memory>=0.3; extra == "all"runtime
cognee-agensgraph
Environment
{
  "extras": "",
  "marker": "extra == \"cognee\"",
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
cognee-agensgraph>=0.3; extra == "cognee"runtime
langchain-agensgraph
Environment
{
  "extras": "",
  "marker": "extra == \"langchain\"",
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
langchain-agensgraph>=0.3; extra == "langchain"runtime
lightrag-agensgraph
Environment
{
  "extras": "",
  "marker": "extra == \"lightrag\"",
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
lightrag-agensgraph>=0.3; extra == "lightrag"runtime
llama-index-agensgraph
Environment
{
  "extras": "",
  "marker": "extra == \"llama-index\"",
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
llama-index-agensgraph>=0.3; extra == "llama-index"runtime
mcp-agensgraph-cypher
Environment
{
  "extras": "",
  "marker": "extra == \"mcp\"",
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
mcp-agensgraph-cypher>=0.3; extra == "mcp"runtime
mcp-agensgraph-data-modeling
Environment
{
  "extras": "",
  "marker": "extra == \"mcp\"",
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
mcp-agensgraph-data-modeling>=0.3; extra == "mcp"runtime
mcp-agensgraph-memory
Environment
{
  "extras": "",
  "marker": "extra == \"mcp\"",
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
mcp-agensgraph-memory>=0.3; extra == "mcp"runtime

Distribution files

2 collected
agensgraph_ai-0.3.1-py3-none-any.whl

bdist_wheel · 6.83 KB · Python py3

Source file
agensgraph_ai-0.3.1.tar.gz

sdist · 6.86 KB · Python source

Source file

Repository

PENDING
skaiworldwide-oss/agensgraph-ai

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:25 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:53582e5e88a18abdace7f847c9e837fa454626d72380d98d4e0ffa0482886a37

Other collected versions

View all collected versions →