Skip to main content
This will help you get started with the Memgraph toolkit. Tools within MemgraphToolkit are designed for the interaction with the Memgraph database.

Setup

To be able tot follow the steps below, make sure you have a running Memgraph instance on your local host. For more details on how to run Memgraph, take a look at Memgraph docs If you want to get automated tracing from runs of individual tools, you can also set your LangSmith API key by uncommenting below:

Installation

This toolkit lives in the langchain-memgraph package:

Instantiation

Now we can instantiate our toolkit:

Tools

View available tools:

Invocation

Tools can be individually called by passing an arguments, for QueryMemgraphTool it would be:

Use within an agent

API reference

For more details on API visit Memgraph integration docs