Skip to content
View moudrkat's full-sized avatar

Block or report moudrkat

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
moudrkat/README.md

Hey, I'm Kate 👋

AI Engineer • Former Particle Physicist ⚛️ • Former Risk Modeler 📈

I've spent my whole career looking inside systems that would rather stay opaque — first particle collisions, then risk models, now neural networks.

The models talk to us all day. I want to be able to affect them back.

And I want to shove AI into the device and look inside it: edge AI and interpretability, together.

Why I'm really doing this → the manifesto

Three ways in:

you want to go to
🔬 see inside a model: watch it think, find out why it did that, fix it the interpretability lab
🔩 run a model on the device: in a phone, or on a chip that costs less than lunch edge AI
🎓 learn by building: a robot with a model in its head, or a model taken apart to one neuron two playgrounds
🎈 just play with something: mostly small models doing odd jobs in a browser tab the cabinet of drawers

Five minutes, no account, no chip:

pip install brainscope && brainscope --model tiny        # watch a model think, in your browser
git clone https://github.com/moudrkat/maxwell-on-a-chip && cd maxwell-on-a-chip
cc -O2 -o host/maxwell host/maxwell.c -lm && host/maxwell 28    # Maxwell and Boltzmann at 28 °C

💥 Come say hi in my collision chamber

My personal site is a chat with a tiny LLM running entirely in your browser, and every answer it generates renders as a real particle collision. Click the event below to fire your own question into the chamber:

One question fired into the chamber: the model answers while its layers, attention heads and logit-lens flips render as a real collision.


🎓 Learn by building: two playgrounds

Franta, a robot car with a language model on a chip

🤖 AI in your hand
A playground for small language models on a $10 chip. Train a model for a robot of your own in your browser, in about a minute, in any language. Meet Franta, the first one, and tell me what to add to Franta.
English · open source · Colab · repo

A coding model, layer by layer

⌨️ Od klávesnice do neuronu (From the keyboard to a neuron)
Vibecoding, taken apart. One coding model, 28 layers, down to a single neuron that turns sum into len. Seven lessons, from my talk at Vibecoding & AI Engineering Festival, Ostrava.
Czech · open source · repo


🚀 An open-source interpretability lab, tested on a real production app

Watch a model think (brainscope, probascope) → diagnose why it did that → fix it at the source (hidden-directions → hotwire-vllm). Observability first; intervention last, once the instruments have earned it.

Tip

Don't read, just do it. pip install brainscope, then brainscope --model tiny: a browser view of a model thinking. CPU is fine. No account, no course.

Click any box to open its repo.

flowchart TD
    hd["🧭 <b>hidden-directions</b><br/>behavior → vector"]
    bs(["🧠 <b>brainscope</b><br/>watch a model think<br/>(on your running app)"])
    ps(["📱 <b>probascope</b><br/>watch a model think<br/>(inside your phone)"])
    st["🕹️ <b>steeropathy</b><br/>agents talking through activations"]
    tm["⚖️ <b>in-two-minds</b><br/>agent hesitating between tools"]
    hw["🔥 <b>hotwire-vllm</b><br/>steering in production vLLM"]
    sm["🧪 <b>steering-mechanics</b><br/>how steering actually works"]
    on["📰 <b>old-news</b><br/>stale history outranking<br/>your system prompt"]
    kj["🦵 <b>kneejerk</b><br/>decision models as a library<br/>(llama.cpp, no server)"]
    hi["🎯 <b>hidden-intent</b><br/>a probe that reads intent<br/>before the first line"]

    hd -->|"vectors"| bs
    bs -->|"hosts & captures"| st
    bs -->|"hosts & captures"| tm
    st -.->|"steers with"| hd
    hd -->|"vector + passport"| hw
    bs <-.->|"same spec: lab ↔ prod"| hw
    bs -->|"causal replay"| sm
    hw -.->|"vector under study"| sm
    bs -->|"hosts & captures"| on
    bs <-.->|"the lens: server ↔ phone"| ps
    kj -->|"model inside the app"| ps
    hi -->|"probe"| bs

    click hd "https://github.com/moudrkat/hidden-directions"
    click bs "https://github.com/moudrkat/brainscope"
    click st "https://github.com/moudrkat/steeropathy"
    click tm "https://github.com/moudrkat/in-two-minds"
    click hw "https://github.com/moudrkat/hotwire-vllm"
    click sm "https://github.com/moudrkat/steering-mechanics"
    click on "https://github.com/moudrkat/old-news"
    click kj "https://github.com/moudrkat/kneejerk"
    click ps "https://github.com/moudrkat/probascope"
    click hi "https://github.com/moudrkat/hidden-intent"

    classDef engine fill:#1f6feb,stroke:#1158c7,color:#ffffff;
    classDef exp fill:#8957e5,stroke:#6e40c9,color:#ffffff;
    class bs,ps,hd,hw,kj engine;
    class st,tm,sm,on,hi exp;
Loading

🔩 Shoved into the device: edge AI

Research that only runs behind a server isn't finished. These take it the last mile, natively. No cloud, no account, nothing phones home.

📱 In a phone

  • 🦵 kneejerk — decision models as a library on llama.cpp: no server, one forward pass, built for a phone app.
  • 📱 probascope — an Android app: a decision model runs in the phone, and you drag over its layers to see where the answer formed.
  • 🧭 decide-me — point your phone at the world and a decision model inside it tells you what to do next. I said I would not build this.

🔌 Inference on a chip

An ESP32-S3: 16 MB of flash, a few dollars, no operating system. Models of 3–4 million parameters, trained from scratch, running on it.

  • ✏️ esp32-ai — you type a sentence, a 3M-parameter model inside the chip writes a small program for its own screen, and the chip runs it. Built on slvDev/esp32-ai.
  • 🌡️ maxwell-on-a-chip — a tiny model of Maxwell and Boltzmann, sampled with their own distribution, at the temperature of the room. Maxwell's demon is on the BOOT button.
  • 🟨 attention-in-your-hand — one attention head of the model, live on 64 LEDs while it writes.
  • 🚗 esp32-robot — Franta: a robot car whose model writes the programs it drives by, in Czech or English. Make a robot of your own with it.

🤝 Where the two meet

Small models on small devices are the ones you can actually open up: probascope is the lens in a pocket, and hotwire-vllm is the same last-mile move for steering, in production vLLM.


🤝 What I'm looking for

Collaborators and users. Build on LLMs and want to see inside your model? pip install, try it, and open an issue where it breaks.

What would you use it for? → tell-me: my guesses, and questions for you


🎈 Just for fun: a cabinet of drawers

Smaller things, and things that got out of hand. Pull any handle.

 ━━━   🌐 In a browser tab — what a small model can do with no server behind it
  • 🌍 brave-new-world — a very small language model, in your browser tab, designs the entire page you are looking at.
  • 💥 detektor — the collision chamber above, open source.
  • 🔦 tournament-watermarking — the watermark Anthropic now puts in Claude's output, running live as a decaying newspaper.
  • 🎨 personal-rembrandt — you can't build a personal brand, so build a personal Rembrandt: GPT-2 reads your bio and repaints his self-portrait.
  • 🔥 fouriers-fire — a campfire from the equations up, and a sentence model whose words become the embers.
  • 📜 paper-remembers — Hopfield's 1982 paper, running live: rub out any part of the page and watch it rebuild itself.
  • 🌧️ coalescence — a raindrop landing on a wet window: the thin-film equation, solved in your browser.
 ━━━   🔬 Also on the bench — smaller, self-contained ways to look inside
  • 🎭 sixteen-voices — how a tiny transformer encodes writing style.
  • 👁️ show-me-your-attention — attention maps and neuron activations over your own prompt.
  • 🖼️ jepa-demo — I-JEPA & V-JEPA 2 hands-on, no GPU needed.
  • 🍄 Mushroom-generator — a VAE growing mushrooms, its decoder taken apart layer by layer.
  • 🍎 Applepear — apples vs pears in a tiny CNN, grad-CAM included.
  • ⚙️ Minimize_me — race TensorFlow optimizers across loss landscapes.
 ━━━   🃏 And off the bench — everything else that got out of hand
  • 🌙 tri-kumpani — Li Po's Drinking Alone under the Moon, read by a small Chinese model twelve hundred years later. ▶ open it
  • 🚪 resi-doom — Doom, except the level is a language model mid-sentence. W and S. That is the control scheme. ▶ open it
  • 🎸 unlived — a gamebook of the life you never lived. You win by quitting the game to go live it.
  • 🎉 promptparty — a dashboard for friends agent-coding in one room: when to 🗣️ TALK and when to ⌨️ PROMPT.
  • 🛏️ go-to-damn-bed — a Claude Code skill that sends you to bed. It counts to three. It never says what happens at three.
  • 👑 KingOfDiamonds — the King of Diamonds game from Alice in Borderland, played by LLMs in character.
  • 🗨️ paralel-discordverse — your company's Discord gets a parallel universe of fictional colleagues.
  • 🧅 underglaze — the blue tile on a kitchen wall, as a sum of cosines. The pattern everyone here calls cibulák turns out to have no onion in it.
  • 🧮 least-squares-method — code archaeology: a printed Pascal listing, photographed page by page and revived on Turbo Pascal 5.5.

None of it is perfect. That's kind of delightful.

Pinned Loading

  1. brainscope brainscope Public

    OpenAI-compatible server with a live view into any HF model's residual stream. pip install brainscope

    Python 57 11

  2. hotwire-vllm hotwire-vllm Public

    CUDA-graph-safe per-request activation steering plugin for vLLM. pip install hotwire-vllm

    Python 3 1

  3. steeropathy steeropathy Public

    Agents that talk through model internals — activations & J-space — instead of text. No words pass between them. The lab on top of brainscope + hidden-directions.

    Python 29 3

  4. probascope probascope Public

    Jev-like decision models running natively on your Android phone, with a look inside: where in the layers the answer formed, and the blocks your text went through

    Vue 5

  5. esp32-ai esp32-ai Public

    Forked from slvDev/esp32-ai

    A 3M-parameter model on an ESP32-S3 turns your sentence into a small program, and the same chip runs it. No cloud. Fork of slvDev/esp32-ai.

    Python 19 3

  6. maxwell-on-a-chip maxwell-on-a-chip Public

    A tiny model of Maxwell and Boltzmann, sampled with their own distribution, at the temperature of the room

    C