whatisgithub

What is jspace-scope?

mriiot/jspace-scope — explained in plain English

Analysis updated 2026-05-18

2HTMLAudience · researcherComplexity · 4/5Setup · hard

In one sentence

A self hosted web app that shows and lets you edit the hidden thoughts inside an open weight language model as it chats with you.

Mindmap

mindmap
  root((jspace-scope))
    What it does
      Shows hidden model thoughts
      Lets you edit thoughts
      Runs live chat
    Tech stack
      Python
      Docker
      HuggingFace
    Use cases
      Watch reasoning live
      Edit or erase thoughts
      Compare two conditions
      Demo in theater mode
    Audience
      Researchers
      AI interpretability fans

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Watch a live readout of the hidden words a language model is thinking while it reads and writes replies.

USE CASE 2

Edit, erase, or inject a model's hidden thoughts to see how its answers change.

USE CASE 3

Run side by side comparisons of two prompt conditions to see exactly what diverges.

USE CASE 4

Use full screen theater mode to demo how a language model reasons to an audience.

What is it built with?

PythonDockerHuggingFacePyTorch

How does it compare?

mriiot/jspace-scope100/talk_stockalexcybernetic/playground-ai
Stars222
LanguageHTMLHTMLHTML
Last pushed2022-03-24
MaintenanceDormant
Setup difficultyhardmoderateeasy
Complexity4/53/51/5
Audienceresearchergeneralgeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Needs an NVIDIA GPU with 6GB+ VRAM for good performance and a multi gigabyte model download on first launch.

So what is it?

jspace-scope is a self hosted web app that lets you watch the inner workings of an open weight language model while you chat with it. Language models silently think about words they never say out loud, and this project reads those hidden words out of the network using a technique from Anthropic research called the Jacobian lens. It shows a live chat where every token you type or the model writes comes with a readout of what the model is thinking about behind the scenes. Beyond just watching, the app also lets you reach into the model's computation and change those hidden thoughts. You can replace a thought, for example swapping France for China so the model answers Beijing instead of Paris, erase a thought entirely, or inject a new one and watch how the reply changes. You can even turn off the model's whole hidden workspace and see it stay fluent but lose its ability to reason step by step. The app has four different views. The simple view is the default and shows a live thought cloud plus supporting metrics. The lab view lets you run two versions of the same prompt side by side to compare what changes. The theater view is a full screen display meant for projectors and demos. The expert view exposes the full technical grid of data for deeper inspection. There are also fourteen built in one click experiments, grouped into watching the model think, editing its thoughts, and stress testing it, each of which explains what happened afterward in plain language. Running it requires Python 3.10 or newer, and ideally an NVIDIA GPU with at least 6 GB of video memory, though it can run on CPU more slowly. A Docker option is also available for those with an NVIDIA GPU and the NVIDIA Container Toolkit installed. The first launch downloads the model and a matching lens file from HuggingFace, which takes a bit of setup time before the app is ready to use.

Copy-paste prompts

Prompt 1
Help me set up jspace-scope with a GPU using the Docker CUDA instructions.
Prompt 2
Explain what the mind surgery experiment shows about editing a model's hidden thoughts.
Prompt 3
Walk me through switching jspace-scope from the default model to Qwen3.5-4B.
Prompt 4
Help me interpret the broadcast and consistency metrics shown above the history ribbon.

Frequently asked questions

What is jspace-scope?

A self hosted web app that shows and lets you edit the hidden thoughts inside an open weight language model as it chats with you.

What language is jspace-scope written in?

Mainly HTML. The stack also includes Python, Docker, HuggingFace.

How hard is jspace-scope to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is jspace-scope for?

Mainly researcher.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.