Desk-Side Mini PC Runs 24/7 Local AI Agent with 128GB Unified Memory
The article details building a 24/7 local AI agent using an ASUS ProArt GR1X mini PC with NVIDIA RTX Spark's 128GB unified memory, deploying Qwen3.8-Flash-Next, connecting via Feishu for remote control, demonstrating a 5-round video creation workflow, and enabling local SFT/GRPO fine-tuning.
Reading font

Building a Local Compute Node with ASUS ProArt GR1X
The author places an ASUS ProArt GR1X mini PC on the desk corner, running 24/7 and connected to Feishu (Lark). At 1:49 AM, after leaving the computer, a phone message triggers the local agent to rename images and videos, completing the task in about one minute. The GR1X is compact, roughly the span of a hand, and sits next to a laptop without taking much space.
This setup gives the agent an independent asynchronous host: the large model resides locally, automation toolchains run continuously in the background, and engineering files plus execution logs stay on the local disk. When the laptop is closed, the agent continues tasks remotely.
No trial-and-error cost: Agent code generation often errors and retries dozens of rounds; local inference avoids per-token billing, so extra runs are free.
Data stays local: Scripts, assets, and logs remain on the local drive, never passing through third-party cloud APIs.
Configuring a Local Multimodal Large Model
The key constraint for local model selection is VRAM size, which determines maximum parameter count and context length. The GR1X carries an NVIDIA RTX Spark chip providing 128GB unified memory (CPU+GPU physically shared), equivalent to four RTX 5090 32GB cards. By comparison, mainstream RTX 5070/5080 offer 12–16GB, and even the flagship RTX 5090 only 32GB.
With 128GB, the author deploys Qwen3.8-Flash-Next , chosen primarily for native multimodality : a single model handles text, code, images, and video without deploying separate vision models.
Model Specifications
Architecture: MoE, main model ~125B params, ~6B active per token; plus ~51B N-gram embedding and ~4B MTP params, total ~176–180B.
Context: Native 262,144 tokens, extendable via YaRN with framework support.
Multimodal benchmarks: ClawEval-MM Pass@3 64.4; LVBench long-video understanding 76.6.
Inference Speed Benchmarks (llama.cpp, IQ4_XS quantization, MTP speculative decoding, 3 runs avg, 400 tokens each)
Free generation: 42.94 tokens/sec
Long-text rewrite: 48.31 tokens/sec
Code rewrite: 57.52 tokens/sec
The RTX Spark's GPU compute and unified memory bandwidth, combined with MTP speculative decoding, push the 100B+ MoE model above 57 tokens/sec on code rewrites, keeping agent responses snappy during long-horizon tasks.
Tutorial 1: Local inference and MTP acceleration deployment: https://datawhaler.feishu.cn/wiki/BorHw0zSyi2Ecdk0zc1cnxC5nDh
Connecting Feishu for Remote Control of RTX Spark
After the model runs locally, integrating with Feishu takes two steps.
Step 1: Let Codex Drive Local Qwen
The author provides a local Codex installation guide.
Tutorial 2: Local Codex installation: https://datawhaler.feishu.cn/wiki/N3lTwoFEHiq0Wykp9xJcYV91nRc
After installing Codex, configure the local model service in ~/.codex/config.toml (Windows: %USERPROFILE%\.codex\config.toml):
model_provider = "local_qwen"
model = "your_model_service_model_name"
[model_providers.local_qwen]
name = "Local Qwen"
base_url = "http://127.0.0.1:port/v1"
wire_api = "responses"Interface detail: Codex requires the OpenAI Responses API; if the inference server only offers Chat Completions, add a compatibility layer. Test with a simple file-read task to verify tool calling works.
Tutorial 3: Codex desktop custom model configuration: https://datawhaler.feishu.cn/wiki/KHpjw99jRiVVmHkJeuVccnSpnLg
Step 2: Bridge Feishu for Remote Messaging
Using the open-source project feishu-codex-bridge , connect a Feishu bot directly to the host's Codex or Claude Code. Verify permissions and event subscriptions in the local console.
Once connected, sending a message to the bot spawns a project management card in Feishu; project creation and group setup happen inside Feishu. Inside the project group, sending /model switches to Qwen3.8-Flash-Next (effective next turn).
Result: Feishu becomes the remote entry point. A phone message wakes the desk-side host, which executes the task and posts results back to the group.
Local Agent Video Creation Workflow
Example: producing a short animated video "What is Datawhale". The host runs autonomously; the author only sends 5 rounds of messages via mobile Feishu, watching the agent iterate code scaffolding and video output.
Tutorial 4: Complete 5-round video creation prompts: https://datawhaler.feishu.cn/wiki/DGriwwLXKiXrK3ko4GRclk0KnUh
Round 1: Zero-Template First Version
No template provided. The agent inspects the local environment, writes a frame-by-frame Python/Pillow rendering script, uses system TTS for narration, and wraps with FFmpeg, outputting a beige paper-card style first cut.
Round 2: Real Assets and Motion Effects
First version used solid blocks and heavy text. A phone reply asks to add real assets from the official site and community. The agent fetches webpage screenshots, event photos, and logos, rewrites the rendering script, replacing blocks with shadowed, tilted photo-card animations.
Round 3: Add Coverage, Adjust Pacing
Request to include third-party media coverage, expand on representative open-source projects, and remove the one-minute limit. The agent retrieves reports and tutorial covers, realigns narration and shot-cut timing.
Round 4: Verify Sources, Cite Scope
When claiming "community once entered global open-source Top 20", the author explicitly instructs "verify sources first". The agent checks the original report's provenance, release date, and statistical dimensions, annotating the scope in both visuals and voiceover, avoiding conflation of historical honors with current status.
Round 5: Upgrade to 1080p, Polish Details
Earlier rounds left some screenshots blurry. Final instruction: rewrite rendering pipeline — canvas to 1080p, swap in high-res originals, add push-in close-ups for long screenshots, fine-tune audio pauses and outro, export final cut.
Across 5 rounds, the author only steers direction and quality-gates; the desk-side agent handles all execution. Crucially, the agent leaves behind the complete frame-rendering scripts, audio-visual alignment logic, Chinese typography rules, and FFmpeg commands in the local directory. Future similar animations reuse these by tweaking parameters.
Continuous Model Evolution on RTX Spark
Beyond reusable video scripts, the machine enables local fine-tuning and preference alignment . Full recursive self-improvement (RSI) on a single desktop is unrealistic, but a practical path exists: collect real correction feedback from daily workflows, run lightweight or customized model fine-tuning/alignment locally, gradually adapting the model to personal habits.
This works because the hardware architecture is general-purpose: the GR1X's NVIDIA RTX Spark shares the same architecture as the DGX Spark used in earlier single-machine full-lifecycle experiments — same CPU/GPU 128GB unified memory, same native CUDA software stack. Therefore, the training pipeline from the tutorial "One Device Walks You Through the LLM Full Lifecycle" runs directly on this desktop mini PC.
Open-source code at XiaokeAILabs: https://github.com/li-xiu-qi/XiaokeAILabs/tree/main/experiments/llm-lifecycle-fullchain/
The 5-round video interaction yields two high-value local training datasets:
1. SFT (Supervised Fine-Tuning) Correction QA Pairs
Each caught issue — "replace solid blocks with photo cards", "verify report statistics before writing", "upgrade canvas to 1080p" — paired with the agent's corrected code and response, forms ready-made prompt/response samples.
During SFT, apply Prompt Loss Masking : set prompt token labels to -100 in cross-entropy loss, so gradients only update on assistant replies. This teaches the model "under your constraints, what rules and style to follow" rather than memorizing prompts.
2. GRPO (Group Relative Policy Optimization) Verifiable Rule Tasks
Engineering tasks like "Python render script runs in one shot", "FFmpeg wraps without error", "video duration and format meet spec" have clear objective pass/fail criteria.
In the single-machine lifecycle experiment, the author uses GRPO without a Critic network : for each task, concurrently sample a group of candidates (e.g., --group-size 8), a local rule-based judge scores automatically, compute intra-group relative advantages to update policy, while a reference model's KL divergence constrains the baseline, preventing regression in general chat ability after fine-tuning.
The 128GB unified memory from RTX Spark is the key enabler . Cloud APIs only allow RAG or memory management, not weight updates. Conventional 16–24GB local GPUs easily OOM on GRPO (even though GRPO drops the large Critic value network of PPO), and at best train tiny models. With 128GB, AI experimentation becomes comfortable: deploy a sufficiently large, capable model locally, and simultaneously run SFT and GRPO on your own workflow data.
Right at your desk corner, a genuinely smart large model can be tuned to understand you better over time.
Closing Thoughts
A Feishu message from the phone wakes the office ProArt GR1X. The longer you use it, each piece of feedback becomes fertilizer for the next smarter iteration. Watching this quietly standing-by mini PC, one feels the tangible value of an AI PC that is always online, revolving around real workflows. AI is no longer just a flashing cursor on screen, but a concrete, 24/7 work buddy sitting at the desk corner.
For questions about attribution, corrections or content rights, please contactand we will review it promptly.