AI Chat

Experimental

For private drafting and everyday Q&A: chat by text or voice with Llama 3.2 1B or Gemma 4 E2B in your browser while prompts and replies stay on this device.

AI Chat
Not loaded

What can I help with?

Select a starter to fill an editable prompt, or type freely below

Start a private local chat in text-only mode or with hands-free voice. Nothing downloads until you confirm setup.

Read How DocsStayLocal uses AI before you confirm a download. It opens in a new tab and leaves this setup in place. Not sure what this device can run? Check this device.

0 document-derived outbound bytes in tested scenarios.

Tech Used

Built with Gemma 4 E2B

Model:
onnx-community/gemma-4-E2B-it-ONNX
Approximate size:
3130.5 MB of pinned files. Approximate, from the pinned file sizes, not a measured download.
Runtime:
Transformers.js 3.8.1 and onnxruntime-web on WebGPU
Cache:
Cache status is unknown.
What stays local:
The prompt, the conversation, and the generated reply. The first load fetches the pinned model files. This site already serves the ONNX Runtime.

Gemma 4 E2B (onnx-community/gemma-4-E2B-it-ONNX @ 7c6d3d1d4092253ea241428e88312ab34bfa9c26) is published by Google DeepMind. The model card lists Apache 2.0. The linked Gemma terms page is the Apache License 2.0. This site does not ship the weights; Load fetches the pinned files. Gemma 4 terms · Model card

Gemma 4 E4B (onnx-community/gemma-4-E4B-it-ONNX @ 2b6d2e26a962f70a33da8f7cd81e1afdd8d9cfb2) is published by Google DeepMind. The model card lists Apache 2.0. The linked Gemma terms page is the Apache License 2.0. This site does not ship the weights; Load fetches the pinned files. Gemma 4 terms · Model card

This site build redistributes @huggingface/transformers 3.8.1 and @mlc-ai/web-llm 0.2.85. Both are Apache-2.0, and neither package includes a NOTICE file. The model weights are not in this build; Load fetches them in the browser. Transformers.js license · WebLLM license onnxruntime-web 1.30.0, including the WebAssembly files served from /search-ort/, matches the Microsoft ONNX Runtime v1.30.0 tag. That tag’s LICENSE is the MIT License, Copyright (c) Microsoft Corporation. The installed npm package does not include that file; this site serves the tagged text. ONNX Runtime license

How It Works

The prompt, the conversation, and the generated reply. The first load fetches the pinned model files. This site already serves the ONNX Runtime. Text-only mode prepares only the selected chat model — no curator catalogs, speech recognition, or neural voice packs are downloaded unless you explicitly choose Voice + text.

AI actions stay off until a model is loaded.
Who it’s for
Writers, knowledge workers, students, and privacy-conscious users who want to ask questions, brainstorm wording, or talk through a draft without sending prompts to a cloud chat service.
One use
Comparing two ways to phrase a sensitive client email—or talking out loud with optional speech recognition and spoken replies—after choosing Llama 3.2 1B or Gemma 4 E2B.
What you can produce
Streaming chat replies in this browser that you can copy, read aloud with a local voice, or clear at any time. Replies are unverified drafts that can invent facts or stop early.
What stays on this device
Your typed messages, optional microphone audio, conversation history, and generated replies stay in this browser and are never uploaded. Model files download only after you press Start when not already cached for this site address.

More from DocsStayLocal

DocsStayLocal also keeps other document tools and guided workflows in this browser.

Step-by-Step Instructions

How to Use AI Chat Locally

Choose Llama 3.2 1B or Gemma 4 E2B after Start. Typed prompts, optional voice turns, and streaming replies stay in this browser; review every fact before use.

1

Press Start & pick how to chat

Choose typed chat or voice conversation, and select Llama 3.2 1B (smaller download) or Gemma 4 E2B. Your last compatible choice is remembered locally.

2

Load the model on this device

Weights download only after confirmation when not already cached for this site address, with live progress and Cancel available.

3

Send a prompt or speak a turn

Type a question or dictate with Moonshine Base speech recognition. Replies stream locally in this browser.

4

Verify facts before using

Compact models can invent facts, misread numbers, or stop early. Edit and verify every detail before relying on a reply.

Practical Applications

Common Use Cases for AI Chat

Draft messages, unpack terminology, or brainstorm by voice while keeping prompts off cloud chat servers.

Draft a sensitive email or notice

Ask for a first draft of a landlord, client, or workplace note without uploading private context to a remote chat service.

Unpack an unfamiliar term or clause

Ask for a plain-English explanation of terminology, then verify dates, amounts, and obligations against your own document.

Compare two ways to phrase a message

Paste two short options and ask which reads more clearly—or open Rewrite Text when you want structured style modes.

Talk through ideas hands-free

Enable optional local speech input and compact voice read-aloud to brainstorm out loud on your device.

Operational Considerations

Explicit model download & local cache

Nothing downloads when you open the page. Pressing Start and Load fetches model weights once and reuses them from browser cache on later visits to this site address.

Prompts & replies stay in this tab

Your conversation stays in browser memory until you copy text or clear the chat. DocsStayLocal never receives your prompts or generated answers.

Local Browser Architecture

Why Browser-Local AI Chat Protection Matters

Model files download only after you press Start, and only when this browser does not already have them. Your text, audio, and results stay in this browser. 0 document-derived outbound bytes in tested scenarios. Loading the site and a model is normal web traffic.

0 document-derived outbound bytes in tested scenarios
Browser Session Execution
Normal web loading required
FAQ & Guidance

AI Chat Frequently Asked Questions

Common questions about using AI Chat in your browser session.

You can choose Llama 3.2 1B Instruct (about 660 MB MLC build) or Gemma 4 E2B Instruct (about 3.13 GB ONNX build). If you enable voice mode, Moonshine Base handles microphone transcription and a compact local voice reads replies aloud.
Privacy & Architecture Design

Engineered for Browser-Local Processing

Cloud-based document services may require document upload to remote infrastructure. DocsStayLocal is designed so document processing occurs locally in your browser.

Local Browser Processing

Document compilation, layout arrangement, and field extraction execute locally in your web browser session.

0 Document-Derived Outbound Bytes

In qualification testing, document handling workflows generated 0 document-derived outbound bytes in tested scenarios.

Normal Web Loading

The site and application assets require a normal web connection to load. Document processing is designed to remain in your browser. This is not an offline guarantee, and it does not mean the browser makes no network requests.

Separated Network Traffic

Static web application assets load normally via standard HTTP, while document payload data remains strictly local.

Architecture Comparison: Cloud-Based Services vs. DocsStayLocal

CharacteristicCloud-Based Document ServicesDocsStayLocal (Local Browser Design)
Document Processing Location
May require document upload to remote servers
Processed locally in your browser
Document Data Egress
Document payload sent over network
0 document-derived outbound bytes in tested scenarios
Server Document Storage
May store files in cloud infrastructure
No server document storage required
Queueing & Rendering
Depends on remote network and server load
Direct client-side processing without server queueing
Application loading
Requires continuous network connection to server
Site and application assets require normal web loading. Document processing is designed to stay in the browser.

Usage telemetry and platform logs

Document processing is designed to stay in your browser. DocsStayLocal also sends limited first-party usage telemetry about which tools and pages are used. It does not intentionally include document contents, filenames, OCR text, or extracted document values. Those usage records are kept for about 30 days. Ordinary hosting logs can include an IP address and User-Agent, and those logs are kept for 30 days. The application does not intentionally log request bodies. No long-term analytics log export is configured.