First launch and demo

July 28, 2026 · View on GitHub

This walkthrough creates a safe local database, tours every page, runs SQL, and tests semantic search.

Before launch

For a source checkout:

npm ci
npm run tauri dev

Requirements and package builds are covered in installation.

Welcome screen

Welcome offers:

  • Direct folder for an existing local root with one exclusive opener,
  • mongreldb-server for a multi-client HTTP daemon,
  • up to five recently used paths or URLs,
  • Create demo DB until the first successful demo creation.

Connection credentials are not copied into Recent entries. Read connection modes before opening protected or production data.

Create the demo

  1. Keep Direct folder selected.
  2. Enter a missing directory or choose an existing empty directory with Browse.
  3. Leave username, password, and passphrase empty.
  4. Click Create demo DB.
  5. Allow the first local embedding model download when network access is available.

Viewer refuses a non-empty path and any path that already looks like a MongrelDB root. It does not delete or overwrite the directory.

After success, the demo opens immediately and the create button hides on future launches. Reopen it through Recent or Direct folder.

Demo contents

tenants
  ├──< authors
  ├──< documents >── authors
  │      ├──< events
  │      └──< document_tags >── tags
  └──< events
TableRowsPurposeSecondary indexes
tenants2Tenant name and planBitmap on plan
authors4Tenant authors and rolesBitmap on tenant_id, role
documents8Text, status, score, vectorsBitmap, FM, LearnedRange, dense HNSW ANN
events16Document activity and JSON payloadBitmap and LearnedRange
tags5Tag namesBitmap
document_tags12Document/tag join tableBitmap

The UI-created demo has:

  • 47 rows across six tables,
  • seven foreign keys,
  • Bitmap, LearnedRange/PGM, FM, and ANN examples,
  • documents.embedding as nullable Embedding(384),
  • docs_ann using HNSW with Dense quantization,
  • vectors from documents.body when MiniLM loads,
  • kit_schema.json for Kit-backed clients.

Sparse and MinHash are recognized Viewer capabilities but are not installed in this small demo.

If MiniLM cannot load during demo creation, the database still opens with zero vectors. Once the model is available, use ANN -> Re-embed from text column with documents.body.

Tour the application

1. Deck

Confirm:

  • six tables,
  • 47 total rows,
  • secondary-index total,
  • one vector-ready table,
  • table cards and SQL recipe chips.

Click documents to open Table, or a recipe to open and run SQL.

2. Stars

Open Stars. Drag empty space to pan, scroll to zoom, and click Fit all. Pink dashed edges show foreign-key relationships. Click a table node to open its inspector.

3. Table

Select documents. Inspect:

  • Embedding(384) on embedding,
  • embedding source metadata,
  • Bitmap, FM, LearnedRange, and ANN index rows,
  • ANN algorithm and quantization,
  • live rows below the inspector.

Use Hide embeddings before loading wide row samples.

4. SQL

Start with:

SELECT name
FROM information_schema.tables
ORDER BY name;

Count by status:

SELECT status, count(*) AS n
FROM documents
GROUP BY status
ORDER BY n DESC;

Join the demo graph:

SELECT
  d.id,
  cast(t.name AS varchar) AS tenant,
  cast(a.name AS varchar) AS author,
  cast(d.status AS varchar) AS status,
  d.score
FROM documents d
JOIN tenants t ON d.tenant_id = t.id
JOIN authors a ON d.author_id = a.id
ORDER BY d.score DESC;

Press Ctrl/Command+Enter to run. Use Copy CSV to copy the current capped result.

5. ANN

Select:

Table: documents
Query: hybrid retrieval across indexes
k: 3
Minimum score: 0.25

Click Search. Direct mode first attempts native retrieve_text; successful native results show provider, model, dimension, fingerprint, and registry generation. Otherwise Viewer falls back to exact ANN SQL.

Search is only over the selected table. It is not a cross-table or whole-database search.

6. Agent

Configure an endpoint only if you intend to send data to it. The model must support OpenAI-style Chat Completions and tool calls.

Try:

Describe the documents table and count documents by status.

The Agent may call schema and SQL tools. It can also call mutating tools, so use a disposable demo while learning. Save persists URL/model settings; the API key remains in process memory. Read Agent first.

7. MCP

Keep the demo connected. Open MCP, retain port 7337, and click Start MCP.

Test health:

curl http://127.0.0.1:7337/health

Stop MCP after the test. See MCP for client configuration, stdio, and the complete tool contract.

8. About

Open About, then Licenses and Credits. These documents are bundled into the binary and work offline.

Rail and shortcuts

KeyPage or actionConnection required
1DeckYes
2StarsYes
3TableYes
4SQLYes
5ANNYes
6AgentYes
7MCPYes
8 or 0AboutNo
Ctrl/Command+FToggle command paletteNo
Ctrl/Command+EnterRun SQL while editor is focusedYes
?Toggle shortcut help when not typingNo

The command palette includes navigation, tables, sample queries, schema-derived recipes, REINDEX actions, and disconnect. Use Arrow Up/Down, Enter, and Escape inside the palette.

Refresh and disconnect

  • Sync reloads overview and graph metadata.
  • SQL from the workbench refreshes overview and insights after it completes.
  • Click the path chip in the top bar and confirm Disconnect to release the Direct lock.
  • Stop MCP separately. Disconnect does not stop its HTTP listener.

Next steps