The personal context layer: a private AI that shows people who they're becoming and how to grow.
We live in dozens of apps, multitask all day, and now AI does whole tasks for us. Few of us can say where our time went, what we actually learned, or what to do next to grow. What we're becoming isn't visible to anyone, not even to us.
Magic privately records what you do on your laptop (browser, apps, screen, calls), and on-device AI turns it into a living picture of you:
| 🧭 Where you stand | Skills graded from first read to applied, across every area of your work and life |
| 🧠 How you think | Personality and drives read from behaviour, not quizzes, with strengths and blind spots |
| 🪜 What to do next | One next step per area, plus mentors for each stage |
| 🔒 Private by design | Everything runs on your laptop: 0 bytes go to the cloud |
Screen and chat memory tools help you remember. Magic shows who you're becoming. Next, every AI agent can ask Magic for context, with your permission.
| 20,429 | 988 | 27 | 0 bytes | 26 days |
|---|---|---|---|---|
| moments recorded | ideas mapped | topics | sent to the cloud | from first commit to live |
![]() You: who you are, read from behaviour |
![]() Where you stand: skill depth per area |
![]() What you know: every idea you've met, and how far you've taken it |
![]() Your path: the next step and who to learn from |
Every model Magic uses is open source and runs on the laptop's GPU. There is no cloud API and no API key, and it works with Wi-Fi off.
Hardware: MacBook with an Apple M5 (10-core GPU) and 32 GB of unified memory, where the CPU and GPU share the same memory. The runtime is llama.cpp llama-server on Metal with every layer on the GPU (-ngl 99).
Chrome extension ───┐ ┌─ llama-server :7803 brain Qwen3.6-35B-A3B (MoE, IQ4_XS)
Screen capture + OCR┼─▶ magicd (Rust) ─────┼─ llama-server :7801 fast Qwen3-4B-Instruct (Q4_K_M)
Mic + system audio ─┘ events → episodes └─ llama-server :7802 embed Qwen3-Embedding-0.6B (Q8_0)
│ → knowledge graph
│ SQLite + vectors, portal on 127.0.0.1:7777
▼
magic-audio: Silero VAD → NVIDIA Parakeet TDT 0.6B (English, int8) | Whisper large-v3 (Hindi/Hinglish, Metal)
| Model | Job in Magic | Why this one |
|---|---|---|
| Qwen3.6-35B-A3B, IQ4_XS, 16.5 GB | The "brain": pulls ideas out of activity, grades understanding, coaches, answers questions with citations | A mixture-of-experts model: 35B parameters of knowledge, but only about 3B are used per token, so it generates almost as fast as a 4B model |
| Qwen3-4B-Instruct, Q4_K_M, 2.3 GB | Chat, quick labels, and the fallback while the brain is loading | Low latency for interactive work |
| Qwen3-Embedding-0.6B, Q8_0 | Embeddings for search and the links in the knowledge graph (local RAG: embed the question, cosine search in SQLite, the brain answers with citations) | Small enough to keep at 8-bit |
| NVIDIA Parakeet TDT 0.6B v3, int8 (sherpa-onnx) | English speech-to-text for calls, lectures and videos | Fast and accurate on English |
| Whisper large-v3, q5_0 (whisper.cpp, Metal) | Hindi and Hinglish speech | Handles Devanagari and code-switching, where Parakeet doesn't |
| Silero VAD, plus a speaker-embedding model | Speech detection and "is this me?" | The heavy speech models only run when someone is talking |
| ocrs text detection and recognition | Reads the screen | Runs on the CPU, in Rust |
magicd runs one llama-server per role. It checks each one's health every 5 seconds, restarts any that crash, lets questions preempt background work, sends brain work to the fast model while the brain is loading (when it fits), and forces JSON output with a schema (response_format: json_schema) so the pipeline always gets data it can parse. ./magic light | models | start | stop trades features for memory on a machine that is also someone's everyday laptop.
Measured with bench/bench.py on 2026-12-04. Magic's background work was paused (the script asks Magic to hold it), settings matched production, results are the median of 3 runs at temperature 0 with a cold prompt cache. Raw data: bench/results/.
| Model | Params | Weights | Time to first token, short prompt | Time to first token, ~2k-token prompt | Prefill tok/s | Generation tok/s |
|---|---|---|---|---|---|---|
| Qwen3.6-35B-A3B (MoE) | 34.7B | 16.5 GB | 0.19 s | 2.38 s | 830 | 38.6 |
| Qwen3-4B-Instruct | 4.0B | 2.3 GB | 0.11 s | 2.04 s | 934 | 43.8 |
| Qwen3-Embedding-0.6B | 0.6B | 0.6 GB | 148 embeddings/s |
Together that's 19.4 GB of weights on a 32 GB laptop, with the KV cache on top.
Run it yourself with ./magic models, then python3 bench/bench.py.
- Memory decides what you can run; mixture-of-experts decides how fast. The 35B MoE model has 8.7× the parameters of the 4B model but generates only about 12% slower (38.6 vs 43.8 tok/s), because only about 3B parameters are active per token. On a laptop, the most capable model is the one that fits in memory, not the one with the fewest parameters.
- Prefill and decode are different problems. Reading the prompt runs at 800 to 900 tok/s because it is compute-bound and parallel. Generating runs at about 40 tok/s because every token streams the active weights from memory. A 2k-token context costs about 2 seconds before the first word appears, so I keep prompts short and put retrieval ahead of the model.
- Quantize per model, not globally. The big model is at about 4 bits (IQ4_XS) so everything fits, the 4B is at Q4_K_M, and the small embedding model stays at 8 bits, where precision is cheap.
- One GPU is one queue, so questions have to jump it. When the background pipeline was working through a backlog, the fast model's generation speed fell from 44 to 19 tok/s and a question took 70 seconds. The fix has two parts. Every portal request is marked interactive, and background calls wait while one is in flight. A background request that is already running is dropped, because llama-server cancels a task when its client disconnects and frees the GPU within a second, and it restarts after the question. The same question during the same backlog now takes 19 seconds.
- A fallback has to respect the smaller model's limits. While the brain was loading, work sent to the 4B model (8k context) was rejected for episodes of 9 to 10k tokens. Now the router counts the prompt's tokens with llama-server's
/tokenizeand falls back only when the prompt and its answer fit; longer prompts wait for the brain. - Constrain the output, don't parse prose. JSON-schema-constrained decoding, with the "thinking" step off for pipeline calls, made small local models reliable enough for an always-on pipeline.
- Pick speech models by language, and gate them. Parakeet is fast on English, Whisper large-v3 handles Hinglish, and a voice-activity detector keeps both idle when nobody is speaking.
Next: add a reranker (Qwen3-Reranker-0.6B is already downloaded) between search and the brain, and stream answers so the first words appear in under a second.
The stack is portable. llama.cpp has a CUDA backend (cmake -B build -DGGML_CUDA=ON), and the servers would start with the same flags. What would change:
- VRAM becomes the budget. The 16.5 GB brain fits on a 24 or 32 GB GeForce RTX card. On smaller cards, llama.cpp's
--n-cpu-moekeeps some expert layers in system RAM, since only a few experts are used per token. DGX Spark's 128 GB of unified memory would hold all of Magic's models with plenty of room for longer context. - Parakeet is native there. It's an NVIDIA NeMo model, so on CUDA it can run through NeMo or Riva instead of the ONNX build.
- Next steps I'd measure: TensorRT-LLM or NVIDIA NIM for the brain, to compare throughput and time to first token against llama.cpp on the same card.
I haven't benchmarked Magic on NVIDIA hardware yet; the numbers above are from the M5.
This is the public website and demo. The Magic app itself (the Rust recorder, on-device AI pipeline and knowledge graph) lives in a private repo, psinglap/magic.
| Path | What it is |
|---|---|
index.html |
One-page pitch with the narrated product video |
about.html |
Founder page |
try.html |
Early-access list |
demo/ |
Read-only copy of the Magic app, running on a redacted snapshot of the founder's real data |
api/ |
Vercel functions that store early-access sign-ups privately in Vercel Blob |
media/ |
Video, captions, screenshots |
bench/ |
Local-model benchmark (bench.py), the demo walkthrough (demo.sh), and saved results |
To run it locally, serve the folder with any static server, for example npx serve .. To deploy it, run vercel --prod.
I'm Pallavi Singla, a two-time founder. My first company, SchoolsOnWeb, was acquired by ImaginXP, and I then scaled ImaginXP to 1M+ students across 20,000 schools. Since then I've been a Senior Technical PM at AWS and a Senior PM at Snappr, and co-founded Mozie. I have an MBA from Berkeley Haas.
LinkedIn · pallavi.singla@berkeley.edu
© 2026 Pallavi Singla. All rights reserved.




