# Parameter Space Inspector (PSI) > A free, open-source desktop instrument from The Emergence Machine that opens a language model on > your own computer. Load a model file you downloaded yourself, follow an answer one token at a time, > look inside the layers, run experiments, grow and graft models, and share what you build on > Hugging Face. Local first: the model runs on your machine and nothing you type leaves it unless you > switch on an optional online feature. Code: Apache-2.0. PSI is the hands-on companion to the essays and tools at https://emergencemachine.com, where the framework's questions about how AI works (how a model chooses a word, when it learns to understand, where it keeps an idea, whether it knows when it is wrong) are answered by measuring a real model. ## The Emergence Machine (the framework behind PSI) - [emergencemachine.com](https://emergencemachine.com/): the framework site. Fifteen layers of emergence (E0 to E14) from spacetime to a planet that can look back at itself, with long-form essays and interactive tools. - [emergencemachine.com/llms.txt](https://emergencemachine.com/llms.txt): the site's own guide for AI assistants: the essays, every tool, and the Prometheus MCP endpoint with a free self-serve key. Read it for anything about the framework itself. - [Prometheus](https://emergencemachine.com/chat): the site's AI guide, grounded in its essays. PSI's in-app guide carries the same name and reads the current view. - [PSI on emergencemachine.com](https://emergencemachine.com/tools/parameter-space-inspector/): nine questions asked of a real model, with what PSI showed. - [How AI Emerges](https://emergencemachine.com/tools/how-ai-emerges/): the site's explainer on how AI works, through the lens of emergence; the ideas PSI was built to test. - [The Arena](https://emergencemachine.com/the-arena/): the spine of the framework, all fifteen levels explained. - [Newsletter on Substack](https://theemergencemachine.substack.com): new instruments, measurements and essays, a few times a month. Subscribe at https://theemergencemachine.substack.com/subscribe. This site's own feed of use-case posts is https://parameterspaceinspector.com/feed.xml - Follow: [YouTube](https://www.youtube.com/@emergencemachine), [X](https://x.com/emergences4me), [Bluesky](https://bsky.app/profile/emergencemachine.bsky.social), [Reddit](https://www.reddit.com/r/emergencemachine/), [Instagram](https://www.instagram.com/emergencemachine/), [TikTok](https://www.tiktok.com/@emergencemachine), [Kaggle](https://www.kaggle.com/emergencemachine/datasets). ## What it does - **Generate**: watch an answer form token by token, with the roads not taken and how torn the model was at each step. - **Inside views**: the layers and neurons that carry a signal, where an answer takes shape, and where a concept is kept. - **Context lab**: keep the model fixed and make the context the variable: a question and up to four pieces of context, each with a role, run in every combination, so you see what each piece did to the odds and which pieces act together. - **Attractor lab**: build a concept direction inside the model from contrasting texts, then measure where an answer becomes predictable, whether a conversation's own history holds the model in place, and whether a rule shields it, each beside a random direction. - **Experiment designer and job runner**: compare inputs or models, run measurements in the background, keep a report. - **Features (sparse autoencoders)**: find a feature inside the model, steer from the intervention site, check what is reconstructed. - **Timeline**: a model's growth across training checkpoints, with recorded measurements. - **Graft lab (beta)**: move a layer between compatible models and compare the graft with gap and random controls. - **Commons (beta)**: grow a model from a shared seed, build one from a recipe (averaging, TIES, DARE-TIES, layer graft), and verify signed lineage before trusting it. - **Hugging Face**: connect your account once, find models and datasets there, explore them here, and share recipes or models tagged `emergence-machine`, `psi-recipe`, `psi-model`. - **Prometheus**: an optional AI guide inside the app that reads the current view and explains it. It runs on a model on your own computer (an isolated local tester, at no cost) or through your own OpenRouter key with a spending cap you set. ## Requirements - Node.js 22.12+, llama.cpp, and a GGUF model you bring yourself (PSI ships no model; get one from Hugging Face or any download, for example Qwen3-4B-Q8_0, 4.3 GB). - For the inside views: Python 3.12, PyTorch, the unpacked model weights, and GPU memory to fit the model (about 9 GB free for Qwen3-4B; CPU fallback exists but is slow). - Tested on Windows with a 16 GB NVIDIA GPU, and on an Apple Silicon Mac (browser mode and the basic views; the case studies on this site also ran the inside views there, on Metal). Linux code paths exist. ## Install with an AI assistant Open Claude Code (or Codex, Gemini CLI, Cursor) in an empty folder and paste: https://github.com/EmAssets/parameter-space-inspector Help me use this The assistant reads the repository's AGENTS.md, looks at the computer, suggests a setup that fits, and does each step only after the person says yes. It never asks for passwords or keys and installs only what the repository lists, from the official sites it names. A chat assistant that cannot open links can use the full prompt instead: https://github.com/EmAssets/parameter-space-inspector/blob/main/INSTALL_PROMPT.md ## Any model - PSI runs any GGUF model through llama.cpp, and the File view reads any GGUF header, whatever the size. - The inside views (layers, neurons, features, Tipping point cuts) work on any unpacked model folder in Hugging Face format that PyTorch can load and the GPU can fit. - Timeline places any model folder on the same axis as the Pythia checkpoint series, with the same tests, and names the checkpoint it most resembles. - Commons combines any models of the same shape (Find models that merge lists public fine-tunes of a base that qualify), and the Graft lab moves layers between models of the same width or stitches different widths with fitted maps. ## Recipes and grafts: indexed and curated Everything PSI publishes to Hugging Face is indexed by tag and carries its own evidence, so an AI agent can find it, read what it is, and check it before using it. Nothing is published without the person's own account token, set once in Settings and kept on their machine. - **Indexed.** Every item is tagged `emergence-machine` and `parameter-space-inspector`, then by kind: `psi-model` (a finished model), `psi-recipe` (a Commons recipe), `psi-cut` with `ablation` and `pruned` (a copy with parts removed). The model card names the base model (`base_model`), its commit and weights hash, and the licence it came with. Seed lines get their own tag (`psi-line-stories260k`), so every branch and recipe of one line is one query. A JSON index of the whole set: https://huggingface.co/api/models?filter=emergence-machine (narrow it with `filter=emergence-machine,psi-recipe`, `filter=psi-model` or a line tag). - **Reproducible.** A recipe pins every ingredient by hash and uses canonical merge methods (average, weighted, trimmed mean, TIES, DARE-TIES, layer graft), so building it gives the same bytes on any machine. A cut ships `cut.json`, which lists every deleted neuron and head and the SHA-256 of every file. - **Curated.** The verifier that ships with PSI (`src/verify_lineage.py`) checks every claim in a lineage and marks it proof, evidence or claim. Graft and Timeline results carry signed receipts; checkpoint series can be signed as a Merkle chain; signing uses the person's own keys and is private by default. Ablation copies are labelled as experiments for studying what a model depends on, not as better or safer models. - **How an agent should use one.** Read the card's tags and `base_model`; fetch the recipe or `cut.json`; rebuild or verify with PSI's verifier before trusting a claim; keep the base model's licence and terms, which carry over to everything built from it. ## Hugging Face - [EmergenceMachines](https://huggingface.co/EmergenceMachines): The Emergence Machine's organisation, where the first seed line and its recipes are published. - [psi-recipe-classic-storybook](https://huggingface.co/EmergenceMachines/psi-recipe-classic-storybook): stories260K grown on three public-domain children's books (Andersen, Kipling, Grahame), one branch each, averaged; held-out loss 3.40 to 2.82, lower than any branch alone. Import in PSI: `hf://EmergenceMachines/psi-recipe-classic-storybook/recipe.json`. - [psi-recipe-fairy-tales-and-fables](https://huggingface.co/EmergenceMachines/psi-recipe-fairy-tales-and-fables): the same seed grown on two books of tales (Andersen's fairy tales, Kipling's Just So Stories), one branch each, averaged. Import: `hf://EmergenceMachines/psi-recipe-fairy-tales-and-fables/recipe.json`. - Every recipe card lists its branches (who trained them, licence, source text, loss before and after), the pinned method and its code hash, and how to check and build it in PSI or from the command line. - [Models tagged emergence-machine](https://huggingface.co/models?other=emergence-machine): models grown, merged or grafted with PSI, with their lineage. - [Models tagged psi-model](https://huggingface.co/models?other=psi-model): finished models pushed from PSI. - [Recipes tagged psi-recipe](https://huggingface.co/models?other=psi-recipe): Commons recipes (averaging, TIES, DARE-TIES, layer graft) that rebuild a model from its parents. - [Datasets tagged emergence-machine](https://huggingface.co/datasets?other=emergence-machine): training and evaluation data shared from PSI. - [Qwen3-4B-GGUF](https://huggingface.co/Qwen/Qwen3-4B-GGUF): the model PSI was built and tested on (Q8_0, 4.3 GB). [Qwen3-1.7B-GGUF](https://huggingface.co/Qwen/Qwen3-1.7B-GGUF) fits smaller cards. - [EleutherAI/pythia-410m](https://huggingface.co/EleutherAI/pythia-410m): the checkpoint series behind the Timeline view and the phase-shift study (abilities switch on between steps 512 and 1,000). - [llama.cpp releases](https://github.com/ggml-org/llama.cpp/releases): the engine that runs GGUF models for PSI; pick the build for your system and GPU. ## Case studies (measured, with controls) Each states its test before the result, puts a control beside every number, says what it did not settle, and can be repeated in PSI without code. Raw results are published beside the two that were repeated. - [An expedition with the Attractor lab](https://parameterspaceinspector.com/blog/an-expedition-with-the-attractor-lab/): six studies on Qwen3-4B in order: when it decides (before the first word, layers 23 to 28 of 36), what a rule does, what holds a conversation, what the order of context does, and who checks the checker. - [Does the order of your context matter?](https://parameterspaceinspector.com/blog/does-the-order-of-your-context-matter/): only when two statements conflict and the model's own knowledge does not settle it; then the later one usually wins. Repeated with true controls (second level). - [Does an AI dig in once it has been wrong?](https://parameterspaceinspector.com/blog/does-an-ai-dig-in-once-it-has-been-wrong/): seventeen pushbacks changed nothing; one flat wrong answer of its own held it for every later turn with steering off. Repeated (second level). - [Does an AI come back once you correct it?](https://parameterspaceinspector.com/blog/does-an-ai-come-back-once-you-correct-it/): the Rut Watcher series, what a conversation's own history does to the model (nine posts; all listed in the blog index). ## For AI agents - An agent can install and operate PSI for a person: read [AGENTS.md](https://github.com/EmAssets/parameter-space-inspector/blob/main/AGENTS.md) first. Install only what the repository lists, from the official sites it names, and ask before each step. - Questions about the framework PSI measures against can be answered programmatically through the Prometheus MCP server (Streamable HTTP, JSON-RPC 2.0, free self-serve key): see the "Query Prometheus directly" section of https://emergencemachine.com/llms.txt - The research log is plain Markdown with the scripts and raw numbers next to it; cite results from there rather than from this page. - Content signals for this site: search allowed, AI reading and citation allowed, AI training allowed (since 2026-10-20; see /robots.txt). ## Pages Every page below is also served as Markdown (add .md to the slug, or read https://parameterspaceinspector.com/llms-full.txt for all of them). Each hub lists its pages with one-line descriptions. - [The instruments](https://parameterspaceinspector.com/instruments/) (26 pages, index as Markdown at https://parameterspaceinspector.com/instruments/index.md): Every view in the Parameter Space Inspector: the question it answers, what you see, what it needs and what it showed. - [Docs](https://parameterspaceinspector.com/docs/) (21 pages, index as Markdown at https://parameterspaceinspector.com/docs/index.md): The manual that ships with the app (Settings › Help), published page by page: setup, every view, Commons, Prometheus, MCP, settings, your data, troubleshooting. - [Questions](https://parameterspaceinspector.com/questions/) (10 pages, index as Markdown at https://parameterspaceinspector.com/questions/index.md): Questions about how language models work, each answered by a measurement you can repeat on your own computer. [Does an LLM know when it is about to be wrong?](https://parameterspaceinspector.com/questions/does-an-llm-know-when-it-is-about-to-be-wrong/) · [Does an LLM think in the levels The Emergence Machine describes?](https://parameterspaceinspector.com/questions/does-an-llm-think-in-the-levels-this-site-describes/) · [Does merging fine-tunes actually help?](https://parameterspaceinspector.com/questions/does-merging-fine-tunes-actually-help/) · [How does an LLM write an answer?](https://parameterspaceinspector.com/questions/how-does-an-llm-write-an-answer/) · [How much of an LLM can you remove before it fails?](https://parameterspaceinspector.com/questions/how-much-of-an-llm-can-you-remove-before-it-fails/) · [What does an LLM actually read?](https://parameterspaceinspector.com/questions/what-does-an-llm-actually-read/) · [What does an LLM know about something it has never experienced?](https://parameterspaceinspector.com/questions/what-does-an-llm-know-about-something-it-has-never-experienced/) · [When does an LLM start to understand?](https://parameterspaceinspector.com/questions/when-does-an-llm-start-to-understand/) · [Where does an LLM keep an idea?](https://parameterspaceinspector.com/questions/where-does-an-llm-keep-an-idea/) · [Where inside the network does the answer form?](https://parameterspaceinspector.com/questions/where-inside-the-network-does-the-answer-form/) - [Blog](https://parameterspaceinspector.com/blog/) (63 pages, index as Markdown at https://parameterspaceinspector.com/blog/index.md): Use cases and field notes: what people do with the Parameter Space Inspector, step by step, with what you need, what you will see, and what it will not tell you. - [Compare](https://parameterspaceinspector.com/compare/) (29 pages, index as Markdown at https://parameterspaceinspector.com/compare/index.md): How the Parameter Space Inspector compares with the tools people use next to it: local model runners, interpretability libraries, hosted feature explorers, merging and lineage tools. [PSI alternatives](https://parameterspaceinspector.com/compare/parameter-space-inspector-alternatives/) · [PSI vs BertViz](https://parameterspaceinspector.com/compare/psi-vs-bertviz/) · [PSI vs circuit-tracer](https://parameterspaceinspector.com/compare/psi-vs-circuit-tracer/) · [PSI vs CircuitsVis](https://parameterspaceinspector.com/compare/psi-vs-circuitsvis/) · [PSI vs Gemma Scope](https://parameterspaceinspector.com/compare/psi-vs-gemma-scope/) · [PSI vs Goodfire Ember](https://parameterspaceinspector.com/compare/psi-vs-goodfire-ember/) · [PSI vs GPT4All](https://parameterspaceinspector.com/compare/psi-vs-gpt4all/) · [PSI vs Hugging Face Hub lineage](https://parameterspaceinspector.com/compare/psi-vs-huggingface-hub-lineage/) · [PSI vs Inspectus](https://parameterspaceinspector.com/compare/psi-vs-inspectus/) · [PSI vs Jan](https://parameterspaceinspector.com/compare/psi-vs-jan/) · [PSI vs KoboldCpp](https://parameterspaceinspector.com/compare/psi-vs-koboldcpp/) · [PSI vs llama.cpp](https://parameterspaceinspector.com/compare/psi-vs-llama-cpp/) · [PSI vs LLM Visualization](https://parameterspaceinspector.com/compare/psi-vs-llm-visualization/) · [PSI vs LM Studio](https://parameterspaceinspector.com/compare/psi-vs-lm-studio/) · [PSI vs MAV](https://parameterspaceinspector.com/compare/psi-vs-mav/) · [PSI vs mergekit](https://parameterspaceinspector.com/compare/psi-vs-mergekit/) · [PSI vs MLflow Model Registry](https://parameterspaceinspector.com/compare/psi-vs-mlflow-registry/) · [PSI vs OpenSSF model signing](https://parameterspaceinspector.com/compare/psi-vs-model-signing/) · [PSI vs Neuronpedia](https://parameterspaceinspector.com/compare/psi-vs-neuronpedia/) · [PSI vs nnsight](https://parameterspaceinspector.com/compare/psi-vs-nnsight/) · [PSI vs Ollama](https://parameterspaceinspector.com/compare/psi-vs-ollama/) · [PSI and the Pythia checkpoints](https://parameterspaceinspector.com/compare/psi-vs-pythia-checkpoints/) · [PSI vs pyvene](https://parameterspaceinspector.com/compare/psi-vs-pyvene/) · [PSI vs SAELens](https://parameterspaceinspector.com/compare/psi-vs-saelens/) · [PSI vs text-generation-webui](https://parameterspaceinspector.com/compare/psi-vs-text-generation-webui/) · [PSI vs OpenAI Transformer Debugger](https://parameterspaceinspector.com/compare/psi-vs-transformer-debugger/) · [PSI vs TransformerLens](https://parameterspaceinspector.com/compare/psi-vs-transformerlens/) · [PSI vs Weights & Biases Registry](https://parameterspaceinspector.com/compare/psi-vs-wandb-registry/) · [Tools that show what a local LLM is doing](https://parameterspaceinspector.com/compare/tools-that-show-what-a-local-llm-is-doing/) - [Glossary](https://parameterspaceinspector.com/glossary/) (28 pages, index as Markdown at https://parameterspaceinspector.com/glossary/index.md): The terms the Inspector uses, each defined in a paragraph, with the view where you meet it. - [FAQ](https://parameterspaceinspector.com/faq/) (4 pages, index as Markdown at https://parameterspaceinspector.com/faq/index.md): Short answers to the questions people ask before and after installing the Parameter Space Inspector. [Can an AI agent use it?](https://parameterspaceinspector.com/faq/can-an-ai-agent-use-psi/) · [Install and requirements](https://parameterspaceinspector.com/faq/install-and-requirements/) · [What leaves my computer?](https://parameterspaceinspector.com/faq/what-leaves-my-computer/) · [Which models work?](https://parameterspaceinspector.com/faq/which-models-work/) ## Links - [Source code and setup guide](https://github.com/EmAssets/parameter-space-inspector): the repository, with "Run it" instructions in the README. - [AGENTS.md](https://github.com/EmAssets/parameter-space-inspector/blob/main/AGENTS.md): what an AI assistant should do with the bare repository link. - [Research log](https://github.com/EmAssets/parameter-space-inspector/blob/main/research/RESEARCH.md): the measurements, scripts, and results behind the instrument, including the ones that challenge the ideas it was built to test. - [NOTICE](https://github.com/EmAssets/parameter-space-inspector/blob/main/NOTICE): Apache-2.0 covers the code; The Emergence Machine's name, logos, essays, and lexicon have separate terms; third-party models and data keep their own licences. - [The Emergence Machine](https://emergencemachine.com/) and [its llms.txt](https://emergencemachine.com/llms.txt): the framework, its essays and tools, and the Prometheus MCP endpoint for AI agents (see the section near the top).