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.
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.
- Single-GPU Real-Time Loop: Runs in FP8 at 136 ms average step latency and 14.1 GB peak VRAM on one RTX 5090 D v2 alongside a live 3D application.
- SASH Two-Timescale Memory: Combines a sliding upper sash of 15 reasoning episodes with a sawtooth lower sash of 120 recent frames (24 s at 5 Hz).
- O(1) Sawtooth State Snapshots: Snapshots Qwen3.5 Gated DeltaNet recurrent states at thought promotions and shifts RoPE positions in ~5 ms without re-encoding images.
- Adaptive Thinking Tokens: Uses <|thought_start|> and <|action_start|> delimiters, forcing a reasoning step if 119 consecutive instant actions pass.
import { createAgent } from '@smoke-monkey/harness';// Orchestrate Lumine 2 SASH inference server from Smoke Monkey Harnessconst 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);
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 Profile | Average Step Latency | Peak VRAM | SASH / Runtime Notes |
|---|---|---|---|
| 1x RTX 5090 D v2 (co-located) | 136 ms | 14.1 GB | Runs FP8 model + live rendered app on 1 GPU |
| Remote 1x H100 | 77–100 ms | 14.2 GB | Adaptive Thinking (--reasoning-history-rounds 15) |
| Remote 2x H100 (TP=2) | 69–73 ms | 9.0 GB / GPU | Tensor-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).
- Choose the Right Checkpoint:
LumineResearch/Lumine2reproduces paper benchmarks but defaults to Chinese internal thoughts;LumineResearch/Lumine2-ENthinks in English when given an English system prompt and UI. - 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. - 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:
# 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# 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"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 guidesBest Open Source Coding Agents in 2026: Free, Local & Fully Hackable Harnesses
MCP Server Security Best Practices: Hardening Model Context Protocol Agents in 2026
Open Source Coding Agent Harness: Build a Forkable, Local AI Engineering Runtime
Build with Smoke Monkey Harness
Zero dependencies. 24 built-in tools. Human-in-the-loop safety. 100% open source under the MIT License.