August 2026 Summaries
13 posts from SurrealDB
Filter
Month:
Year:
Post Summaries
Back to Blog
A SurrealDB tutorial presents a filesystem-shaped approach to persistent AI agent memory, arguing that agents naturally work with familiar operations such as listing directories, reading files, editing notes, and searching text. It models files and folders in a single self-referential table, using parent references, computed paths, and content-free records to represent directories, while a unique parent-and-name constraint preserves tree structure. The design adds full-text search with highlighted results and vector similarity search through separate indexes, allowing agents to retrieve memories by exact terms or semantic relevance without maintaining a separate vector store. Examples map bash-like commands such as ls, cat, grep, mv, and in-place edits to SurrealQL queries and Python tool functions, demonstrating how an agent can record preferences, project notes, and task lists across conversations. The tutorial also highlights database-specific advantages over local disk storage, including searchable shared memory, optional record-level access control for multi-user isolation, and accessibility from multiple processes or hosts, while noting that production deployments should improve path resolution at scale, add ownership controls, and consider soft deletion where undo functionality is required.
Aug 27, 2026
4,528 words in the original blog post.
Cobrainer, a Munich-based skills-intelligence company, replaced its S3-and-OpenSearch vector retrieval pipeline with a graph-based AI agent memory and agentic graph RAG system built on SurrealDB. The company sought to improve retrieval accuracy and reduce prompt-token usage by allowing its agent to traverse explicit relationships among people, roles, skills, and capabilities rather than relying only on broad semantic similarity matches. SurrealDB provided graph, vector, and full-text capabilities in a single managed engine queried through SurrealQL, while Cobrainer retained its existing RDS PostgreSQL deployment for other workloads. Using SurrealDB’s Rust SDK, the team built a Rust-native system that combines graph traversal and vector similarity in one query, and the agent automatically creates relationship links as it stores memories and session checkpoints. Cobrainer reports that it moved from evaluation to a customer-facing deployment in about three months, with improved response grounding, lower token costs, reduced infrastructure complexity, and EU-region data residency for its HR-related data.
Aug 25, 2026
1,039 words in the original blog post.
SurrealDB University has introduced its fifth course, “Schema Internals and Migrations,” expanding its existing learning options, which range from quick introductions and formal fundamentals training to story-based and hands-on database tutorials. The new 14-lesson course focuses on designing robust SurrealDB schemas with SurrealQL, including type safety, embedded logic, computed fields, defaults, events, and relations that reduce application-side work. It also covers schema-change management through raw SurrealQL before concentrating on SurrealKit, SurrealDB’s official migration tool. SurrealKit supports declarative sync migrations for development and controlled, reviewable rollout migrations for shared or production databases, including staged application and rollback capabilities. Learners build a multi-file project-planning schema featuring activities, milestones, dependencies, calculated progress, and graph relationships, with the course intended to be completed in one or two days while encouraging users to run each command for practical experience.
Aug 18, 2026
1,629 words in the original blog post.
Graph engineering should encompass both the execution graph that coordinates agent tasks, routing, verification, and budgets, and the context graph that represents durable knowledge such as entities, relationships, provenance, permissions, and temporal facts. The piece argues that many agent systems improve orchestration while still relying on fragmented vector stores, document databases, relational systems, and session memory, creating inconsistent context, costly over-retrieval, and weak auditability. It distinguishes this broader architecture from GraphRAG, which it presents as a retrieval technique rather than a complete system design, and recommends integrating graph traversal, vector similarity, full-text search, filtering, permissions, and time constraints in a single query layer. It also emphasizes schema design, vocabulary reuse, entity resolution, fact expiration, transactional write-back, and separate handling of event and mention times to prevent context graphs from becoming unreliable collections of extracted triples. For enterprise use cases, the author highlights shared context, auditable retrieval, provenance, temporal truth, and data-level access controls, and presents SurrealDB and its Spectron memory layer as a multi-model approach intended to unify these capabilities beneath agent orchestration frameworks.
Aug 13, 2026
4,482 words in the original blog post.
SurrealDB has released the first alpha version of its official Swift SDK, enabling Swift developers to experiment with the database through APIs designed for Apple platforms and server-side Swift applications. The SDK aims to simplify applications that combine relational, document, graph, and vector data by connecting directly to SurrealDB rather than relying on separate REST, caching, and search systems. Its initial features include native async/await support, Codable-based type safety, authentication and sessions, live queries, common record operations, WebSocket and HTTP transports, and Swift Package Manager integration. The release supports use cases such as real-time dashboards, collaborative applications, AI-driven systems, and shared client-server data models, while its pluggable transport architecture may eventually support embedded, offline-capable databases for edge devices. As an evolving alpha, the project invites developer feedback and contributions through its GitHub repository, Swift Package Index listing, and Discord channel.
Aug 12, 2026
507 words in the original blog post.
A SurrealDB Agent Memory experiment uses the 47-page, 2,200-year narrative of Aeon’s Surreal Renaissance to test “known time,” the point at which a reader or agent learns a fact, alongside valid time and system ingest time. By assigning each story page an in-world observedAt timestamp and querying memories with asOf dates, the test verifies that revelations remain hidden before their narrative appearance, become available at the correct point, and can supersede prior beliefs without erasing historical versions. The examples include place-name revelations, discovery of the story’s calendar year, changing project plans, and recurring cycles in which the same attribute receives different current values over time. The post also distinguishes time-based filtering from scope-based lenses, which restrict an agent to a particular narrative track or epoch, and argues that this model is useful beyond spoiler prevention for replaying conversations, analyzing decisions, handling backfilled records, and reconstructing what was believed at a particular moment.
Aug 11, 2026
1,871 words in the original blog post.
Spectron uses the 47-page, 2,200-year narrative of Aeon’s Surreal Renaissance to test “known time,” the point at which a reader or agent could first know a fact, alongside valid time and system ingestion time. Pages are stamped with in-world observation dates through an observedAt field, enabling asOf queries to confirm that facts remain unavailable before their narrative reveal and become available afterward without hiding unrelated facts about the same entity. The tests cover newly revealed place information, discovery of the current year, changes in project plans, ordinary role changes, and a multi-cycle structural correction in which later beliefs supersede earlier values while preserving historical access. The post also distinguishes temporal filtering from scope-based lenses, which restrict queries to particular story cycles or tracks, and argues that this model applies beyond spoiler prevention to replayed chats, backfilled records, incident histories, and decisions requiring an accurate account of what was known at a particular time.
Aug 11, 2026
1,866 words in the original blog post.
SurrealDB Studio, released on August 10, 2026, replaces Surrealist as the official visual application for managing SurrealDB instances and Spectron contexts, with automatic migration of existing Surrealist data. Available as a browser app and desktop application for macOS, Windows, and Linux, it enables users to run SurrealQL queries, browse and edit records, visualize data as tables, graphs, or live event streams, design schemas, manage access controls, define database resources, administer cloud instances, and build Spectron agent contexts. Its workspace uses persistent, configurable tabs and split-screen views, while a schema-aware editor provides autocomplete, documentation, and real-time validation. Studio supports browser-based sample or hosted databases without installation, and its desktop version can launch local instances directly. Planned capabilities include agent integration through MCP, synchronized configurations across devices, team sharing, collaborative connections, notebooks, dashboards, and embedded documentation. Surrealist will continue functioning but receive no further feature updates, while future cloud functionality will move to Studio; using Studio currently requires a SurrealDB account, although a self-hosted-focused alternative is in development.
Aug 10, 2026
1,655 words in the original blog post.
Dave MacLeod describes the second stage of integrating Ultima VII, played through the Exult engine, with Spectron as a testbed for an AI memory-context layer. A Rust and egui sidecar sits between the game and Spectron, receiving selected game events through a lightweight Exult observer, sending them as HTTP JSON, and displaying short first-person “inner thoughts” for the Avatar that can offer contextual hints. The project emphasizes refining inputs so Spectron reflects what a player-character plausibly experiences rather than becoming omniscient: movement is summarized periodically, visible scenery is filtered by location and indoor or outdoor context, conversations exclude hidden NPC metadata, and written materials, signs, weather, and learned identities are captured with source and reliability labels. The author also discusses the distinction between player and character memory after death or game reloads, provides examples of facts and prompts sent to Spectron’s endpoints, and notes that post-game tests examined memory connections and factual recall after completing an early quest. The next installment will focus on Spectron’s internal behavior, endpoints, and how the game data is processed on the service side.
Aug 06, 2026
2,004 words in the original blog post.
A tutorial demonstrates how to convert Markdown meeting notes into a queryable knowledge graph using a CocoIndex pipeline, SurrealDB, and an LLM-based Pydantic AI chat agent. The pipeline incrementally extracts meetings, people, decisions, and tasks, resolves duplicate person names through embeddings and LLM confirmation, and stores records and relationship edges in SurrealDB. Rather than maintaining a static text-to-SQL prompt, the approach generates a live text-to-SurrealQL prompt from database DDL, schema comments, current entity values, and semantically retrieved few-shot examples, helping the model stay aligned as the graph changes. It explains SurrealQL graph traversals, record-ID conventions, schema annotations, value grounding, and examples designed to prevent syntax errors and more dangerous silent query failures. The agent executes generated queries through a read-only database account, can use database errors for limited repair attempts, and exposes the resulting SurrealQL to users for review. Additional safeguards include table allowlists, database permissions, EXPLAIN plans, query timeouts, example-quality controls, and generation logging. Adding or removing notes automatically updates the graph and prompt context, illustrating a broader pattern in which a database can supply the structure, examples, and constraints needed for an agent to query it reliably.
Aug 05, 2026
5,697 words in the original blog post.
SurrealDB has launched a hosted MCP server that lets AI agents connect to SurrealDB Cloud resources through a single URL, replacing the earlier requirement to install and configure SurrealMCP separately for each instance or context. After signing in with a SurrealDB account or using a personal access token, users can enable assistants to deploy and manage instances and Spectron contexts, adjust resources, upgrade database versions, estimate deployment costs, manage organization access, and review spending through natural-language conversations. On SurrealDB instances running version 3.2.3 or later, agents can inspect schemas, generate and execute queries, explain tables and indexes, and create tables or larger application schemas without users manually transferring data between a database interface and chat. The server also integrates with Spectron, SurrealDB’s agent memory layer, allowing teams to store documents and decisions for semantic retrieval across conversations and among multiple users. Setup instructions are available for Claude and Cursor, with additional configuration details in SurrealDB’s MCP documentation.
Aug 05, 2026
750 words in the original blog post.
SurrealDB has introduced a Snowflake source for Surreal Sync, positioning its database as a context layer for AI agents while Snowflake remains the governed system of record and analytics engine. The integration imports selected Snowflake tables through a command-line workflow, automatically maps common data types, streams results without requiring all data in memory, and can preview conversions or apply transformations before writing data to SurrealDB. SurrealDB combines relational records, documents, graph relationships, vectors, time series, and agent memory in one engine, enabling applications to connect warehouse facts with multi-hop relationship traversal, semantic search across unstructured history, and frequent memory writes through a single query interface. The initial release supports one-time full snapshots rather than live synchronization, change data capture, or incremental updates, though continuous replication is planned.
Aug 05, 2026
964 words in the original blog post.
Spectron Engineering proposes a tri-temporal model for AI memory systems, distinguishing between valid time, system time, and known time to more accurately emulate human memory. This approach allows AI agents to handle temporal data without overwriting or mashing information, addressing the inadequacy of systems that rely on a single "now" clock. Valid time refers to when something was true in the world, system time is when data is recorded, and known time is when a belief is first held by a mind, allowing for the correction of misconceptions. This model helps in managing spoilers and narratives, such as the viewing order of Star Wars films, by using the concept of "asOf" to control what information should be accessible at certain points in time. The application of this model is further explored with real-world examples, such as Aeon's Surreal Renaissance, demonstrating its utility in various contexts, including compliance audits and narratives, ensuring that information is revealed appropriately based on the user's learning timeline.
Aug 04, 2026
1,158 words in the original blog post.