Group meeting · 20 minutes including discussion
Using AI Agents for Research
How language models use tools, how to run them on the hardware you have, and how I delegate, reproduce, and review research work.
Presentation keys: ← / → or Space move one animation step at a time · Home / End first / last · Esc exits fullscreen. Controls keep their normal keys.
Part 1 · From prompt to tool1 / 51
Using AI Agents for Research
Follow one research question from prompt to result.
- Up nextTokens
- LaterAttention & layers
- LaterGeneration
- LaterTool use
Speaker notes · 14 seconds
Follow one research question from prompt to result.
Part 1 · From prompt to tool2 / 51
What happens after Send?
Send passes the question and its chat history to the model.
- 1Two animals share a food patch. Is one following the other?
- 2Send the question and its chat history.
You ask: “How can I distinguish social attraction from animals responding to the same food patch?” The chat application submits the message with its roles and surrounding context. We follow three pieces at the end of the question—food, patch and ?—into the model.
Speaker notes · 21 seconds
Open with the two animals at the same food patch. Ask what evidence could separate attraction from a shared interest in food. Send that question and follow its words into the model.
Read the worked example in the full guide
Further reading
Part 1 · From prompt to tool3 / 51
From words to vectors
Colors show positive and negative values.
- 1Split text into tokens.
- 2Look up a vector for each token.
- 3Input matrix · one row per token
The submitted words remain in the chat window. The tokenizer turns the formatted text into vocabulary pieces. Each token selects a learned vector from an embedding table. An ordered matrix of numerical vectors enters the transformer.
Speaker notes · 25 seconds
Follow one piece of the prompt into the embedding table. Its row of learned numbers is the representation that the rest of the model can transform.
Read the worked example in the full guide
Further reading
Part 1 · From prompt to tool4 / 51
From a prompt to a tool call
How does context change a token’s meaning?
- CoveredTokens
- Up nextAttention & layers
- LaterGeneration
- LaterTool use
Speaker notes · 6 seconds
How does context change a token’s meaning?
Part 1 · From prompt to tool5 / 51
Which earlier words matter?
Values V supply the information; the mixture updates the token representation.
- 1Project each token into a query, key and value.
- 2Compare each query with current and earlier keys.
- 3Mix the values using attention weights.
- 4Update each token’s features.
At this layer, H is the matrix of current token representations: one row per token. Multiplying the same H by three different learned weight matrices produces Q = H W_Q, K = H W_K and V = H W_V. A query is compared with the available keys; masking and softmax turn those scores into attention weights. Those weights mix the value vectors into a context-dependent update.
Speaker notes · 40 seconds
Start with one token. Its query is compared with earlier keys. The resulting weights control how strongly those positions’ values contribute to its new representation.
Read the worked example in the full guide
Further reading
Part 1 · From prompt to tool6 / 51
How a layer transforms token features
These learned matrices are also model weights.
- 1Attention mixes information across positions.
- 2Expand, activate and project each token’s features.
Attention’s output projection and residual addition update the token features. A learned matrix expands each position into a longer feature vector. A nonlinear activation transforms those expanded features. A second learned matrix restores the width; a residual addition gives the layer output.
Speaker notes · 20 seconds
Keep your eye on one position. Attention has brought in information from other words. The feed-forward network transforms that position’s features before passing them on.
Read the worked example in the full guide
Further reading
Part 1 · From prompt to tool7 / 51
Model weights and the conversation cache
Every chat uses the same learned weights. Each conversation builds its own cache of keys and values.
The next token can use what the model already computed for earlier tokens.
- 1One decoder layer · attention and a feed-forward network
- 2Model weights · billions of learned parameters shared across chats
- 3KV cache · keys and values saved by each attention layer
- 4Example cache · 16 GiB for 8,192 tokens across 32 layers at FP32
Each decoder layer applies learned weights to the incoming token representations. The model has billions of these parameters, shared across conversations and fixed during inference. Attention also produces a key and a value for each token. During decoding, each layer reuses the keys and values it has saved for this conversation and appends the new token’s pair. In the illustrated model, 8,192 cached tokens occupy 16 GiB across all 32 layers at FP32 precision.
Speaker notes · 29 seconds
Follow the keys and values as they leave the layer and enter this chat’s cache. Every chat uses the same learned weights. As the reply grows, decoding reuses the cached keys and values and appends the new token’s pair. The 16 GiB figure is the cache for 8,192 tokens in the FP32 example, separate from the weights.
Read the worked example in the full guide
Further reading
Part 1 · From prompt to tool8 / 51
From a prompt to a tool call
How do the final features become the next token?
- CoveredTokens
- CoveredAttention & layers
- Up nextGeneration
- LaterTool use
Speaker notes · 7 seconds
How do the final features become the next token?
Part 1 · From prompt to tool9 / 51
Predicting the next token
The new text goes through the same process again.
- 1Turn vocabulary scores into probabilities.
- 2Sample and append one token.
- 3Use that token to predict the next.
The final position is projected to one score for each vocabulary entry. The scores become a probability distribution over the next token. A decoding rule selects a token; it returns to the growing chat reply. The selected token becomes the next input, and the model predicts again.
Speaker notes · 24 seconds
Follow the selected token from the vocabulary scores into the reply. Appending it changes the input for the next prediction.
Read the worked example in the full guide
Further reading
Part 1 · From prompt to tool10 / 51
One reply has two phases
Prompt tokens can be processed together. New tokens are generated in sequence.
- 1Prefill · process the prompt and predict the first token
- 2Decode · reuse cached history for each new token
A request begins with known input tokens. Prefill processes those positions in batches and builds their retained keys and values. Decode then repeats a sequential step: use the retained history, predict a token, append it, and process that new position.
Speaker notes · 10 seconds
Use the timeline to distinguish waiting for the answer to start from watching the rest arrive. The next two slides show what the model keeps between those moments.
Read the worked example in the full guide
Further reading
Part 1 · From prompt to tool11 / 51
Prefill: process the prompt
The input is known, so many prompt positions can be processed together.
- 1Process the known prompt in batches.
- 2Compute a key and value at each position.
- 3Save the keys and values for decoding.
All prompt positions are known before generation starts. Prefill processes their vectors through each layer. Each attention layer retains its computed keys and values. The final prompt position predicts “Compare”; that new token has no K/V entry yet.
Speaker notes · 24 seconds
Point to the K and V entries that the prompt positions leave behind. Advance straight into decode so those same entries remain visible.
Read the worked example in the full guide
Further reading
Part 1 · From prompt to tool12 / 51
Decode: stream the response
Generate one token, append it, then process that new position.
- 1Start with the prompt’s cached keys and values.
- 2Reuse the cache for the new position.
- 3Append its key and value, then predict the next token.
The prompt’s K/V rows are already available in memory. Only the new token goes through the layers; attention reads the retained history. The new token’s K/V are appended, leaving the earlier rows unchanged. Its output predicts the next token. This repeats as the reply grows.
Speaker notes · 24 seconds
The highlighted entry is new. The earlier keys and values stay in place while the model generates the next token.
Read the worked example in the full guide
Further reading
Part 1 · From prompt to tool13 / 51
From a prompt to a tool call
Who carries out a tool request?
- CoveredTokens
- CoveredAttention & layers
- CoveredGeneration
- Up nextTool use
Speaker notes · 6 seconds
Who carries out a tool request?
Part 1 · From prompt to tool14 / 51
Who actually reads the file?
The harness checks permissions, runs tools, and gives the model the result.
- 1ChatGPT or Claude · hosted harness and model
- 2OpenCode harness · model served by Ollama
- 3Send the task and available tools
- 4Check permission and read the file
- 5Return the file contents to the model
If you use ChatGPT or Claude, the hosted setup is probably familiar. You send a request from an app or browser, and the provider runs the agent harness and model in the cloud. The harness manages the conversation and calls tools. A local setup uses the same pieces. Here OpenCode runs the harness and Ollama serves the model on your laptop or workstation. When the model asks to read an analysis file, OpenCode checks permission, reads the file, and sends the contents back to the model.
Speaker notes · 40 seconds
Start with the cloud agent people may already use. Show the same arrangement on a laptop or workstation, then follow the model’s file request through OpenCode’s permission check and back to Ollama.
Read the worked example in the full guide
Further reading
Part 1 · From prompt to tool15 / 51
Connecting apps with MCP
The Model Context Protocol (MCP) gives an agent harness a common way to discover and call tools offered by other apps.
- 1OpenCode asks PhotoCraft for the open figure’s layers.
- 2GitHub · issues and pull requests
- 3Slack · search and messages
- 4Notion · pages and meeting notes
- 5Figma · design context
OpenCode can read a file with its built-in tools. To work inside another app, it can connect to a server that speaks the Model Context Protocol (MCP). A server describes the tools it offers and the inputs each one accepts. The model can then request a tool by name. OpenCode checks the configured permissions, sends the request through its MCP client, and passes the result back to the model. For example, ArtCraft’s PhotoCraft can return the layer list for an open figure or export selected layers. GitHub’s official server can search issues or open a pull request. Notion’s can find and update pages and meeting notes. Slack’s can search channels and retrieve or send messages. Figma’s can supply design context from selected frames and components. Each server exposes the actions supported by that app and your connected account.
Speaker notes · 25 seconds
Ask how an agent could tell which layers are in an open figure. PhotoCraft offers a document-inspection tool through its local MCP server. The layer names in the diagram illustrate what might come back. Once OpenCode has the result, the model can use it to answer or request another action. On the next reveal, point to the GitHub, Slack, Notion and Figma logos. Give one example for each: open a pull request, search a discussion, find meeting notes, or read a design. These are official app integrations. A server can offer several tools, and the host’s tool settings and the connected account determine which actions are available.
Read the worked example in the full guide
Further reading
Part 2 · Running locally16 / 51
Running a model locally
Which model suits the task?
- Up nextModel choice
- LaterWeights & context
- LaterMemory placement
- LaterPerformance
Speaker notes · 8 seconds
Which model suits the task?
Part 2 · Running locally17 / 51
How much space do model weights take?
GPT-1 fits in a fraction of a gigabyte. At the same precision, the largest models need terabytes.
Where do the models you can run locally sit on this scale?
- 1GPT-1 · 234 MB → GPT-2 · 3 GB → GPT-3 · 350 GB
- 2Llama 3.1 405B · 810 GB. DeepSeek-V4-Pro · 3,200 GB.
- 3Qwen3.8-27B · 54 GB. Muse Glimmer 30B · 59.2 GB. Qwen3.8-Flash-Next · 360 GB.
Each horizontal line is ten times the weight storage of the line below it. GPT-3 would take 350 GB at two bytes per parameter. The three highlighted reference models came out in August 2026. Qwen3.8-27B and Muse Glimmer cluster near 60 GB. Qwen3.8-Flash-Next reaches about 360 GB with its additional embedding table and prediction module.
Speaker notes · 18 seconds
Use the scale animation to show how quickly parameter counts become a storage problem. A parameter count only turns into a memory estimate once we choose the precision.
| Release | Model | Parameters | Weights at 16 bits |
|---|---|---|---|
| 2018-06 | GPT-1 | 117M | 0.234 GB |
| 2019-02 | GPT-2 | 1.5B | 3 GB |
| 2020-05 | GPT-3 | 175B | 350 GB |
| 2024-07 | Llama 3.1 405B | 405B | 810 GB |
| 2026-04 | DeepSeek-V4-Pro | 1.6T | 3,200 GB |
| 2026-07 | GPT-5.6 Sol | 1.93T equivalent (estimate) | 3.86 TB equivalent (90% interval 1.118–13.4 TB) |
| 2026-08 | Qwen3.8-27B | 27B | 54 GB |
| 2026-08 | Muse Glimmer 30B | 29.6B | 59.2 GB |
| 2026-08 | Qwen3.8-Flash-Next | 180B | 360 GB |
| 2026-09 | Claude Opus 5.5 | Unpublished | — |
| 2026-09 | GPT-6 Sol | Unpublished | — |
| 2026-11 | Claude Fable 5.2 | Unpublished | — |
Read the worked example in the full guide
Further reading
- OpenAI · original GPT paper and model
- OpenAI · GPT-2 release
- OpenAI · GPT-3 technical paper
- Meta · Llama model releases
- DeepSeek · V4-Pro model card
- OpenAI · GPT-4 technical report
- Qwen3.8-27B · official model card
- Meta · Muse Glimmer model card and layer layout
- Qwen3.8-Flash-Next · official architecture and expert counts
- OpenAI · GPT-5.6 release
- Anthropic · Claude Opus 5.5 release
- OpenAI · GPT-6 October system card
- Anthropic · Claude Fable 5.2 release
- OpenAI · original GPT-5 system card
- Eigenigma · GPT-5.6 estimates from recall probes
- Frontier Parameter Model · GPT-5.6 estimates from public signals
- Epoch AI · GPT-6 Sol release and model metadata
Part 2 · Running locally18 / 51
Choosing a local model
Four options for coding, visual assistance and tool use across different memory budgets.
Benchmark the model and precision you can actually run.
- 1Qwen3.8-27B is the coding and analysis option.
- 2Muse Glimmer · fast assistant for search, email, and visual reasoning · small KV cache
- 364K session with Q8_0 KV · Muse 0.47 GiB · Inkling 2 Mini 1.15 GiB · Qwen 27B 2.125 GiB
- 4Flash-Next activates a subset of its expert weights for each token.
Alibaba’s Qwen3.8-27B is my dense model for coding and analysis. Meta’s Muse Glimmer is my pick for a fast everyday assistant with a small KV cache and good visual reasoning. It can search, draft emails, and send them through connected tools with permission. Thinking Machines Lab’s Inkling 2 Mini is an option for coding, vision and tool use. Its middle layers reuse weights over three passes. For one 64K agent session with Q8_0 keys and values, Inkling’s estimated cache is 1.15 GiB, between Muse at 0.47 GiB and Qwen3.8-27B at 2.125 GiB. These figures assume the runtime keeps sliding windows compact. Alibaba’s Qwen3.8-Flash-Next is the larger mixture-of-experts option for demanding coding tasks.
Speaker notes · 28 seconds
Compare the four models by the jobs they suit. Keep Qwen for dense coding, Muse for quick visual assistance, and Flash-Next for more demanding code. Inkling 2 Mini adds coding and vision with a looped model. Compare them at the same 64K OpenCode context. A single Q8_0 cache is about 0.47 GiB for Muse, 1.15 GiB for Inkling and 2.125 GiB for Qwen3.8-27B. The runtime also needs space to process the prompt.
| Model | FP16 KV at 64K | Q8_0 KV at 64K |
|---|---|---|
| Muse Glimmer | 0.89 GiB | 0.47 GiB |
| Inkling 2 Mini | 2.16 GiB | 1.15 GiB |
| Qwen3.8-27B | 4.00 GiB | 2.125 GiB |
Read the worked example in the full guide
Further reading
- Qwen3.8-27B · official model card
- Meta · Muse Glimmer model card and layer layout
- Qwen3.8-Flash-Next · official architecture and expert counts
- Thinking Machines Lab · Inkling 2 Mini model card
- Unsloth · local setup and measured GGUF file sizes
- NVIDIA NeMo · Inkling 2 Mini attention and loop configuration
- vLLM · per-pass attention and convolution caches
- Qwen · pinned text configuration
- Meta · Muse Glimmer text attention configuration
- llama.cpp · GGUF quantization block layouts
- Unsloth llama.cpp · Inkling attention paths and measured working buffers
- Ollama · running OpenCode with a local model
Part 2 · Running locally19 / 51
Running a model locally
How much memory will the conversation need?
- CoveredModel choice
- Up nextWeights & context
- LaterMemory placement
- LaterPerformance
Speaker notes · 7 seconds
How much memory will the conversation need?
Part 2 · Running locally20 / 51
Memory for weights and conversation
The model occupies memory as soon as it loads. The chat adds its own history.
- 1Our example dense model has 26.84B weights. At four bytes each, that is 100 GiB.
- 2At 8K tokens, the chat adds 16 GiB of keys and values.
- 3At 128K tokens, this example needs 356 GiB on a workstation or MacBook.
The hypothetical model’s fixed FP32 weights occupy exactly 100 GiB. At 8K tokens, 16 GiB of K/V brings retained payload to 116 GiB. At 128K, 256 GiB of K/V brings it to 356 GiB, before workspace and overhead. How does this fit on a workstation or MacBook?
Speaker notes · 24 seconds
Point first to the fixed weight allocation, then to the cache growing with the prompt. Use the final total as the starting point for the same model on a smaller machine.
Read the worked example in the full guide
Further reading
Part 2 · Running locally21 / 51
A 32 GiB memory budget
The example model needs 100 GiB for its weights before the first token is cached.
- 1Example at 128K · 100 GiB weights + 256 GiB cache
- 2Available locally · 32 GiB
The model we just traced uses 100 GiB for its full-precision weights and 256 GiB for 128K tokens of conversation history. Suppose your machine has 32 GiB available after reserving memory for the system and working buffers. Which parts of that 356 GiB budget can we shrink?
Speaker notes · 16 seconds
Carry the example into a 32 GiB local budget. The question for the next slides is which parts of that budget can change.
| Criterion | Local | Frontier cloud |
|---|---|---|
| Capability | Model and hardware dependent | May excel on difficult tasks |
| Convenience | You manage the runtime | Managed service and integrations |
| Privacy | Inspect the entire tool chain | Inspect product and contract |
| Cost | Hardware, energy, maintenance | Plan or API charges |
| Availability | Installed resources; local failures | Network, quotas, service availability |
| Latency | Placement and workload dependent | Network and service dependent |
| Context | Architecture and memory limits | Model and product limits |
Read the worked example in the full guide
Further reading
Part 2 · Running locally22 / 51
Rounding the weights
Fewer bits shrink the model file. The chat still needs its cache.
- 1FP32 · four bytes per weight
- 2FP16 · 50 GiB of weights
- 38 bits · 256 possible levels
- 44 bits · 12.5 GiB of weights
- 52 bits · four possible levels
The same weight matrix is represented at FP32, FP16, 8, 4 and 2 bits. Original and stored values share a color scale. The error panel uses one fixed ±0.333 scale across every precision, with the maximum absolute error printed alongside. Five values move to their nearest stored level. Follow the violet weight allocation against the 32 GiB line. Even at 2 bits the teal cache alone exceeds the allowance.
Speaker notes · 33 seconds
Keep the highlighted weights in view as the representation changes. Read the 4-bit budget once. The narrowing set of values at 2 bits makes the precision trade-off visible.
Read the worked example in the full guide
Further reading
Part 2 · Running locally23 / 51
Making room for longer context
Keep the tokens. Change what each layer stores, then how many bits each value needs.
How do other architectures keep their history small?
- 18K · 64 full-history layers · FP16 · 2 GiB KV
- 264K · 64 layers · FP16 · 16 GiB KV
- 3256K · 64 layers · FP16 · 64 GiB KV
- 4256K · 16 full-history layers · FP16 · 16 GiB KV
- 5256K · 16 layers · Q8 · 8.5 GiB KV · 29.4 GiB total
- 6256K · 16 layers · Q4 · 4.5 GiB KV · check recall of exact details
An 8K chat can turn into a much longer coding task as the harness adds files, tool results and edits. Try 64K as a starting point. A task that genuinely needs more history may benefit from 128K–256K. Qwen3.8-27B supports 256K natively. At that length its 16 full-attention layers need 16 GiB for FP16 keys and values, or 8.5 GiB at Q8. Q4 reduces the cache to 4.5 GiB, with a greater risk of losing fine distinctions in long histories.
Speaker notes · 45 seconds
Now hold the weights fixed. Extend the history, show which layers retain it, then lower cache precision. Pause at the first configuration that fits the example budget.
| History | Full KV layers | Format | KV cache | Estimated total |
|---|---|---|---|---|
| 8K | 64 | FP16 | 2 GiB | 22.8 GiB |
| 64K | 64 | FP16 | 16 GiB | 36.8 GiB |
| 256K | 64 | FP16 | 64 GiB | 84.8 GiB |
| 256K | 16 | FP16 | 16 GiB | 36.9 GiB |
| 256K | 16 | Q8 | 8.5 GiB | 29.4 GiB |
| 256K | 16 | Q4 | 4.5 GiB | 25.4 GiB |
Read the worked example in the full guide
Further reading
Part 2 · Running locally24 / 51
Three ways to keep less history
Qwen updates a compact state in most layers, with full history in every fourth layer.
- 1Start with separate K/V histories for each attention head.
- 2Grouped-query attention shares K/V across query heads.
- 3Muse: short windows in most layers; full history in every fourth.
- 4Qwen: recurrent state in most layers; full history in every fourth.
Grouped-query attention shares K/V heads across several query heads. Some architectures also avoid retaining a full token history in every layer. Muse Glimmer combines 39 sliding-window layers with 13 full-attention layers. Qwen3.8-27B combines 48 recurrent Gated DeltaNet layers with 16 full-attention layers. Their full-attention portions still grow with context.
Speaker notes · 28 seconds
Distinguish sharing history across attention heads, retaining a recent window, and storing a fixed-size recurrent state. Point to what disappears and what is retained in each picture.
Read the worked example in the full guide
Further reading
Part 2 · Running locally25 / 51
Routing tokens to experts
A sparse model can store more weights and use fewer of them for each token.
- 1The dense Qwen model runs all 27B parameters for each token.
- 2The first token passes through E2 and E6. Their outputs rejoin.
- 3The next token passes through E4 and E7 in the same bank.
- 4Flash-Next activates 6B of its 125B backbone per token. Each layer uses 10 of 512 routed experts and one shared expert.
The dense Qwen3.8-27B activates 27B parameters per token. Flash-Next has a 125B backbone and activates 6B per token. At each mixture-of-experts (MoE) layer its router selects 10 of 512 experts, alongside one shared expert. The full set of weights still needs a home.
Speaker notes · 28 seconds
Follow one token through the router and then a second token through a different pair of experts. All the available weights still need storage even when only some are active.
Read the worked example in the full guide
Further reading
Part 2 · Running locally26 / 51
Choosing precision by tensor
Keep more precision where rounding would hurt most.
- 1A layer contains several weight matrices.
- 2Unsloth assigns different formats to different tensors in the same layer.
- 3The pattern changes across layers. Sensitive tensors keep more precision.
Unsloth Dynamic v3.1 uses calibration to allocate precision across the weights. A nominal 2-bit GGUF can contain several formats. The animation uses actual formats from selected full-attention layers in Qwen3.8-27B UD-Q2_K_XL.
Speaker notes · 17 seconds
Within the same file, tensors can have different precisions. Point to a sensitive matrix that retains more bits.
Read the worked example in the full guide
Further reading
Part 2 · Running locally27 / 51
Testing one- and two-bit models
Low-bit files can retain substantial capability—but the result depends on the model.
- 1Qwen3.8-27B: a roughly 10 GB file retains about 87% of its coding baseline.
- 2Flash-Next: the nominal 1-bit file retains 97.9% across 12 benchmarks.
Unsloth reports about 87% average coding-score recovery for the 9.95 GB Qwen3.8-27B UD-Q2_K_XL file. For Flash-Next UD-IQ1_S, it reports 97.9% mean recovery across 12 benchmarks at roughly 66 GB total file size. These are different benchmark aggregates, not a model-to-model ranking.
Speaker notes · 16 seconds
Use the two reported comparisons to explain why the smallest file still needs a task-specific check. The percentages refer to the different evaluations named on the figure.
Read the worked example in the full guide
Further reading
Part 2 · Running locally28 / 51
Running a model locally
Where will the weights live?
- CoveredModel choice
- CoveredWeights & context
- Up nextMemory placement
- LaterPerformance
Speaker notes · 7 seconds
Where will the weights live?
Part 2 · Running locally29 / 51
Where do the weights live?
Keeping the model in GPU memory avoids costly offloading.
- 1Unified memory gives CPU and GPU access to the same pool.
- 2A discrete GPU has its own VRAM.
- 3Offloaded layers use system RAM.
- 4Extra CPU work and transfers can slow generation.
Apple silicon and DGX Spark expose unified memory to CPU and GPU. A workstation with a discrete GPU usually has separate system RAM and GPU VRAM. The same allocations therefore have to fit into different pools. When some model work is offloaded, CPU performance and transfers can affect the experience. Leave room for the operating system and temporary allocations.
Speaker notes · 26 seconds
Follow the same data in a unified pool and then across separate system memory and VRAM. The transfer path matters whenever the working set extends beyond fast memory.
Read the worked example in the full guide
Further reading
Part 2 · Running locally30 / 51
Three ways to serve the weights
Choose where the model’s weights live.
- 1In-memory serving · weights stay resident
- 2Strata · frequently used experts stay in VRAM
- 3Strata · SSD → RAM → VRAM or SSD → unified memory
The model server runs inference and answers requests from applications. Ollama, llama.cpp, and MLX-LM can serve models that fit in memory. On a discrete GPU, Strata keeps frequently used experts in VRAM. Its SSD-backed modes bring missing expert weights into system RAM. Selected weights can then move to VRAM over PCIe. On Apple silicon, Strata streams missing experts into unified memory shared with the GPU. InferSSD and Slotstream also support SSD expert streaming. Disk reads make larger models possible and can add latency. Hugging Face hosts model files and cards that explain runtime compatibility.
Speaker notes · 36 seconds
Compare keeping weights resident with expert caching and SSD streaming. Trace SSD through system RAM to VRAM on a discrete GPU, then trace SSD to the unified pool on Apple silicon.
| Approach | Examples | Benefit | Cost / limit |
|---|---|---|---|
| Keep the working set in memory | Ollama · llama.cpp · MLX-LM | Simple setup; predictable latency when resident | Capacity limits the model and context; offload may slow it |
| Share MoE work across RAM and VRAM | Strata | Large supported MoE models with modest VRAM; KV residency controls | CPU, RAM bandwidth and PCIe matter; supported packs/backends only |
| Stream expert weights from SSD | Strata · InferSSD · Slotstream | Models larger than available memory | Cache misses cost disk reads. Strata uses system RAM and VRAM on discrete GPUs, or unified memory on Apple silicon. |
| Ollama | Model management and local API | Convenient starting point | Check actual backend and supported options |
| llama.cpp | Direct GGUF engine and server | Fine control across many backends | More manual setup |
| MLX-LM | Direct MLX model serving | Apple silicon integration | Apple silicon; model and server feature support vary |
| InferSSD | Supported GGUF MoE models | Apple silicon / Linux CUDA / Windows builds | Backend-specific expert execution; verify installed build |
| Slotstream | Qwen3.8-Flash-Next 4-bit | Native Apple silicon SSD streaming | One maintained model and one generation at a time |
Read the worked example in the full guide
Further reading
- Ollama · local FAQ
- llama.cpp · engine and server
- llama.cpp · server arguments
- MLX LM · Apple silicon inference
- MLX-LM · pinned HTTP server documentation
- Ollama · MLX engine and caching
- Strata · supported models, hardware and APIs
- Strata · CPU/GPU work sharing
- Strata · memory modes and Linux file-tier prefetch
- InferSSD · supported models and platforms
- InferSSD · expert reads, RAM cache and CPU/GPU execution
- Slotstream · Apple silicon SSD streaming
- Slotstream · hardware results and limits
- Hugging Face Hub · models, files and model cards
- Hugging Face · GGUF model-file format
- Apple MLX · array framework for Apple silicon
- Strata · Metal backend and SSD expert streaming
Part 2 · Running locally31 / 51
Sharing the machine with experiments
Serving a model competes with your experiments for the same resources.
- 1Full GPU: model residency and generation compete with GPU analyses.
- 2RAM + GPU: CPU work and memory traffic can affect the whole workstation.
- 3If model reads and data reads share an SSD, both jobs can slow down.
GPU-resident inference occupies VRAM and uses GPU compute during generation. Expert serving across RAM and GPU also uses CPU cores, memory bandwidth, and transfers. SSD streaming adds disk reads that can compete with data analysis. A discrete GPU can also need PCIe transfers. On Apple silicon, the streamed weights and other work share unified memory bandwidth.
Speaker notes · 20 seconds
Keep the analysis running next to inference in the diagram. Point to the shared GPU, memory traffic, or storage reads in each arrangement.
Read the worked example in the full guide
Further reading
- Ollama · GPU residency, concurrency and unloading
- Strata · CPU expert workers and CPU/GPU sharing
- InferSSD · supported models and platforms
- Slotstream · Apple silicon SSD streaming
- Kingston · SSD cooling and thermal throttling
- Strata · memory modes and Linux file-tier prefetch
- Strata · Metal backend and SSD expert streaming
Part 2 · Running locally32 / 51
Where do the model and tools run?
The model server generates tokens. OpenCode runs tools. The interface lets you steer the session.
Put the model server where it fits and OpenCode where the project lives.
- 1One laptop or workstation · model, tools and interface
- 2Separate workstation · only the model moves
- 3Remote session · steer workstation tools from a laptop or phone
On one laptop or workstation, the model server, OpenCode, and its interface can all run together. You can move the model server to a separate workstation while OpenCode runs tools against project files on your laptop or research workstation. For remote control, run OpenCode and the model server on a workstation and open the same OpenCode session from a laptop browser or a phone. The model server can also be on a separate host in that setup.
Speaker notes · 23 seconds
Separate the model server, the process with access to the project, and the interface used to steer it. Follow those same three roles as their locations change.
Read the worked example in the full guide
Further reading
Part 2 · Running locally33 / 51
Running a model locally
What limits speed on this machine?
- CoveredModel choice
- CoveredWeights & context
- CoveredMemory placement
- Up nextPerformance
Speaker notes · 7 seconds
What limits speed on this machine?
Part 2 · Running locally34 / 51
Time to first token
Larger batches share more computation, but need more working memory.
- 1Prompt tokens arrive together.
- 2Larger batches can improve throughput and use more memory.
Prefill can process many known prompt tokens together. Increasing batch size can help throughput, but needs more temporary memory. Flash Attention reduces attention memory traffic and temporary storage. Decode generates one dependent token at a time and is often limited by memory bandwidth. Multiple simultaneous requests also need more memory; keep concurrency low on a constrained machine.
Speaker notes · 18 seconds
Keep the prompt fixed. Larger prefill batches can improve GPU utilization but need temporary memory.
Read the worked example in the full guide
Further reading
Part 2 · Running locally35 / 51
Speculative decoding
The main model accepts a prefix, then corrects the first rejection.
- 1Generate one token per ordinary step.
- 2Draft several candidates.
- 3Verify the draft in one pass.
- 4Keep the accepted prefix and correct the first rejection.
Multi-token prediction (MTP) is one form of speculative decoding. A supported predictor proposes several tokens; the main model verifies the block, accepts a matching prefix and corrects the first rejection. More accepted tokens can reduce expensive target passes. Drafting and verification also have overhead. MTP may need to be enabled explicitly in the server.
Speaker notes · 29 seconds
Follow a proposed block through the main model’s verification step. An accepted prefix advances generation. The first rejection determines where drafting resumes.
Example configuration
# Same MTP-capable artifact for BOTH comparisons; match all other options.
ollama pull qwen3.8:27b-mtp-q4_K_M
# Inside the /api/generate request options:
{"num_ctx":8192,"num_batch":256,"num_predict":256,"draft_num_predict":0}
# Compare with:
{"num_ctx":8192,"num_batch":256,"num_predict":256,"draft_num_predict":4}
# These are options objects, not standalone shell commands.
# Inspect effective draft settings and GPU residency in server logs.
# Keep only changes that improve the representative task.
Read the worked example in the full guide
Further reading
Part 2 · Running locally36 / 51
Benchmark your local setup
Sweep one setting at a time and measure the whole request.
Measure speed, memory, and task success together.
- 1Sweep weight and KV precision, context, batch and microbatch sizes, MTP, draft length, concurrency, placement and cache reuse.
- 2Time prefill, first token, decode and completion. Record stream gaps and throughput under load.
- 3Check peak memory and task success. Measure draft acceptance, power and disk I/O when available.
Start with the model, machine, and workload you plan to use. Sweep the settings in the left panel and measure the same requests on the right. An engine benchmark can isolate prompt processing and generation. A streamed server request measures what you actually wait for. Finish with a real task and a result you can check.
Speaker notes · 21 seconds
Use the checklist as a reference. Point to one setting to sweep, the wait for the first token, and a task-level check. The panel also records peak memory, decode speed and failures.
| Setting or metric | What to vary or record |
|---|---|
| Sweep · Weight quantization | Compare the exact quantized files for one checkpoint with a higher-precision reference. Log the quantization recipe and file size. |
| Sweep · KV cache | Compare supported key and value precisions independently of weight precision. Record cache size and placement. |
| Sweep · Context length | Vary actual input tokens and occupied context from short prompts to long histories. Record the configured limit separately. Check long-context task quality and truncation. |
| Sweep · Batch and microbatch | Vary the logical prompt batch and the physical microbatch where the runtime exposes both. Track peak working memory as well as throughput. |
| Sweep · MTP and other drafters | Start with speculation off. Keep the target weights fixed and compare supported methods, draft length, and any acceptance threshold. |
| Sweep · Request concurrency | Compare one request with the expected number of simultaneous requests. Keep this distinct from prompt batching. Reuse the same arrival pattern and mix of input and output lengths. |
| Sweep · Placement and runtime | Compare GPU-resident and supported offload or SSD modes. Vary GPU layers or expert and KV residency when offered. Compare runtime, kernel, or Flash Attention changes in a separate sweep. |
| Sweep · Cache reuse | Separate cold model load, a resident model with a fresh prompt, and a repeated prefix or resumed chat. Record whether the prefix was reused and, for SSD serving, whether the file cache was warm. |
| Measure · Prefill speed | Record prompt evaluation time and processed input tokens per second. Record cached and newly evaluated tokens separately. |
| Measure · First token and full request | Measure request send to first streamed token (TTFT), and send to completion. Client timing includes waiting and overhead. Record cold load separately where available. |
| Measure · Decode speed and stream gaps | Record generated tokens per second after the first token and the gaps between streamed chunks. One speculative chunk can deliver several tokens. Report median and tail latency, such as p95 when the sample is large enough. |
| Measure · Total throughput | Under concurrent load, report output tokens and completed requests per second across the server. Record errors, timeouts, and how many requests met the latency target. |
| Measure · Peak memory | Record peak RAM and VRAM or peak unified memory, during prefill and decode when possible. Note paging or out-of-memory failures. |
| Measure · Task success | Use the same tasks and pass criteria. Check correctness, long-context retrieval, or tool and test success. Record time and generated tokens per completed task and count failures, retries, and truncated outputs. |
| Measure · Draft acceptance | When the server exposes them, record accepted and proposed tokens and accepted tokens per verification step. Compare with end-to-end speed and extra memory to assess the benefit. |
| Measure · Power and I/O | For sustained or SSD-backed runs, record disk reads, power or energy per task, temperatures and throttling where available. Keep concurrent machine activity comparable. |
Read the worked example in the full guide
Further reading
Part 2 · Running locally37 / 51
Matching models to hardware
Match the model’s working memory to the hardware.
- 1Keep dense models GPU-resident.
- 2Add system RAM for larger MoE models.
- 316 GB · test Inkling Q2 at 64K · Q8_0 cache ≈ 1.15 GiB
- 424–32 GB · test Inkling Q4 at 64K · check peak prefill memory
These four setups assume one agent session. Ollama’s guidance for OpenCode calls for at least 64K tokens. At that context, a Q8_0 cache for both keys and values takes about 0.47 GiB for Muse Glimmer, 1.15 GiB for Inkling 2 Mini and 2.125 GiB for Qwen3.8-27B. These estimates assume compact sliding windows where applicable. Weights, other model state and runtime buffers also need room. On a 16 GB laptop, try Inkling’s Q2 weights only if a representative 64K prompt fits during prefill. Q4 weights are worth testing on 24 GB, with more headroom on 32 GB or above. If the 64K run does not fit, choose a lighter model or a machine with more memory.
Speaker notes · 25 seconds
Use 64K as the starting point for one OpenCode agent session. At 64K, Inkling needs about 1.15 GiB for Q8_0 KV, between Muse at 0.47 GiB and Qwen at 2.125 GiB. On a 16 GB laptop, test the Q2 weights. On 24 GB, test Q4. A 32 GB machine gives the runtime more headroom. Check peak memory and prompt speed with a long prompt because the attention backend can change when the cache format changes.
| Setup | Minimum | Sweet spot | Models | Working context |
|---|---|---|---|---|
| GPU workstation | 24 GB VRAM + 32 GB RAM | 32 GB+ VRAM + 64 GB+ RAM | Qwen3.8-27B / Muse Glimmer · dynamic Q4–Q8 when supported; Q8 needs more room, or less context. | 64–128K → 256K; Muse 64–128K |
| GPU workstation + high system RAM | 12 GB VRAM + 64 GB RAM | 24 GB+ VRAM + 96 GB+ RAM | Large MoE · Q2–Q3; Qwen3.8-Flash-Next | 64–128K → 256K |
| Lower-end Apple silicon laptop | 16 GB unified + Apple silicon | 24 GB+ + Unified memory | Qwen27 2-bit or Muse Glimmer IQ2 on 16 GB. Muse IQ3/Q4 when there is room on 24 GB. A 4B/9B Q4 model is another option. Inkling 2 Mini Q2 is a text-only trial. | Qwen with Q8 KV, 64K → 128–256K. Muse with Q8 KV, 64–128K. Inkling Q2 at 64K with Q8_0 KV only if peak memory fits. |
| Higher-end Apple silicon laptop / Mac mini / Studio | 24 GB unified + Apple silicon | 32 GB+ + 48 GB+ for Q8 | Qwen3.8-27B / Muse Glimmer · dynamic Q4–Q8 when supported; Q8 needs more room, or less context. Inkling 2 Mini Q4 with a loop-aware llama.cpp build. | Qwen with Q8 KV, 64K → 128–256K. Muse with Q8 KV, 64–128K. Inkling Q4 at 64K, one session. Compare Q8_0 and FP16 during prefill before extending context. |
Read the worked example in the full guide
Further reading
- Strata · pack sizes and RAM requirements
- Strata · supported hardware and installation
- Strata · Metal backend and SSD expert streaming
- Ollama · supported GPUs and drivers
- Ollama · Qwen3.8-27B Q4_K_M · 18 GB artifact
- Ollama · Qwen3.5-4B Q4_K_M · 3.3 GB artifact
- Ollama · Qwen3.5-9B Q4_K_M · 6.6 GB artifact
- MLX Community · Qwen3.8-27B 4-bit conversion
- MLX-LM · pinned HTTP server documentation
- Ollama · MLX engine and supported model tags
- Ollama · context length
- Ollama · local FAQ
- Unsloth · Qwen3.8 guide and November 11 update
- Unsloth · Qwen3.8-27B GGUF files and sizes
- MLX-LM · server cache precision options
- Strata · memory modes and Linux file-tier prefetch
- Qwen3.8-27B · native 262,144-token context
- Muse Glimmer · architecture and supported context
- InferSSD · supported models and platforms
- Slotstream · hardware results and limits
- Unsloth · Muse Glimmer GGUF files and sizes
- NVIDIA NeMo · Inkling 2 Mini attention and loop configuration
- vLLM · per-pass attention and convolution caches
- Unsloth · local setup and measured GGUF file sizes
- Unsloth · Inkling 2 Mini GGUF files
- Ollama · running OpenCode with a local model
- llama.cpp · GGUF quantization block layouts
- Unsloth llama.cpp · Inkling attention paths and measured working buffers
Part 3 · My research workflow38 / 51
A longer research task
What can the agent do while I’m away?
- Up nextScope & access
- LaterCheckpoints
- LaterReproducibility
- LaterReview
Speaker notes · 8 seconds
What can the agent do while I’m away?
Part 3 · My research workflow39 / 51
Choosing an agent harness
Hermes / OpenClaw: ongoing assistant work with tools and memory.
- 1OpenCode can carry a task from a project brief to a proposed change.
- 2In VS Code, keep the file and diff in front of you while you edit.
- 3An assistant harness can carry preferences and ongoing tasks between sessions.
A harness is the application around model calls: it assembles context, offers tools, checks permissions and keeps the task moving. My main division is OpenCode for long-running, larger tasks; VS Code for edit-focused or mixed coding work; and Hermes or OpenClaw for assistant work with saved memory. These are workflow preferences, not hard boundaries between what the tools can do.
Speaker notes · 22 seconds
Compare an interactive coding session, editor-based review, and ongoing assistant work. The choice depends on which decisions I want to make while the agent works.
Read the worked example in the full guide
Further reading
Part 3 · My research workflow40 / 51
Before I step away
I agree on the goal, access and stopping point before a longer run.
- Expected behavior
- Allowed access
- Pause condition
- Evidence to return
For a longer task I specify the change I want, the files and tools the agent may use, and the evidence I want back. I set a checkpoint where an assumption could change the scientific meaning of the work.
Speaker notes · 56 seconds
For example, ask for a time-shifted control that preserves missing observations. Let the agent work on a branch against a small sample. Ask it to pause if aligning the tracks requires a decision about gaps or changes to the input data. I can step away during implementation and return to a proposed change, a test result and an output I can inspect.
Further reading
Part 3 · My research workflow41 / 51
A longer research task
When should I check in?
- CoveredScope & access
- Up nextCheckpoints
- LaterReproducibility
- LaterReview
Speaker notes · 7 seconds
When should I check in?
Part 3 · My research workflow42 / 51
When the context window fills
Compaction carries the useful task state forward as a summary.
- 1Messages, reasoning and tool output accumulate while the agent works.
- 2The next step needs room in the context window.
- 3Compaction summarizes older work and replaces it in the next request.
- 4Continue from the summary; retrieve exact details from project files.
An agent’s history grows with each step. Before it runs out of room, compaction summarizes the older work: the goal, decisions, constraints and next action. That summary replaces the older messages in the active context. A 64K working context plus compaction is a reasonable starting point here; the Qwen examples support up to 256K native context. Use more when the task needs it.
Speaker notes · 32 seconds
Follow the growing tool history into compaction. I keep commands, decisions and exact changes with the project so the agent can recover details after the conversation has been summarized.
Read the worked example in the full guide
Further reading
Part 3 · My research workflow43 / 51
A longer research task
Could someone else rerun this result?
- CoveredScope & access
- CoveredCheckpoints
- Up nextReproducibility
- LaterReview
Speaker notes · 7 seconds
Could someone else rerun this result?
Part 3 · My research workflow44 / 51
Could a colleague rerun this?
A clean rerun tests whether the setup is actually reusable.
- Environment, input, command
- Clean setup
- Independent rerun
- Compare outputs
Ask an agent to capture the software environment, a small known input, and one command that produces the output. Then try that command in a fresh environment and compare the output with an agreed expectation.
Speaker notes · 47 seconds
A useful handoff is a runnable project. Have the agent record software versions, how to obtain the input and any relevant seed or tolerance. Keep those records with the code. A fresh checkout can reveal a missing dependency or a file that only existed in the original working directory. A matching rerun establishes repeatability for that case. The scientific assumption still needs review.
Further reading
Part 3 · My research workflow45 / 51
A longer research task
Does the change answer the research question?
- CoveredScope & access
- CoveredCheckpoints
- CoveredReproducibility
- Up nextReview
Speaker notes · 7 seconds
Does the change answer the research question?
Part 3 · My research workflow46 / 51
Make verification routine
Tests, CI, and pull requests are now practical for small research projects. They are my default for agent-written changes.
Give every agent-written change a test, a repeatable check, and a review.
- 1Agent setup · Add the test, configure CI, and open a small pull request.
- 2Tests · Check that a shifted track preserves missing frames. Reproduce the bug before fixing it.
- 3CI · Run the same test command locally and on every push to the PR.
- 4Pull request · Review the code, the checks, and an example output before merging.
Setting up tests, CI, and pull requests used to take enough effort that it was easy to skip them on small projects. A coding agent can write the first regression test, wire the same test command into CI, and prepare a small pull request with its results. That makes this my recommended default for updating and maintaining code with agents. I still define the expected behavior, review the diff and a representative output, and decide when to merge.
Speaker notes · 47 seconds
Follow one change through a failing regression test, a passing fix, and the same command in continuous integration. Version control and a small pull request make the change inspectable even on a one-off project.
Read the worked example in the full guide
Further reading
Part 3 · My research workflow47 / 51
Would you trust this change?
A proposed change becomes useful when you can check it.
- 1Delegate a bounded task on a branch.
- 2Run useful tests and CI on the proposed change.
- 3Review the diff, outputs and scientific assumptions.
- 4Keep a sound change—or revise, test and review again.
My workflow is increasingly to describe the task in OpenCode, review the proposed change in a GitHub pull request, and use tests and CI to catch regressions. I still check what the code means: units, missing data, null models and the assumptions behind the analysis.
Speaker notes · 43 seconds
Focus on the judgment call. A passing test can encode the wrong assumption. Inspect the change and a sample output before deciding whether to merge or ask for a revision.
Read the worked example in the full guide
Further reading
Part 3 · My research workflow48 / 51
Back to the food patch
From a question about a food patch to a testable change in the analysis.
- 1A model predicts one token and adds its new keys and values to the cache.
- 2Fit weights, cache and working memory on the machine. Leave room for other jobs.
- 3A harness can propose the control. Use tests and scientific judgment to review it.
A model generates tokens using learned weights and a changing KV cache. Local performance depends on matching the model and settings to the hardware. A harness adds tools and a task loop; reviewing the result remains part of the work.
Speaker notes · 12 seconds
Return once to the opening picture. A change that runs and passes its tests is ready for scientific interpretation. What does the control let us distinguish?
Read the worked example in the full guide
Further reading
Part 3 · My research workflow49 / 51
Try it on one task you know
Use the setup prompt with ChatGPT or Claude—and start with one real task.
- 1Bring your machine’s specs and one task whose result you know how to check.
Start with one task you already understand. Use the setup prompt with ChatGPT or Claude, follow the official documentation, and keep a working configuration you can return to.
Speaker notes · 12 seconds
The guide includes a setup prompt you can take away. Start with a task whose result you already know how to check.
Help me set up a useful local AI system for my work. Guide me one step at a time, explain each important setting in a sentence, and use current official documentation rather than guessing commands or model support.
First ask me about:
- My operating system, Apple chip or GPU model, unified memory or GPU VRAM, system RAM, free disk space, and what else needs to run.
- My main tasks: chat, coding, research, long agent tasks, or an assistant with memory; the kinds and sizes of files I use; and whether speed, quality, context length, or keeping data local matters most.
- Any model server or harness I already use. Ask only for information needed for the next decision.
Then help me:
1. Choose a model and exact quantized download that fit my hardware and tasks. Use the Hugging Face model card and file list to verify the artifact, license and runtime compatibility. Consider Qwen3.8-27B, Muse Glimmer, Inkling 2 Mini, or a smaller current alternative, but verify availability and support. Explain dense versus MoE, total versus active parameter count, weight quantization and the memory needed for the weights, KV cache or recurrent state at my intended context and session count, temporary work, and room for other apps. For Inkling 2 Mini, account for the separate cache per loop pass and verify how the runtime allocates its sliding-window layers.
2. Choose a server. Compare ordinary in-memory serving (Ollama, llama.cpp, MLX-LM), RAM/VRAM MoE tiering (Strata), and SSD expert streaming (Strata, InferSSD, Slotstream on supported setups). Start with in-memory serving when the model fits. On Apple silicon compare direct MLX-LM when useful. Explain latency, capacity and model-support tradeoffs. For a compatible MoE model, also consider Strata: verify its supported model pack/backend, expert cache and CPU/GPU split, RAM/SSD budget, KV streaming and expert prefetch support. Explain GGUF as a model-file format and MLX as Apple’s computation framework; MLX-LM supplies model tools and a server. Distinguish those from the harness. Check support for this exact model and hardware.
3. Get a small request working and confirm actual GPU use. Save the model identifier, versions and settings. Do not assume the defaults match my workload.
4. Tune one setting at a time: model size/weight precision (prefer a compatible calibrated dynamic quant; check model-specific IQ1 through Q8 options); context length; KV-cache precision (Q8 as the working assumption where supported, FP16 for higher precision); Flash Attention where supported; prefill batch size; concurrent requests; and multi-token prediction (MTP), a form of speculative decoding, and its draft length if compatible. Check whether it needs explicit enabling. Explain what each changes, its memory/speed/quality tradeoff, and how to undo it. Use the SAME compatible artifact when comparing speculation off and on.
5. Compare a short repeatable task before and after each change. Record memory use, time to the first token, output speed and answer quality; distinguish loading, prefill and decode. Use my actual results to decide what to keep. Do not invent measurements or promise a speedup.
6. Connect a harness suited to the work: OpenCode for long-running larger coding tasks, VS Code for edit-focused or mixed coding work, or an assistant harness such as Hermes/OpenClaw for ongoing tasks and memory. Explain which tools it can run, where files are edited, permissions, what fills context, compaction, and how saved memory differs from the KV cache. For an OpenCode agent, configure at least 64K context in the server and harness. At one session, compare FP16 and Q8_0 KV where supported. Measure peak memory and prompt-processing speed with a representative long input. Use compaction as the history fills.
7. For coding, start with one small task, a branch and a pull request. Add useful tests/CI, then help me review the diff, output and scientific assumptions. If I want another device to access the server, identify the model server, tool host, and client, then connect over a private authenticated link.
Give me one recommended starting configuration and the official links that support it. If I am buying a machine, ask my budget and other research software requirements, then compare GPU VRAM versus unified memory, bandwidth, system RAM, CPU/PCIe needs for offloading, storage, power/cooling and upgradeability. Consider an existing shared workstation before recommending a purchase. Begin with the hardware and task questions, then wait for my answers before giving installation commands. Compare practical minimum and sweet-spot hardware, including Unsloth Dynamic v3.1 2-bit Qwen3.8-27B and Muse Glimmer. Separate weight-file size from total runtime memory, recommend an initial context and cache precision for the exact backend, and reserve OS, prefill and draft-model headroom.
Read the worked example in the full guide
Further reading
Part 3 · My research workflow50 / 51
Check the date on setup advice
Keep the mental model. Recheck the setup.
The names and defaults change. The method carries over.
- 1Models and tools are evolving together.
- 2New servers change which models can fit.
- 3Keep the mental model. Recheck the setup.
Ollama’s desktop app arrived in July 2025; OpenCode 1.0 in October 2025; Qwen3.8 in August 2026; Strata’s 0.2 app and engine packaging in October 2026. Unsloth updated its Qwen3.8-27B Dynamic v3.1 quantizations on 11 November; QwenCloud lists Qwen4-Max on 16 November. Treat setup advice as a dated starting point and compare changes on your own tasks.
Speaker notes · 15 seconds
I’m one researcher with a changing setup. I may have switched tools by next week. The longer-lived habit is to check the current options against the same task.
Read the worked example in the full guide
Further reading
Part 3 · My research workflow51 / 51
A regular AI meetup for the group?
What would be worth comparing at a regular meeting?
- My current setup
- A tool you tried
- What you learned
- A regular group meetup?
I’m one researcher still figuring this out. I’d like to hear which tasks people in the group have tried, what held up, and whether meeting regularly would help us learn from each other.
Speaker notes · 90 seconds
Give the floor to the group for the final 90 seconds. Invite one experience that worked and one that fell short. Ask whether people would like a regular AI meetup and what they’d bring to the first one. I’d be happy to help organize it.