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

- **GitHub URL**: https://github.com/molinx-ai/Neso
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: Python
- **License**: See repository
- **Engineering Health**: B (54/100 · Maintenance 35/35 · Adoption 2/25 · Releases 11/20 · License 6/20)
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: GPU, CLI, MCP, Local AI
- **Momentum**: 87 ★ total (+45 24h / +45 7d) · 1 forks
- **When to Use**: Best for: Robotics researchers comparing tool-using LLMs and RL-trained checkpoints across simulator tasks, distribution shifts, and robot embodiments with a shared rollout harness. Skip if: You need a validated real-robot controller, high success on unseen goals, straightforward single-service deployment, or clear commercial licensing out of the box.

## Overview
```text
### Architecture & Core Mechanics
Neso is a research stack for closed-loop robot manipulation. Codex runs the agent loop: a model receives a task instruction, RGB observations, and robot state, issues end-effector commands through robot MCP, then uses execution feedback to choose its next action. The local checkpoint path adds a Responses-compatible adapter and model catalog in front of SGLang; the existing Codex-provider path bypasses both. LIBERO and RoboDojo run through their own Python environments, selected via interpreter settings rather than by importing both simulators into the main environment.

The Python runtime lists `mcp==2.3.0`, `aiohttp`, `uvicorn`, NumPy, SciPy, Pillow, and `jsonschema`. `tools.run_mcp_server` serves one interactive episode; `tools.run_rollout` owns the simulator, MCP server, and temporary Codex home for each batch episode. `tools.build_codex_plugins` packages triangulation and RGB-D grounding capabilities. Batch rollout configures the required sensors and connection descriptors; interactive plugin use requires both to be configured separately.

### Key Capabilities & Differentiators
Neso-27B uses Qwen3.8-27B and on-policy RL on LIBERO-Spatial without expert demonstrations. Its three-stage approach rewards verifiable physical progress, unlocks full tasks as prerequisite grasping and placement skills improve, and later disables context compaction, terminates stalled rollouts early, and shifts supervision from turns to trajectories. Post-training took approximately 1,000 H100-equivalent GPU-hours, normalized by theoretical peak throughput from runs on 32 H20 GPUs. Neso-4B uses Qwen3.5-4B, supervised distillation on about 18,000 successful 27B rollouts, and further on-policy RL. The Neso-18K dataset includes visual observations, reasoning traces, tool calls, and execution feedback.

The 4B model scores 71.6% on LIBERO-Spatial versus 70.6% for 27B while using fewer inference tokens. The 27B model leads on Spatial-PRO (68.2% vs. 59.2%), LIBERO-Goal (30.4% vs. 26.6%), and Enhance L3 (36.0% vs. 20.0%). Transfer from single-arm Franka to dual-arm ARX X5 is uneven: 27B achieves 60.0% on RoboDojo General Pick-up but 25.1% across three tasks. An OpenArm example demonstrates physical execution without further training, but the available results do not establish a complete physical-robot success rate.

### Trade-offs & Limitations
Neso-27B trades base-task success for a smaller robustness drop in the supplied comparison. π₀.₅ and Fast-WAM score 98.2% and 96.6% on original Spatial, against Neso-27B's 70.6%. On Spatial-PRO, Neso-27B reaches 68.2% versus π₀.₅'s 68.0%, nearly tied in absolute terms despite drops of 2.4 and 30.2 percentage points, respectively. Enhance L3 favors Neso-27B at 36.0% versus 4.0% for π₀.₅, but the level has just 25 episodes. For adoption, prioritize absolute success on your task distribution over the robustness drop alone; do not treat the OpenArm example as a reliability estimate.

Using an existing Codex provider removes the GPU serving stack, but retains simulator setup and episode orchestration. Local serving gives you control over checkpoint selection and context settings at the cost of operating SGLang, the adapter, and their session lifecycle. The adapter's default 300-second idle expiry can clear a session even during generation; full history can rebuild it. An unspecified repository license is also a procurement issue: verify terms for code, weights, data, and simulator assets separately before commercial use.

### Hardware & Deployment Guide
The documented setup uses Python 3.12 and a Codex CLI with plugin and hook support. Clone with submodules, then provision the simulator environments and assets separately. Set `LIBERO_PY_EXECUTABLE` for LIBERO, or `ROBODOJO_ROOT` and `ROBODOJO_PY_EXECUTABLE` for RoboDojo; `--simulator-python` can override interpreter selection. The installation command uses `pip install -e .`, but the supplied root tree shows no `pyproject.toml` or `setup.py`; verify editable installation on the exact checkout before automating it.

Local checkpoint serving uses a Linux GPU host with SGLang on loopback port `18000` and the Neso adapter on `18001`; the adapter is the only path that needs the pinned Slime submodule. Interactive sessions run robot MCP separately on `18002` with a bearer token, while batch rollout allocates and tears down its own MCP servers. The existing Codex-provider path keeps its normal login and skips local model serving. No minimum VRAM is given; size for checkpoint, context and image history, concurrency, and simulator contention. No tagged release is listed, so pin a tested commit and its submodule revisions for repeatable deployments.
```

## Key Capabilities
```text
- Control loop: Task instructions, RGB observations, and robot state drive end-effector commands, with execution feedback informing the next turn.
- Backend separation: Robot MCP works with either an existing Codex model or a Neso checkpoint served by SGLang through a Responses-compatible adapter.
- Training design: Neso-27B uses physical progress signals and a prerequisite-based curriculum; Neso-4B distills approximately 18,000 successful trajectories before further RL.
- Evaluation isolation: The batch runner creates a simulator, MCP server, and temporary Codex home for each episode, assigning MCP ports automatically.
- Geometry integration: Triangulation and RGB-D grounding support both simulators; RoboDojo's combined RGB-D triangulation pipeline is selected through task JSONL.
- Robustness profile: Neso-27B scores 70.6% on Spatial and 68.2% on Spatial-PRO, alongside 60.0% on RoboDojo General Pick-up but only 25.1% across three RoboDojo tasks.
```

## Quick Start / Clone
```bash
git clone --recurse-submodules https://github.com/molinx-ai/Neso.git
cd Neso
python3.12 -m venv .venv
source .venv/bin/activate
pip install -e .
```
