July 2026 Summaries
2 posts from SurrealDB
Filter
Month:
Year:
Post Summaries
Back to Blog
Cyril Scetbon introduces the concept of streaming graph pattern matching using SurrealDB, which integrates document, graph, relational, and vector models into a single engine, to incrementally detect meaningful subgraphs as they form in real-time without re-scanning the entire graph. The article delves into the use of labeled property graphs and SurrealDB's capabilities to model data, specifically focusing on creating a tool controlled by a YAML configuration file to transform raw data into graph elements via VRL (Vector Remap Language). The configuration allows for the specification of sources and patterns where sources define how raw data becomes graph elements and patterns describe the subgraphs of interest. Through a movie database example, Scetbon illustrates how to detect patterns such as a person acting in and directing the same movie, using a declarative DSL to define these patterns and automatically create derived edges when patterns are matched. The article emphasizes the benefits of a streaming approach where matches are detected and results are output immediately as data is processed, highlighting a design intent where users define desired graph shapes rather than writing queries, making it ideal for applications like fraud detection, recommendation engines, and event correlation.
Jul 08, 2026
2,694 words in the original blog post.
Replit Agent enables users to transform prompts into functional applications by connecting with SurrealDB, a versatile database engine that supports documents, graphs, vectors, and SQL through the Model Context Protocol (MCP). SurrealDB version 3.1 and later can expose an MCP server that allows AI agents to safely inspect schemas and execute queries. This integration allows Replit to leverage existing data in SurrealDB, providing a reliable backend for applications, as opposed to generating temporary solutions. The guide walks through setting up SurrealDB 3.1, enabling the MCP server, and connecting it to Replit, which can then generate interfaces by reading the real schema and data. This setup is ideal for teams looking to build applications on a trusted database, with Replit serving as the interface layer that interacts with the SurrealDB system of record. The synergy of SurrealDB and Replit, facilitated by MCP, enables seamless development of interfaces while maintaining control over the database, thus turning experimental coding into a robust workflow.
Jul 01, 2026
2,696 words in the original blog post.