Skip to content

Intelligent agent that uses Neo4j graphs as long-term memory for reasoning, built with Strands and LLM-powered tools.

License

Notifications You must be signed in to change notification settings

neo4j-partners/strands-neo4j-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neo4j + AWS Strands Agent Demo: Financial Crime Investigation Dataset Exploration

This project demonstrates how to integrate Neo4j with the AWS Strands Agent framework to explore and analyze a financial crime dataset using multi-agent orchestration.

Features

  • Agent orchestration using the Strands Agent SDK
  • Neo4j graph database for financial crime data
  • AWS Bedrock for LLM-powered agent reasoning
  • Jupyter notebook for interactive exploration
  • Example notebook for agent queries and orchestration

Getting Started

Prerequisites

Setup

  1. Clone this repository:
    git clone https://github.com/neo4j-partners/strands-neo4j-agent.git
    cd strands-neo4j-demo
  2. Create and activate a Python virtual environment:
    python3 -m venv .venv
    source .venv/bin/activate
  3. Install dependencies:
    pip install -r requirements.txt
  4. Copy .env.example to .env and fill in your AWS and Neo4j credentials.

Neo4j MCP Server Integration

This project uses the Neo4j MCP server to enable secure, programmatic access to your Neo4j database from the Strands Agent framework. The MCP server acts as a bridge between the agent tools and your Neo4j instance.

Usage

  • Open strands-agent-neo4j.ipynb in Sagemaker Jupyter Notebook or VS Code for an interactive demo.
  • Run the notebook cells to:
    • Connect to Neo4j (via MCP server) and AWS
    • Query the financial crime dataset using LLM agents
    • Explore the results

Project Structure

  • strands-agent-neo4j.ipynb — Main notebook demo
  • .env.example — Example environment variables
  • requirements.txt — Python dependencies

License

Apache 2.0

About

This demo is maintained by Neo4j Partners and is intended for educational and prototyping purposes.

About

Intelligent agent that uses Neo4j graphs as long-term memory for reasoning, built with Strands and LLM-powered tools.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •