Canonical Artifact and WASM
This page is the short architecture version of the longer design work tracked in the repository.
Direction
The current design is:
- keep
indexbindretrieval-focused - define a canonical file artifact for cross-runtime querying
- use wasm as the shared web and worker query runtime
- keep SQLite as a native optimization path rather than the cross-runtime public contract
Main Decisions
Retrieval-focused API
The runtime returns ranked hits and metadata. Applications use those results to render, fetch, or navigate to content through their own storage and routing layers.
Canonical Artifact
The portable artifact is a file bundle containing manifest, documents, chunks, vectors, postings, and optional model assets.
WASM Query Runtime
indexbind/web and indexbind/cloudflare use wasm-backed query execution over that canonical bundle.
Native Path
Node still supports SQLite artifacts through the native addon, but that is no longer the only product-level artifact shape.
Why This Matters
This split gives the project a cleaner product shape:
- native querying can stay fast and practical
- web and worker runtimes can share a real retrieval engine
- the public API no longer depends on host filesystem assumptions
For the full design notes, see the repository architecture document.