# Repository Briefing: OpenMOSS/MOSS-ZETA
> Source: https://repoforai.com/repo/OpenMOSS/MOSS-ZETA (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/OpenMOSS/MOSS-ZETA
- **Official Docs / Website**: https://openmoss.ai/MOSS-ZETA/
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: Python
- **License**: See repository
- **Engineering Health**: B+ (64/100 · Maintenance 35/35 · Adoption 12/25 · Releases 11/20 · License 6/20)
- **Review Snapshot**: 2026-12-01
- **Deployment / Stack Signals**: CLI, API
- **Momentum**: 111 ★ total (+3 24h / +106 7d) · 11 forks
- **When to Use**: Best for: Teams evaluating closed-loop GTA V agents on Windows that can supply compatible Policy and Brain services and want to test controller timing and task-state handoff. Skip if: You need a turnkey offline agent with bundled weights, verified support for other games or operating systems, or a clearly licensed commercial distribution path.

## Overview
```text
### Architecture & Core Mechanics
ZETA splits GTA V control between a fast visual Policy and an external Brain that maintains task state. The Windows `harness/` layer captures observations, coordinates API calls and manages pause/resume. Policy receives the full frame, minimap, available OCR and recent interactions. Its response carries short gamepad actions and a decision about whether to keep the current judgment, update it locally, or request a stage review. The two services coordinate through the stage instruction, task memory and local reasoning.

The harness imports `cadence/` directly for action parsing, streaming execution and scheduling. Once a complete controller state arrives, execution need not wait for the rest of the model response. `infra/` handles serving and prefix preparation: within one service, one TP4 route generates while the other prepares a known prefix. An optional standby service is a different mechanism: it can take over after updated context is ready, rather than changing an active session mid-update.

### Key Capabilities & Differentiators
The demonstrated target is GTA V, with recorded examples spanning driving, pursuit, combat and water traversal. The Policy is initialized from Qwen3.5-9B and trained as an autoregressive controller in two stages. About 4,000 hours of human gameplay support action pretraining with 20-round windows. About 1,200 hours selected from that same corpus are annotated for instruction tuning, which adds task-conditioned reasoning and update decisions. Instruction tuning retains eight rounds when a window of up to 16 rounds advances, and repeated-action loss decay reduces the weight of long runs of unchanged inputs.

At runtime the retained history is reconstructed exactly when the default 16-round window rolls back to eight. The executor schedules actions in absolute 200 ms windows: early actions wait, late actions keep their original end time, and expired ones are discarded. Local task updates can be prepared alongside control; stage review requires a confirmed pause, state commit, and resume. By default, active gameplay has a 10-second fallback for refreshing memory, automatic refresh based on stage age is off, and the run has no response-count cap but does have a 40-minute wall-clock limit.

### Trade-offs & Limitations
Compared with a scripted gamepad bot, ZETA trades a simpler, more repeatable input path for visual feedback and task state that can carry across gameplay modes. Compared with a generic multimodal agent loop, it supplies the controller-specific timing layer such a loop would otherwise need to implement. The 200 ms figure is an execution schedule, not a measured model response time or an end-to-end latency guarantee. If inference slips, the scheduler limits how long stale input can persist by shortening late actions or discarding expired ones; it cannot recover the missed control time.

The dual routes overlap prefix preparation with generation, but the documented serving setup requires coordinating two GPU workers. Adding standby handoff introduces another service to operate. Using reachable endpoints instead of self-hosting Policy reduces infrastructure work on the game host, but latency and availability still matter on the live control path. The demonstrated integration is Windows and GTA V; other games and operating systems are not established. The repository license is unspecified, so verify source and asset terms before commercial adoption or redistribution.

### Hardware & Deployment Guide
Install Node.js 22+, Python 3.11 and ViGEmBus on the Windows GTA V host. Run `npm ci`, install `vgamepad` and the dependencies in `harness/requirements-ocr.txt`, and start local OCR with `py -3.11 harness/scripts/ocr_service.py --device cpu --warmup`. Configure your own Policy gateway URL (including `/v1`), Brain and OCR endpoints, and Policy and Brain model names. Supply keys only if required; no endpoints or credentials are bundled. Run `npm start -- --task "Follow the current on-screen objective."` from PowerShell. Ctrl+C stops the run and releases controller input.

For self-hosted Policy, `infra/docs/deployment.md` covers the matching runtime, two GPU workers and their gateway. The reference layout is one eight-H200 node with two TP4 routes; it does not establish a minimum hardware requirement. The gateway and independent Brain API must both be reachable from Windows. Model weights and compiled GPU extensions are separate assets, so cloning the repository is not enough for a live run. No tagged release is listed; use the checked-out revision as the basis for compatibility testing rather than assuming a published release baseline.
```

## Key Capabilities
```text
- Control inputs: Full frame, minimap, available OCR and recent interactions inform short gamepad actions.
- Task state: Stage instruction, task memory and local reasoning travel between Policy and Brain; only stage review requires a confirmed pause.
- Inference overlap: Two independent TP4 routes on one eight-H200 node overlap current-response generation with known-prefix preparation.
- Execution deadlines: The shared scheduler uses absolute 200 ms windows, preserving original end times for late actions and dropping expired ones.
- Context continuity: The default 16-to-8 history rollover reconstructs retained context exactly; optional standby handoff is a separate service mechanism.
- Verification: `npm test` and `npm run verify` are complemented by CPU and cadence checks for streaming, handoff and watchdog notifications.
```

## Quick Start / Clone
```bash
git clone https://github.com/OpenMOSS/MOSS-ZETA.git
cd MOSS-ZETA
npm ci
py -3.11 -m pip install vgamepad
py -3.11 -m pip install -r harness/requirements-ocr.txt
```
