NEW BLOG

Using Surrealism to build your own extensions

Read blog

1/2

AI-ready infrastructure for modern retail

Real-time personalisation, fraud detection, and seamless scalability from storefront to supply chain - all in one database.

CAPABILITIES

Real-time personalisation at scale

Advanced product recommendations

Graph and vector search for accurate, real-time recommendations tailored by user behaviour, purchase history, and contextual signals.

Dynamic pricing models

Real-time data ingestion and AI-powered personalisation for pricing strategies that respond to customer segments, inventory, and market conditions.

Fraud detection with graph analytics

Uncover fraudulent behaviour patterns in transactions, logins, and checkout processes using built-in graph capabilities in real time.

Visual intelligence with SurrealML

Automatically analyse and classify product images uploaded by vendors. Surface similar products and automate moderation workflows.

SEE IT IN ACTION

Personalise recommendations with vector search

Combine purchase history graphs with vector similarity to surface the most relevant products for each customer.

1-- Get the embedding of the user's last purchased product
2LET $last = SELECT *, out.embedding AS embedding
3 FROM ONLY purchased
4 WHERE in = user:shopper_01
5 ORDER BY at DESC LIMIT 1;
6
7-- Find visually and semantically similar products
8SELECT id, name, price,
9 vector::similarity::cosine($last.embedding, embedding) AS score
10FROM product
11WHERE score > 0.8
12ORDER BY score DESC
13LIMIT 6;

USE CASES

Core use cases for retail and e-commerce

Real-time personalisation

Vector + graph search to drive conversion with AI-powered recommendations.

Product discovery

Semantic search powered by AI embeddings for intelligent product matching.

Vendor onboarding

SurrealML automates image tagging and validation for faster vendor integration.

Fraud detection

Graph analytics for transaction monitoring and anomaly detection.

Inventory forecasting

Time-series analysis and trend detection for supply chain optimisation.

In-store tech (kiosks, tablets)

WASM + edge deployment in-browser or on-device for offline capabilities.

Mobile shopping apps

Embedded engine for real-time, offline-ready data synchronisation.

Financial compliance

Historical data querying for audit trails and regulatory reporting.

TRUSTED BY

Powering innovation across industries

Samsung

Unlocking insights with knowledge graphs

Samsung uses SurrealDB to power knowledge graphs for real-time audience insights and ad targeting in its ad division.

Learn more
Tencent

Unified infrastructure monitoring

Tencent uses SurrealDB to consolidate nine backend tools into one real-time monitoring platform.

Learn more

Frequently Asked Questions

LET'S GOOOO

Start building with SurrealDB

The multi-model database for AI agents. Unify data. Unlock intelligence. Scale anywhere.