Home / Companies / SurrealDB / Blog / July 2025

July 2025 Summaries

12 posts from SurrealDB

Filter
Month: Year:
Post Summaries Back to Blog
AI's shift from cloud to edge devices has accelerated, driven by advancements that allow models like Google's Gemini and LLaMA derivatives to run directly on smartphones and small devices, bypassing traditional cloud reliance. This transition demands a reimagining of data storage systems, as current embedded databases are ill-suited for the dynamic, vector-heavy tasks required by AI applications. The emergence of edge AI calls for databases that integrate seamlessly with AI models, offering flexibility in handling various data types, supporting rapid read-write operations, and ensuring security and privacy. SurrealDB is highlighted as a solution that consolidates multiple data handling capabilities into one system, addressing the needs of modern AI applications on the edge by treating data as a dynamic and secure part of AI's memory. This evolution in database technology is crucial as edge AI continues to expand, promising more responsive and intelligent local processing while maintaining privacy and efficiency.
Jul 31, 2025 1,706 words in the original blog post.
The Reflexion RAG Engine introduces an advanced retrieval-augmented generation system that addresses the limitations of traditional RAG models by implementing a multi-cycle, self-correcting architecture, leveraging SurrealDB as a unified data store. Unlike conventional RAG systems that use fragmented architectures, SurrealDB consolidates vector embeddings and document metadata into a single, ACID-compliant database, simplifying data synchronization and boosting performance with native HNSW indexing for rapid similarity searches. The Reflexion RAG Engine employs a multi-LLM strategy involving generation, evaluation, and synthesis processes to iteratively refine answers, enhancing accuracy and comprehensiveness. It also incorporates a hybrid retrieval strategy that combines local document storage with real-time web searches, ensuring up-to-date and relevant information is available. The system uses YAML-managed prompt engineering for flexible updates and integrates features such as real-time streaming, caching, and robust error handling. The guide includes practical steps for setting up the Reflexion RAG Engine using Python, SurrealDB, and other tools, emphasizing SurrealDB’s capability to efficiently handle complex vector operations within a unified platform.
Jul 30, 2025 4,018 words in the original blog post.
SurrealDB is presented as an AI-native, multi-model general-purpose database tailored for generative AI applications. The database uniquely integrates features such as vector similarity, indexing, graph and record links, and serves as an embedded data store, allowing users to build AI applications without additional downloads. The post highlights various uses of SurrealDB in AI, including integration with LangChain, semantic search using OpenAI and Mistral, and constructing smart knowledge agents with Rig.rs. To demonstrate its capabilities, a demo UI is created using Rust and the Iced crate, enabling document insertion from Wikipedia, document linking, embedding additions, similarity searches, and full-text searches, while showcasing SurrealDB's features like recursive queries and in-memory database embedding. The post also provides detailed instructions on setting up the environment and executing queries, emphasizing the ease of expanding and customizing the application.
Jul 29, 2025 7,411 words in the original blog post.
Surrealist 3.5 introduces several enhancements designed to improve user experience and functionality, including a fully redesigned Surreal Sidekick that is now accessible from a dedicated drawer with added chat history capabilities, enabling users to revisit and continue past conversations seamlessly. The update also features a new Parameters view, allowing users to manage parameters more intuitively, and introduces hover dimming in the Designer view to minimize visual clutter by highlighting relevant relationships. Additional improvements include indexed column indicators, enhanced global confirmation menus, a unified Models and Functions view, and the ability to upgrade compute nodes for distributed instances. These updates aim to facilitate a more streamlined and efficient workflow for SurrealDB users, who are encouraged to provide feedback and join the community on Discord for support and engagement.
Jul 24, 2025 668 words in the original blog post.
In July 2025, SurrealDB introduced two significant updates enhancing its observability features, aiming to improve database monitoring and management. The first update, available from version 3.0.0-alpha.7, allows users to save logging outputs in customizable formats, such as JSON, and store them in files rather than solely in the terminal, with options for daily, hourly, or no file rotation. The second feature integrates SurrealDB with the tokio console, enabling users to visually monitor asynchronous tasks within the database, utilizing the Rust-based tokio async runtime. This integration, currently available in nightly builds, requires Rust installation but not its expertise, and it offers insights into task details like average elapsed time through the tokio-console command. These enhancements collectively facilitate better oversight and management of SurrealDB instances, aligning with modern observability practices.
Jul 22, 2025 843 words in the original blog post.
Enterprise data infrastructure is evolving from traditional data lakes to knowledge lakes, where the integration of knowledge graphs transforms raw data into actionable intelligence. Knowledge graphs enhance data by adding relationships, context, and meaning, which improves querying efficiency and supports diverse applications like search, recommendation systems, and fraud detection. This shift is crucial in the age of Generative AI, enabling large language models to better understand complex relationships in data. SurrealDB is at the forefront of this evolution, offering a platform that combines graph relationships with various data needs, such as relational and document data, while providing a flexible architecture that separates storage and compute. This design allows enterprise teams to scale compute resources independently, fostering efficient, agile, and innovative data systems. SurrealDB's use of a SQL-like query language, SurrealQL, facilitates complex data queries in a unified syntax, supporting the seamless transition to knowledge lakes and empowering enterprises to harness next-generation AI capabilities.
Jul 18, 2025 1,023 words in the original blog post.
The blog post explores additional advanced features and functionalities of SurrealDB, highlighting ten innovative tips and tricks for enhancing database schema management. Among the key insights discussed are the use of output expressions in DEFINE FIELD statements to streamline the linking of purchases and invoices, the application of Geohashes for efficient location-based queries, and the manual utilization of search analyzers for tailored full-text search capabilities. The post also introduces the concept of sequences in SurrealDB for generating unique numeric identifiers across distributed environments, discusses the importance of sanitizing user-submitted HTML for security, and demonstrates how the question mark operator can prevent errors in optional field operations. Additionally, it emphasizes the advantages of creating mirror tables for flexible range queries and the utility of constant values for improved accuracy and performance. The blog concludes with a mention of the benefits of setting up events as fields for enhanced functionality and the potential for using SurrealDB in building medical chatbots and knowledge lakes.
Jul 15, 2025 2,813 words in the original blog post.
Dave MacLeod's article discusses creating a medical chatbot using SurrealDB and LangChain with the Rust programming language, building on a previous Python implementation. Rust developers can utilize the langchain_rust crate, which supports SurrealDB as a vector store, to achieve similar functionality. Although graph queries are not yet supported, classic vector searches can recommend patient treatments. The process involves setting up a Rust project with specific dependencies, including serde for YAML processing, and creating a CLI that utilizes the langchain-rust crate's capabilities to perform similarity searches on symptoms and their possible treatments stored in a YAML file. The implementation includes initializing an embedder, configuring a SurrealDB store, and using similarity searches to return relevant treatment recommendations based on user queries. The setup also demonstrates the use of OpenAI and MistralAI embedders, highlighting the flexibility and functionality of the langchain-rust crate in building a functional medical chatbot.
Jul 09, 2025 2,913 words in the original blog post.
SurrealDB is an embedded, AI-native database engine built in Rust, designed to support the evolving needs of intelligent, offline-first applications at the edge, such as those powered by on-device large language models (LLMs) and real-time decision-making. As embedded systems and databases have evolved from simple, lightweight data stores to robust, local-first infrastructures, SurrealDB addresses the limitations of traditional databases by offering features like rich data models, schema flexibility, built-in machine learning inference, and high performance. It supports various data models, including relational, document, time-series, and graph, and can be deployed across different platforms, from browsers to IoT devices, making it versatile and efficient for modern applications. By integrating cutting-edge technologies like Rust, SurrealDB provides enhanced memory safety and concurrency, making it suitable for resource-constrained, real-time environments across industries such as automotive, retail, and manufacturing. The database's capabilities are further enhanced by its support for secure multi-user access and offline-first operation, positioning it as a critical component for building resilient, high-performance software at the edge.
Jul 08, 2025 1,576 words in the original blog post.
The article provides a comprehensive guide on using SurrealDB and Mistral AI for semantic search in Rust, demonstrating how to store AI-generated embeddings as vectors in SurrealDB and query them using SurrealQL. By leveraging the mistralai-client crate, users can generate embeddings with Mistral AI, store them in an embedded SurrealDB database, and perform a semantic search to find the closest matches to a given query. The guide covers setting up the environment, generating embeddings, creating a vector table and index, and implementing a semantic search function. It highlights the use of the HNSW index for optimizing search performance and provides examples of semantic queries for different topics. The process involves transforming textual data into embeddings and querying them to retrieve contextually similar documents, showcasing the potential of combining AI with database technology for advanced search capabilities.
Jul 07, 2025 3,867 words in the original blog post.
The text provides a comprehensive walkthrough of using SurrealDB and LangChain to create a multi-model retrieval-augmented generation (RAG) system. It details the process of setting up vector and graph stores with SurrealDB and LangChain, adding documents, and building a graph to perform vector searches and graph queries. The examples use concept definitions and related individuals to demonstrate the system's capabilities, integrating with a language model (OllamaLLM) to generate natural language responses. The guide highlights the flexibility of the LangChain components, allowing for different personality templates in responses, and encourages experimentation with various parameters for personalized outcomes. The text concludes by inviting users to access the source code and engage with the community for further exploration.
Jul 04, 2025 1,394 words in the original blog post.
SurrealDB has announced its official integration with LangChain, a popular framework for developing large language model (LLM)-driven applications. This collaboration combines SurrealDB’s multi-model flexibility and real-time capabilities with LangChain’s orchestration layer, allowing developers to create more intelligent, efficient, and context-aware AI applications. The integration features components such as SurrealDBVectorStore for vector storage and experimental features like SurrealDBGraph and SurrealDBGraphQAChain for graph processing. Developers can access the integration through SurrealDB and LangChain documentation, GitHub repositories, and instructional resources like example notebooks and sample applications. The community is encouraged to engage on platforms like Discord or tag projects on social media to showcase their developments using this integration.
Jul 01, 2025 335 words in the original blog post.