PRISM AI — offline edition
==========================

A free AI assistant that runs on your own computer. No account, no API key,
no credits, no subscription, and nobody can switch it off or meter it.

You need: a computer with Chrome, Edge or Safari 18+ (a reasonably recent
graphics card helps), and Python 3 to serve the folder — most Macs and many
PCs already have it.


HOW TO RUN
----------

Windows   → double-click "Start Prism AI (Windows).bat"
Mac       → double-click "Start Prism AI (Mac).command"
            (the first time, if macOS says it cannot be opened, right-click it
             and choose Open, then Open again)
Linux     → double-click "Start Prism AI (Linux).sh", or in a terminal run:
            ./"Start Prism AI (Linux).sh"

Your browser opens http://127.0.0.1:8765/ — that's Prism AI.
Keep the little terminal window open while you use it. Close it to stop.

Why a starter instead of just opening index.html? Browsers only allow the
on-device AI on a proper local address, not on a double-clicked file.


THE FIRST MESSAGE
-----------------

The first time you use "On this device", the AI model downloads once
(0.9 GB for Prism Lite) and is cached by your browser. After that it works
with no internet at all — that download is the only time Prism touches the
network. You can watch its progress in the status bar at the top.

In Settings you can pick a bigger model for smarter answers, or switch to
"Free cloud", which needs no download but uses a shared free public service.


NOTHING IS SENT ANYWHERE
------------------------

On-device answers are computed on your machine. Your chats are saved only in
your own browser storage and never uploaded. "Delete all chats" in Settings
erases them.


WHAT'S IN THIS FOLDER
---------------------

index.html            the app
app.js                its logic
styles.css            its look
logo.png              the prism icon
vendor/web-llm.js     the inference engine, bundled locally (Apache 2.0,
                      from the open-source MLC WebLLM project)

You can copy this folder to a USB stick, keep it forever, and run it from
any machine that meets the requirements above.
