### Clone and setup environment Source: https://github.com/aetherlabsai/rsiagent/blob/main/README.md Clone the repository and copy the environment template. Fill in OPENROUTER_API_KEY in .env. Paths default to this checkout and sibling benchmark directories. ```bash git clone https://github.com/AetherLabsAI/RSIAgent.git cd RSIAgent cp .env.example .env ``` -------------------------------- ### Install OSWorld benchmark Source: https://github.com/aetherlabsai/rsiagent/blob/main/README.md Install the pinned OSWorld release and its dependencies. Requires Python 3.12, uv, and a Linux host with Docker and /dev/kvm access. ```bash git clone --branch v2026.08.08 https://github.com/xlang-ai/OSWorld-V2.git ../OSWorld-V2 cd ../OSWorld-V2 uv sync --frozen uv pip install --python .venv/bin/python -r ../RSIAgent/requirements.txt source .venv/bin/activate cd ../RSIAgent ``` -------------------------------- ### Setup ALE and prepare OS images Source: https://github.com/aetherlabsai/rsiagent/blob/main/README.md Set up ALE with separate grader and worker environments. Each preparation downloads only the selected OS image; Linux requires about 167 GiB and Windows about 157 GiB. ```bash python3 scripts/setup_ale.py ../agents-last-exam/.venv/bin/python run_ale.py prepare --os linux ../agents-last-exam/.venv/bin/python run_ale.py prepare --os windows ``` -------------------------------- ### Install ALE environments with setup_ale.py Source: https://github.com/aetherlabsai/rsiagent/blob/main/docs/ALE.md Installs both isolated Python environments: the grader's .venv and RSIAgent's .venv-ale-worker. The default upstream checkout is ../agents-last-exam; use --ale-root to select another location. Refuses a mismatched upstream revision or lock and does not rewrite an existing development environment. ```bash python3 scripts/setup_ale.py ``` -------------------------------- ### Run OSWorld batch with --arm both Source: https://github.com/aetherlabsai/rsiagent/blob/main/README.md Inspect the full 108-task plan with --dry-run (prints the plan without starting VMs, making model calls, or writing outputs), then run the batch with --concurrency 1. Logs and task status are under results/batches//. A task failure stops its remaining phases; other tasks continue. Choose a new --name for each batch because existing outputs are never overwritten. ```bash python run_osworld.py --arm both --name osworld_run_01 --dry-run python run_osworld.py --arm both --name osworld_run_01 --concurrency 1 ``` -------------------------------- ### Run portable validation checks Source: https://github.com/aetherlabsai/rsiagent/blob/main/README.md Run portable validation checks without credentials, Docker, or benchmark installations. Requires Python 3.12 and the requirements-dev.txt file. ```bash uv venv .venv --python 3.12 uv pip install --python .venv/bin/python -r requirements-dev.txt .venv/bin/python tools/check_rsi_release.py ``` -------------------------------- ### Prepare Linux and Windows QEMU guests with run_ale.py prepare Source: https://github.com/aetherlabsai/rsiagent/blob/main/docs/ALE.md Prepares one OS at a time for the ALE integration. Use --cache to select storage for pinned images and writable VM overlays. Base disks require approximately 167 GiB for Linux and 157 GiB for Windows; allow extra space for downloads, overlays, and checkpoints. ```bash ../agents-last-exam/.venv/bin/python run_ale.py prepare --os linux ../agents-last-exam/.venv/bin/python run_ale.py prepare --os windows ``` -------------------------------- ### Prepare OSWorld assets and smoke test Source: https://github.com/aetherlabsai/rsiagent/blob/main/README.md Prepare benchmark assets and audit files, then check the VM. Keep this environment active for OSWorld batch commands. ```bash python tools/prepare_osworld_v2_release.py python tools/build_p2_corpus.py python tools/exam_fence.py build python tools/smoke_osworld.py --output results/smoke/osworld ``` -------------------------------- ### Plan and run ALE cohort with run_ale.py plan and run Source: https://github.com/aetherlabsai/rsiagent/blob/main/docs/ALE.md Plans and runs the full ALE cohort with no assignments or shards. --tasks file.txt optionally limits a debugging run to explicit task IDs, one per line; unknown IDs, duplicates, and empty selections are rejected. --concurrency limits task lineages and --vm-limit limits their shared VM pool; begin with one lineage when checking a new machine. ```bash ../agents-last-exam/.venv/bin/python run_ale.py plan --arm both ../agents-last-exam/.venv/bin/python run_ale.py run \ --arm both --output results/ale/run_01 --concurrency 2 --vm-limit 16 ``` -------------------------------- ### Run ALE batch with plan, run, and report Source: https://github.com/aetherlabsai/rsiagent/blob/main/README.md Inspect the cohort with plan, run the supported tasks with --arm both, and generate a report. Use a new --output directory for each run. The report contains tasks.csv and summary.json, keeps missing results explicit, and rejects duplicate scored attempts. ```bash ../agents-last-exam/.venv/bin/python run_ale.py plan --arm both ../agents-last-exam/.venv/bin/python run_ale.py run \ --arm both --output results/ale/run_01 --concurrency 1 ../agents-last-exam/.venv/bin/python run_ale.py report \ --runs results/ale/run_01 --output results/ale/report_01 ``` -------------------------------- ### Repository layout Source: https://github.com/aetherlabsai/rsiagent/blob/main/README.md Repository layout showing the main directories and their purposes. The two root entrypoints are run_osworld.py and run_ale.py. ```text run_osworld.py OSWorld batch entrypoint run_ale.py ALE preparation, execution, and reporting benchmarks/ osworld/ OSWorld stages, VM adapter, and evaluation ale/ ALE host, worker, and VM adapters core/ Shared Actor and Verifier runtime explore/ Curriculum, learning, memory, and recovery env/ Shared guest transport and isolation llm/ Model clients config/ Role profiles and benchmark configurations scripts/ Setup and individual-study helpers tools/ Preparation, smoke checks, and recovery utilities tests/ Regression tests docs/ Guides, architecture, and attribution ``` -------------------------------- ### Run ALE guest smoke tests with run_ale.py smoke Source: https://github.com/aetherlabsai/rsiagent/blob/main/docs/ALE.md Runs the synthetic guest smoke for each OS you intend to evaluate. Checks lossless nested memory transfer, project capture and replay, Verifier isolation, persistent scratch, candidate rollback, and fresh guest reset. Makes no model or grader calls; a smoke receipt is bound to the current source and runner image. ```bash ../agents-last-exam/.venv/bin/python run_ale.py smoke --os linux ../agents-last-exam/.venv/bin/python run_ale.py smoke --os windows ``` -------------------------------- ### Smoke test ALE for Linux and Windows Source: https://github.com/aetherlabsai/rsiagent/blob/main/README.md Check both guest types before running the full CPU cohort. ALE requires a successful smoke for each requested OS on the current source and runner image. ```bash ../agents-last-exam/.venv/bin/python run_ale.py smoke \ --os linux --output results/smoke/ale_linux ../agents-last-exam/.venv/bin/python run_ale.py smoke \ --os windows --output results/smoke/ale_windows ``` -------------------------------- ### Generate ALE report with run_ale.py report Source: https://github.com/aetherlabsai/rsiagent/blob/main/docs/ALE.md Generates the ALE report. tasks.csv records each task's baseline and RSI score and source result; summary.json reports observed coverage and missing tasks. A full-cohort mean is available only when all 67 official scores exist; duplicate scored attempts require explicit resolution. ```bash ../agents-last-exam/.venv/bin/python run_ale.py report \ --runs results/ale/run_01 --output results/ale/report_01 ``` -------------------------------- ### Cite RSIAgent arXiv preprint Source: https://github.com/aetherlabsai/rsiagent/blob/main/README.md BibTeX entry for citing the RSIAgent arXiv preprint (arXiv:2609.15364). ```bibtex @misc{zhu2026rsiagentautonomousexplorationrecursive, title={RSIAgent: Autonomous Exploration for Recursive Self-improvement in New Environments}, author={Sibo Zhu and Shicheng Fan and Xinyue Wang and Wenyi Wu and Kun Zhou and Biwei Huang}, year={2026}, eprint={2609.15364}, archivePrefix={arXiv}, primaryClass={cs.AI}, url={https://arxiv.org/abs/2609.15364}, } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.