Local Data

Last updated: July 14, 2026

What This Page Covers

LLM Primer is designed to work without sign-in for the public Foundation content. Some learning features still need memory, such as reading progress, exercise attempts, diagram state, and theme choice. For now, those records are stored in your browser on your device.

What We Store Locally

  • Reading progress: lesson visits and approximate scroll progress.
  • Exercise progress: submitted answers, solved status, and whether sample code was revealed.
  • Python exercise progress: browser-side code attempts, output, error text, and solved status for interactive Python checks.
  • Diagram state: local state for interactive diagrams when a diagram stores positions or settings.
  • Theme preference: the local theme color selected in the browser.

Where It Is Stored

These records are stored in browser local storage with LLM Primer keys. They stay on the device and browser where they were created. They are not synced to another phone, tablet, or computer unless a future sign-in and sync feature is introduced.

Browser Python

Some Python examples may run directly in the browser through a WebAssembly-based Python runtime. In that mode, the code runs on your device inside the browser. Package files may be cached by the browser so they do not need to be downloaded again on every page.

Browser Python is meant for learning examples and small experiments. It is not a replacement for a full local development environment or a server with GPUs.

How To Clear It

Progress widgets include a Reset local progress action. That action clears the progress records for the current book or chapter shown by that widget. It does not clear your theme choice or unrelated browser storage.

You can also clear site data through your browser settings. Browser clearing tools may remove all local LLM Primer data, including theme preference and cached runtime files.

Future Controls

Later versions may add a full local-data panel with export and reset-all actions. Export would let you download local learning data as JSON. Reset-all would be separate from scoped progress reset and would ask for clear confirmation before removing broader LLM Primer learning records.

Future Sync

If account-based sync is introduced later, LLM Primer may let signed-in readers copy selected local progress to the server so progress can move between devices. Until then, local progress is private to the current device and browser.

The likely sync shape is a compact progress document per reader and course or chapter, not a separate remote database row for every small scroll or exercise event. Local storage can remain detailed while server sync stays coarse enough to be simple and affordable.

Related Policies

For broader details, read the Privacy Policy and Cookie Policy.