---
title: "The Multi-Model Database for AI Agents: Deploy SurrealDB with Docker Extension"
description: "SurrealDB is a Rust-built multi-model database that unifies document, graph, relational, time-series, geospatial, key-value and vector data in one engine queried with SurrealQL, with storage separated from compute so each can scale independently."
url: "https://swe.quest/articles/the-multi-model-database-for-ai-agents-deploy-surrealdb-with-docker-extension-59a01df5e0f67bf6"
canonical: "https://www.docker.com/blog/deploy-surrealdb-docker-desktop-extension/"
source: "Docker"
published: "2026-02-17"
difficulty: "medium"
kind: "How-to"
reading_minutes: 7
tags: ["databases","rag","vector-search","containers"]
---

# The Multi-Model Database for AI Agents: Deploy SurrealDB with Docker Extension

A post on [Docker](https://swe.quest/sources/docker.md), published 2026-02-17, 7 min read, How-to. Original: [https://www.docker.com/blog/deploy-surrealdb-docker-desktop-extension/](https://www.docker.com/blog/deploy-surrealdb-docker-desktop-extension/)

## Summary

SurrealDB is a Rust-built multi-model database that unifies document, graph, relational, time-series, geospatial, key-value and vector data in one engine queried with SurrealQL, with storage separated from compute so each can scale independently. It can be installed as a Docker Desktop Extension that provides a visual query editor, live data explorer, schema visualization and backup/restore. The walkthrough builds a WhatsApp RAG chatbot using LangChain, Docker Model Runner (llama3.2 and embeddinggemma), and a RocksDB-backed SurrealDB container. Chat history is stored as vector embeddings plus a keyword knowledge graph, so retrieval can combine similarity search and graph traversal and return answers with source citations.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Databases](https://swe.quest/tags/databases.md) (Data & databases)
- [RAG & retrieval](https://swe.quest/tags/rag.md) (AI & ML)
- [Vector search](https://swe.quest/tags/vector-search.md) (Data & databases)
- [Containers](https://swe.quest/tags/containers.md) (Infrastructure)

## Prerequisites

- Docker basics ([easy posts on Containers](https://swe.quest/tags/containers.md?difficulty=easy))
- RAG and vector embeddings ([easy posts on RAG & retrieval](https://swe.quest/tags/rag.md?difficulty=easy))

## Keywords

SurrealDB, SurrealQL, Docker Desktop Extensions, Docker Model Runner, LangChain, llama3.2, embeddinggemma, RocksDB

## Related posts

- [Local RAG with Ollama, Mistral, and Turso](https://swe.quest/articles/local-rag-with-ollama-mistral-and-turso-c9414cc4e6a29ef6.md): Turso · 2025-01-08 · Medium · 8 min read · RAG & retrieval, Vector search, SQLite, Local-first & sync, TypeScript
  A local retrieval-augmented generation pipeline can be built in TypeScript using Ollama's Mistral model for both embeddings and generation, with libSQL storing documents and 4096-dimension F32\_BLOB vectors in a single SQLite file indexed via libsql\_vector\_idx.
- [Building a Retrieval Pipeline with Turso and Voyage AI](https://swe.quest/articles/building-a-retrieval-pipeline-with-turso-and-voyage-ai-d56063c4fe3f313b.md): Turso · 2026-07-15 · Medium · 10 min read · RAG & retrieval, Vector search, SQLite, AI agents, LLMs
  Turso's SQLite-compatible engine with native vector columns, paired with Voyage AI embedding and reranking models, replaces a multi-service RAG stack with a single embeddable database for agent retrieval and memory.
- [Building Data-Aware AI Applications with Heroku AI and LlamaIndex](https://swe.quest/articles/building-data-aware-ai-applications-with-heroku-ai-and-llamaindex-8f85403b0aabecc2.md): Heroku Engineering · 2025-08-19 · Medium · 4 min read · RAG & retrieval, Vector search, PostgreSQL, Python, LLMs
  A RAG stack on Heroku pairs LlamaIndex for ingestion, indexing and retrieval with Heroku Managed Inference (Claude 4 Sonnet via an OpenAI-compatible API), Cohere Embed Multilingual for embeddings, and Heroku Postgres with pgvector as the vector store.
- [Build a custom RAG AI agent in TypeScript and Jupyter](https://swe.quest/articles/build-a-custom-rag-ai-agent-in-typescript-and-jupyter-fc00c37173b8b56a.md): Deno · 2025-03-18 · Medium · 11 min read · RAG & retrieval, AI agents, TypeScript, LLMs
  A local agentic RAG pipeline built in TypeScript inside a Deno Jupyter notebook, using LangChain and LangGraph with Ollama models.
- [ChatGPT plugins now support Postgres & Supabase](https://swe.quest/articles/chatgpt-plugins-now-support-postgres-supabase-db9d10a95a8d96b9.md): Supabase · 2023-05-25 · Medium · 7 min read · RAG & retrieval, Vector search, PostgreSQL, LLMs
  Supabase contributed Postgres and Supabase datastore providers to OpenAI's ChatGPT Retrieval Plugin, storing text-embedding-ada-002 embeddings in pgvector.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
