Local Assistant adds a small chat panel to the site. The visitor asks a
question, the plugin finds the most relevant passages in the site’s own pages,
and a small language model that runs in the visitor’s browser writes the answer.
The answer cites the page it came from. If the pages do not answer the question,
the assistant says so instead of inventing one.
The site owner builds the search index once from the dashboard: the plugin walks
the sitemap, extracts the readable text of each page, and saves a searchable
index plus its vectors into wp-content/uploads/local-assistant/. Nothing is
sent to a server at any point.
The plugin itself calls no external service, and the site server never sends
visitor data anywhere. On the visitor’s device, the browser downloads model
files the first time the assistant is used, after the visitor accepts the
consent card:
HuggingFaceTB/SmolLM2-135M-Instructdist/vendor/web-llm/SmolLM2-360M-Instruct-q4f16_1_cs1k-webgpu.wasm) and isThose downloads are the only network traffic the assistant causes, they are
started only after consent, and they go directly from the visitor’s browser to
Hugging Face under Hugging Face’s own terms. The site owner can point the
downloads at another host with the modelBaseUrl, modelLibUrl, and
modelMirror settings.
The assistant runs on the author’s own site — ask it something and watch it
cite the page it read:
The WordPress package is generated from readable sources, and the full
build is public:
src/ holds the plugin’s JavaScript modules, scripts/ the build tools.source/ folder.npm ci && npm run vendor && npm run
build (Node.js 20+), then npm run release for versioned zips.dist/vendor/ are Transformers.jsTHIRD-PARTY-NOTICES.txt.The two .wasm files flagged in review are required, and both are loaded
only from the plugin’s own folder — the plugin never fetches executable
code from a third-party host:
dist/vendor/transformers/ort-wasm-simd-threaded.jsep.wasm is the ONNXdist/vendor/web-llm/SmolLM2-360M-Instruct-q4f16_1_cs1k-webgpu.wasm isSmolLM2-360M-Instruct-q4f16_1scripts/vendor-extra/.