MemoryMesh  by CheMiguel23

Knowledge graph server for AI memory persistence

Created 9 months ago
298 stars

Top 89.2% on SourcePulse

GitHubView on GitHub
Project Summary

MemoryMesh provides a local knowledge graph server for AI models, enabling structured memory persistence and consistent interactions, particularly beneficial for text-based RPGs and interactive storytelling. It empowers users to define data structures via schemas, which dynamically generate tools for AI to manage nodes and relationships within the graph.

How It Works

MemoryMesh leverages schema definitions (JSON files) to automatically create CRUD tools for entities. These schemas specify properties, types, required fields, enumerations, and relationships, guiding AI in populating and connecting data. This dynamic tool generation abstracts data manipulation complexity, allowing AI to interact with the knowledge graph through a defined API.

Quick Start & Requirements

  • Install: Clone the repository, run npm install, then npm run build. Configure Claude Desktop by adding MemoryMesh to mcpServers in claude_desktop_config.json with the correct absolute path to the dist/index.js file.
  • Prerequisites: Node.js v18+, npm, Claude for Desktop.
  • Setup: Requires cloning, dependency installation, building, and Claude Desktop configuration.
  • Links: Installation, MemoryViewer Guide, Discussion

Highlighted Details

  • Dynamic tool generation from schema definitions for add, update, and delete operations.
  • Schema design supports metadata for AI guidance and explicit relationship definitions.
  • Includes a Memory Viewer for graph visualization and inspection.
  • Comes with 11 pre-built schemas for text-based RPGs.

Maintenance & Community

This project is described as a personal exploration. Contributions, feedback, and ideas are welcomed.

Licensing & Compatibility

The repository does not explicitly state a license. Compatibility for commercial use or closed-source linking is not specified.

Limitations & Caveats

The AI may exhibit hesitancy in deleting nodes from the knowledge graph, requiring explicit prompting. The default schema location changed in v0.2.7, necessitating migration of existing schema files.

Health Check
Last Commit

7 months ago

Responsiveness

Inactive

Pull Requests (30d)
1
Issues (30d)
0
Star History
7 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.