Architecture
~8 min readUpdated: December 2026

Lumine 2 Open 9B Agent: Real-Time 5 Hz Vision & SASH Memory

Lumine 2 Open 9B Generalist Agent and SASH Memory Pipeline in Smoke Monkey

Lumine 2 is an open-weights 9.65B generalist computer-control agent built on Qwen3.5-9B (8 full-attention + 24 Gated DeltaNet layers) under Apache 2.0. It perceives 720p frames at 5 Hz, emits keyboard and mouse actions at 30 Hz in 136 ms per step within 14.1 GB VRAM on a single RTX 5090, and sustains multi-hour sessions via SASH (Sliding-And-Sawtooth Hybrid) 128K context memory.

Technical Review: Smoke Monkey Core Architecture Team
Tested on Node.js 18+ & BunTypeScript 5.x
Quick Answer & Executive Definition

Lumine 2 Open 9B Agent: Real-Time 5 Hz Vision & SASH Memory: Lumine 2 is an open-weights 9.65B generalist computer-control agent built on Qwen3.5-9B (8 full-attention + 24 Gated DeltaNet layers) under Apache 2.0. It perceives 720p frames at 5 Hz, emits keyboard and mouse actions at 30 Hz in 136 ms per step within 14.1 GB VRAM on a single RTX 5090, and sustains multi-hour sessions via SASH (Sliding-And-Sawtooth Hybrid) 128K context memory. Designed as a zero-dependency, open-source TypeScript architecture under the MIT License with native Model Context Protocol (MCP) support and deterministic phase state machines.

Key Architectural Takeaways
Quick Implementation Examplelumine2-sash-bridge.ts
lumine2-sash-bridge.tstypescript
import { createAgent } from '@smoke-monkey/harness';
// Orchestrate Lumine 2 SASH inference server from Smoke Monkey Harness
const agent = createAgent({
agentId: 'lumine2-vision-controller',
provider: 'openai-compatible',
baseUrl: 'http://127.0.0.1:8000/v1',
model: 'LumineResearch/Lumine2-EN',
workspacePath: process.cwd(),
permissions: {
read_file: 'allow',
write_file: 'ask',
run_command: 'ask',
},
});
async function dispatchEpisodePrompt(objective: string) {
const result = await agent.run(
`Validate keybindings config and prepare SASH session for objective: ${objective}`
);
console.log('Prepared Lumine 2 session:', result.summary);
}
dispatchEpisodePrompt('Navigate UI workflow and verify target checkpoint').catch(console.error);
Video Guides

Watch: Related Video Guides

What Is Hugging Face and How To Use It

Hugging Face Open-Sourced A Tool for Monitoring AI Agents (safeagents)

What Is Lumine 2 and How Does SASH Context Memory Work?

Lumine 2 (LumineResearch/Lumine2, 9.65B parameters) is an open Apache 2.0 vision-to-action agent fine-tuned from Qwen3.5-9B on 10K+ hours of gameplay and 288 hours of human-annotated reasoning traces. It completes full AAA storylines—including *Cyberpunk 2077* (23.7 h) and unseen *Phantom Liberty*—and generalizes across 35 environments (14 unseen).

To run indefinitely without pausing to summarize history, Lumine 2 introduces SASH (Sliding-And-Sawtooth Hybrid) memory over a 128K window:

  • Upper Sash (Sliding): Holds up to 15 reasoning episodes; when full, the oldest episode slides out and attention cache RoPE offsets shift in ~5 ms instead of re-encoding pixels.
  • Lower Sash (Sawtooth): Buffers up to 120 raw 5 Hz frame-action turns (24 s). On any <|thought_start|> promotion—forced automatically after 119 action-only steps—the lower sash resets cleanly from a snapshotted Gated DeltaNet recurrent state.
Deployment ProfileAverage Step LatencyPeak VRAMSASH / Runtime Notes
1x RTX 5090 D v2 (co-located)136 ms14.1 GBRuns FP8 model + live rendered app on 1 GPU
Remote 1x H10077–100 ms14.2 GBAdaptive Thinking (--reasoning-history-rounds 15)
Remote 2x H100 (TP=2)69–73 ms9.0 GB / GPUTensor-parallel real-time serving

Action Vocabulary, Adaptive Thinking, and Lumine2-EN

Every 200 ms inference tick emits one mouse delta plus six 30 Hz key chunks separated by <|action_sep|> across an 85-key vocabulary (LB, RB, MB, A-Z, 0-9, F1-F12, modifiers, navigation).

  1. Choose the Right Checkpoint: LumineResearch/Lumine2 reproduces paper benchmarks but defaults to Chinese internal thoughts; LumineResearch/Lumine2-EN thinks in English when given an English system prompt and UI.
  2. Adaptive vs. Instant Mode: Adaptive Thinking keeps 15 episodes and 120 lower-sash frames (--force-thinking-steps 120), while Instant mode disables reasoning (--no-reasoning --action-window-frames 135) for pure reflex loops.
  3. Training Data Release: 8,788 hours of trajectories are open-sourced in LumineResearch/Lumine2-data, enabling custom UI-agent adaptation.

Isolate OS-Level Input Injection

Lumine 2 sends real OS keyboard and mouse events globally rather than scoping to one window handle. Always execute the client inside a sandboxed VM or dedicated test host.

Reproducible SASH Server and Client Launch Commands

Launch the Linux/WSL2 FP8 SASH inference server and connect the Windows screen-capture client:

bash
# Server (Linux / WSL2)
git clone https://github.com/LumineResearch/Lumine2.git && cd Lumine2/server
bash install.sh
bash start.sh --idle-reset-secs 3600 \
  --reasoning-history-rounds 15 \
  --action-window-frames 120 \
  --force-thinking-steps 120
powershell
# Client (Windows, 1080p at 100% display scaling, pointer precision disabled)
cd client
powershell -ExecutionPolicy Bypass -File .\install.ps1
$env:MODEL_API_URL="http://127.0.0.1:8000/v1/chat/completions"
.\.venv\Scripts\python.exe run.py --process-name "TargetApp.exe" --game "cyberpunk_2077_en" --instruction "Complete objective"
Google Search Questions & Answers

Frequently Asked Questions

Q:How does SASH memory prevent recomputation on Gated DeltaNet layers?

When a reasoning thought promotes to the upper sash, the SASH server snapshots Qwen3.5's recurrent Gated DeltaNet state so clearing the lower sash is a single memory copy, while sliding out old episodes compacts the attention cache and shifts RoPE positions in ~5 ms.

Q:Should I deploy Lumine2 or Lumine2-EN for English applications?

Use LumineResearch/Lumine2-EN for English UIs and English reasoning traces. The base LumineResearch/Lumine2 checkpoint matches the published benchmark numbers but defaults to Chinese internal thoughts even on English HUDs.

Q:What GPU hardware is needed to run Lumine 2 in real time?

Served in FP8 with SASH, Lumine 2 peaks at 14.1 GB VRAM and 136 ms per step on an RTX 5090, or 69-73 ms per step at 9.0 GB per GPU across 2x H100s.

Q:What happens if the agent stays in Instant action mode for too long?

In Adaptive Thinking mode, if the model emits 119 consecutive direct-action steps (~24 seconds at 5 Hz) without reasoning, the server injects <|thought_start|> on step 120 to prevent lower-sash overflow.

Related Alternatives & Comparisons

Related Architecture Guides

View all guides

Build with Smoke Monkey Harness

Zero dependencies. 24 built-in tools. Human-in-the-loop safety. 100% open source under the MIT License.

npm install smoke-monkey-harness