Downloads Hub (Studio & Engine) → Documentation Portal → Tutorials & Quickstart API & Architecture Cookbook Features (Quad-Model) Architecture Benchmarks & Specs Tapirus Studio (GUI) GitHub Repository
Single-File AI Memory & Multi-Model Engine

Replace the AI Frankenstack
with one local .tapir file.

Use a SQL subset, vectors, graph APIs and JSON documents in one local .tapir file. Native page encryption is optional; measure latency on your workload.

Developer quickstart

Write, close, reopen.

This Rust example uses the implemented Connection API. Check the published crate version before installing; v1.0.2 release source and registry packages can differ.

src/main.rs
use tapirus::{Connection, Result};

fn main() -> Result<()> {
    let db = Connection::open("notes.tapir")?;
    db.execute("CREATE TABLE IF NOT EXISTS notes (id INTEGER PRIMARY KEY, body TEXT NOT NULL)")?;
    db.execute("INSERT INTO notes (id, body) VALUES (1, 'Check recovery')")?;
    db.close()?;
    let reopened = Connection::open("notes.tapir")?;
    println!("{:?}", reopened.query("SELECT id, body FROM notes")?);
    reopened.close()
}

Read the quickstart and SQL limits · Run the real Rust WASM workspace

4
Built-in data models
Local
In-process by default
WAL
Commit and recovery log
Opt-in
Native page encryption
Consolidation Story

Kill the "Frankenstack".

Keep supported SQL, vector, graph and JSON operations in one local runtime instead of coordinating several network services. Confirm the exact API and workload limits before deployment.

Before: The Decoupled Frankenstack

4 Fractured Services

Network serialization, sync drift, and compounding SaaS monthly bills.

  • ✕
    Vector service: A separate networked component adds deployment and synchronization work.
  • ✕
    Graph service: A separate runtime needs its own lifecycle and data access policy.
  • ✕
    Relational SQL: Disconnected schemas requiring fragile dual-write sync logic.
  • ✕
    Document Store: Multi-point failure risk and distributed rollback complexity.
NETWORK AND SYNC COSTS: WORKLOAD-DEPENDENT MEASURE EACH COMPONENT
After: TapirusDB Consolidated Engine

1 Local File

One in-process runtime with WAL-backed commits and workload-dependent query latency.

  • ✓
    Single .tapir File: Native page encryption can be enabled for protected storage.
  • ✓
    Local API: In-process calls avoid a database network hop.
  • ✓
    One local commit path: Supported operations share the same file and transaction boundary; test the limits that matter to your workload.
  • ✓
    Local Deployment: The database can run without a managed database service; check license terms.
LATENCY: MEASURE ON TARGET RAM: MEASURE ON TARGET
TapirusDB deployment boundary and local runtime overview
Quad-Model Convergence

Four data models. One local file.

Use relational queries, vector similarity, relationship traversals and JSON documents in one in-process engine. Support and transaction behavior vary by API, so check the documented limits and test your workload.

SQL Subset

Transactional SQL writes, B+Tree indexes, and supported multi-table joins.

SELECT * FROM agents WHERE status = 'active';

Vector Search

HNSW-based vector search with optional SIMD support; measure recall and latency on your corpus.

VECTOR NEAR [0.12, 0.45, -0.67] TOP 5;

Graph APIs

CSR-backed relationship data and traversal helpers for application-specific graphs.

MATCH (p:Agent)-[r:KNOWS]->(t:Target) RETURN t;

JSON Document Store

JSON collections with indexed lookups; measure latency on your documents and indexes.

db.collection("telemetry").insert_one({...});
Local AI architecture

Keep application data close to the workload.

Use the embedded engine when a local file and in-process API fit the application. Measure the target before choosing a deployment.

Autonomous AI Agents

Episodic vector memory, knowledge graphs, and action logs inside a single self-contained file per session.

Long-Term Memory Graph retrieval Session Isolation

Private local retrieval

Local retrieval for data-sensitive applications. Encryption and external-service boundaries depend on the deployment you choose.

ChaCha20-Poly1305 Local data boundary Deployment-controlled

Edge Robotics & Drones

Local storage and graph APIs for ARM64 devices; validate peak memory and latency on the target hardware.

ARM / NEON SIMD Measure RSS Local API calls

Local-First Desktop & Mobile

Semantic search and relational storage embedded directly into desktop and mobile client software; measure startup and recall on the target.

Tauri & Electron Measured startup Single-file option
Performance evidence

Measure the workload you deploy.

Earlier latency, RAM, binary-size and competitor speed figures were withdrawn after benchmark review. A corrected small-workload validation records source, host, durability, checked results, reopen and HNSW recall. It includes cases where TapirusDB writes were slower than SQLite.

Read benchmark scope and method · Inspect the dated validation record ↗

Polyglot SDKs

Deploy in Your Favorite Language.

Embedded Rust and native Python/Node clients; Go and PHP connect to the optional HTTP daemon. Check each registry version and platform.

Visual Management

Tapirus Studio

Interactive administration workbench for tables, vector spaces, and knowledge graphs.

WebAssembly workspace · Local browser session

Run in Browser or on Desktop.

A browser-side WebAssembly workspace for querying and inspecting data locally. It does not require an application server for this demo; export backups before clearing site data.

Table Explorer & CRUD SQL & CTE Workbench Graph API source Model-supplied vectors IndexedDB snapshots Browser copy is unencrypted
Tapirus Studio • Engine v1.0.2
Engine Status ● Rust engine runtime
Storage Driver 4KB Page B+Tree
Compression Ratio LZ4 (measure ratio)
HNSW Cosine Vector Vector score varies
Graph Traversal 2-Hop (workload-dependent)
Memory Buffer Workload-dependent
Windows Studio Win 10/11 x64

Standalone desktop application with hardware-accelerated rendering and background local database runner.

Download Windows installer (.exe) Launch In-Browser Studio
Studio 0.1.3 installer is unsigned. Model training needs the separate local Python backend.
macOS Studio Web & Desktop

Run the Rust WASM workspace in Safari or Chrome, or download the Lite package for local offline use.

Launch Web Studio Download Browser Lite (.zip)
Extract and run sh Start-Tapirus-Lite.sh with Python 3.
Linux Universal Ubuntu • Debian • Fedora • Arch

Run in any Linux browser with client-side WebAssembly, or download the portable offline package.

Launch Web Studio Download Browser Lite (.zip)
Extract and run sh Start-Tapirus-Lite.sh with Python 3.
CLI & Docker Headless / Devs

Launch the studio directly from your terminal or self-host in your private container infrastructure.

tapirus studio
docker run -p 3020:3020 ghcr.io/tapiruslab/studio
Setup Guide & Docs

Build local AI systems with inspectable boundaries.

Run a local embedded engine without a database network hop. Native page encryption is optional; test the complete application on its target hardware.

Explore Full Documentation & Guides Free Studio GUI & Downloads