memgraph  by memgraph

In-memory graph database for AI and real-time analytics

Created 5 years ago
3,889 stars

Top 12.4% on SourcePulse

GitHubView on GitHub
Project Summary

Memgraph is a high-performance, open-source, in-memory graph database engineered in C++ for real-time streaming analytics and AI applications like GraphRAG and agentic AI. It targets developers and data scientists grappling with interconnected data, promising immediate, actionable insights and seamless integration with streaming infrastructure. Its property graph model and Cypher compatibility simplify data modeling and querying, offering a more intuitive alternative to complex SQL schemas.

How It Works

Memgraph employs an in-memory-first architecture, implemented in C/C++, to deliver consistent, high-performance query execution. It utilizes the property graph model, representing data as nodes, attributes, and relationships, which naturally maps many real-world scenarios. Compatibility with the declarative Cypher query language facilitates ease of use and performance optimization. The database is designed for high availability and is ACID-compliant.

Quick Start & Requirements

  • Primary install / run command: Binaries and Docker images are available via the Download Hub.
  • Non-default prerequisites: Not explicitly detailed in the README; the in-memory nature implies significant RAM requirements.
  • Links: Official documentation is available at memgraph.com/docs. Links to the Download Hub, Memgraph Playground, and compile-from-source guides are mentioned but not provided.

Highlighted Details

  • Custom query modules allow native execution of Python, Rust, and C/C++ code, integrated with the MAGE graph algorithm library.
  • Features native support for machine learning and dynamic algorithms, alongside deep-path traversal capabilities.
  • Directly ingests data from streaming sources like Kafka, RedPanda, Pulsar, SQL, and CSV files.
  • Includes Memgraph Lab for graph visualization and query exploration, and supports multiple connection methods (drivers, mgconsole, WebSocket).

Maintenance & Community

Memgraph development is community-driven, with detailed guides for compiling from source, exploring internals, and contributing code. A strict Code of Conduct is enforced. Community support channels include Discord, Stack Overflow, Twitter, and YouTube.

Licensing & Compatibility

Memgraph Community is available under the Business Source License (BSL), while Memgraph Enterprise uses the Memgraph Enterprise License (MEL). Both licenses may impose restrictions on commercial use, modifications, or competitive offerings; full license texts require review for compatibility with closed-source projects or specific commercial scenarios.

Limitations & Caveats

The distinction between Community (BSL) and Enterprise (MEL) licenses suggests potential feature gating and licensing complexities for commercial adoption. Specific hardware requirements, particularly RAM for the in-memory architecture, are not detailed in the README. Direct links for downloading binaries, accessing the playground, and compiling from source are not provided.

Health Check
Last Commit

1 day ago

Responsiveness

Inactive

Pull Requests (30d)
85
Issues (30d)
33
Star History
108 stars in the last 30 days

Explore Similar Projects

Starred by Mike Krieger Mike Krieger(CPO at Anthropic; Cofounder of Instagram), Patrick von Platen Patrick von Platen(Author of Hugging Face Diffusers; Research Engineer at Mistral), and
25 more.

redis by redis

0.2%
74k
Redis is a versatile data structure server, cache, and query engine
Created 17 years ago
Updated 1 day ago
Feedback? Help us improve.