GETTING STARTED / QUICKSTART
Quickstart
Discover → Try → Install → Ship → Publish.
01Install the runtime
Install the browser-safe runtime package in your application.
npm install @knolo/core
02Mount and query a pack
For a URL or CDN blob, use the browser entrypoint. The example stays retrieval-only and deterministic.
import { mountPack, query } from "@knolo/core";
const ab = await (await fetch(PACK_URL)).arrayBuffer();
const pack = await mountPack({
src: new Uint8Array(ab),
});
const hits = query(pack, "refund window", { topK: 5 });03Inspect the receipt
A receipt identifies the pack digest, version, state root, plan, topK, and ranked result identifiers. Store or display it alongside the retrieval result when reproducibility matters.