Predict outcomes · Guide actions · Improve decisions
RSI-Anything connects world-model predictions, action selection, and external feedback to improve agents across computational and scientific tasks. Built on JEPA-Anything, it brings a shared improvement process to domains with different observations, actions, and evaluation criteria.
A policy proposes candidate actions, and a world model anticipates their consequences. Selected actions receive external feedback, which informs subsequent decisions and supports improvements retained across recursive iterations. This collection brings together the resulting inference resources and final checkpoints.
| Domain | Task focus | Guide |
|---|---|---|
| Code repair | Turn task requirements and execution feedback into correct programs. | Code repair |
| GUI interaction | Translate user instructions and interface observations into successful action sequences. | GUI interaction |
| Laboratory planning | Compose laboratory operations into plans that satisfy experimental goals and constraints. | Laboratory planning |
| Reaction optimization | Predict reaction outcomes from molecular inputs and candidate experimental conditions. | Reaction optimization |
| Immune science | Forecast intervention effects and use biological evidence to prioritize scientific hypotheses. | Immune science |
The agent receives a programming objective, a current implementation, and observed execution feedback. Its task is to produce a program that satisfies the specification while resolving errors exposed by the available tests. Candidate actions are complete solutions or revisions to the current program.
A world model predicts how each candidate is likely to behave, helping select which program to execute next. Execution returns concrete feedback, such as incorrect outputs or runtime errors, that guides further refinement. The output is a final program together with a record of the selected revisions and their observed behavior.
The agent receives a natural-language instruction and observes the current interface state. It chooses a sequence of actions, such as clicking controls, changing selections, and submitting forms, to complete the user's request. Each action can change both the visible interface and the remaining steps needed to finish the task.
The policy proposes actions from the current observation, while the world model predicts their consequences and likelihood of task completion. Interaction feedback reveals the next interface state and whether the goal has been achieved. The resulting action sequence is evaluated by successful completion and the number of actions used.
The agent receives an experimental objective, a laboratory context, available materials, operational constraints, and a library of permitted actions. It connects these actions into a coherent procedure, choosing an appropriate order and passing the outputs of earlier operations into later ones.
A successful plan reaches the experimental goal while respecting action signatures, resource availability, and procedural constraints. The world model reads the task and candidate procedures, predicts their quality and relative improvement, and estimates the risk of a worse outcome. These forecasts guide selection among structurally valid plans. Task evaluation provides feedback on whether the selected procedure achieves the requested outcome.
The collection also includes LabHorizon Level 1 3D Asset Perception, with 3,000 training and 200 test examples. Load it with the labhorizon_3d_asset_perception dataset configuration; usage.
The world model receives a chemical reaction specification, including reactants, reagents, catalysts, and an intended product. It predicts the expected reaction yield, providing a way to compare candidate conditions before experimental evaluation.
A JEPA model encodes the molecular inputs, predicts a latent reaction state, and maps that state to a yield estimate. The output pairs each reaction specification with its predicted outcome, supporting condition comparison and planning in an experimental workflow.
This domain connects immune-state forecasting with intervention analysis and scientific hypothesis generation. Inputs describe cellular, tissue, and individual immune contexts together with proposed interventions, such as cytokine changes, genetic perturbations, or candidate therapies.
An action-conditioned world model predicts how these interventions may change immune states and biological readouts. An analysis agent combines the forecasts with experimental evidence to compare interventions, revise interpretations, and prioritize hypotheses for further investigation. Scientific-agent workflow evolution supports the construction and refinement of this predictive analysis process.
Each domain guide describes its inference resources and usage. Open the guide for the task you want to run; the backbone download guide provides the upstream models used by code repair and GUI interaction.
The local inference examples run from this collection's root directory. The language-model entry points use Linux and CUDA-enabled PyTorch. Create a separate environment using the Python version and pinned dependencies in the relevant domain guide. Set paths for prepared task inputs and generated outputs:
cd RSI-Anything-Inference
export RSI_BASE_MODELS_DIR="$HOME/.cache/rsi_anything/base_models"
export INPUT_DIR=/path/to/inputs
export OUTPUT_DIR=/path/to/outputs
mkdir -p "$OUTPUT_DIR"Download the required backbone models to RSI_BASE_MODELS_DIR using the download guide. The default location is ~/.cache/rsi_anything/base_models. Code repair and GUI interaction load the downloaded backbones with their local adapters and predictive heads. Laboratory planning and reaction optimization load their local world-model checkpoints and predictive resources directly. Entry points save predictions to the supplied output paths.
RSI-Anything-Inference/
├── README.md
├── LICENSE
├── THIRD_PARTY_NOTICES.md
├── MODEL_INDEX.json
├── MANIFEST.json
├── _base_models/ # Backbone download guide and model licenses
├── code_repair/ # Program generation and revision
├── gui_interaction/ # Instruction-guided interface actions
├── laboratory_planning/ # World-model forecasts for experimental plans
├── reaction_optimization/ # Reaction yield prediction with a JEPA world model
└── immune_science/ # Immune intervention analysisMODEL_INDEX.json maps domains to inference entry points and checkpoints. MANIFEST.json records file sizes and checksums.
Project code is released under Apache-2.0. Model and component terms are listed in THIRD_PARTY_NOTICES.md.
RSI-Anything is under active development. We welcome collaboration on new domains, world models, evaluation tasks, and applications of recursive self-improvement. New methods, experiments, and checkpoints will be shared as the project develops. For collaboration or project questions, contact cty21@tsinghua.org.cn.