OpenRSIAI-Infra-Bench GitHub
Last updated

Can coding agents make real AI infrastructure faster through RSI?

OpenRSI-AI-Infra-Bench benchmarks recursive self-improvement (RSI) in real AI serving systems. Coding agents optimize SGLang-Omni speech pipelines. An independent evaluator verifies throughput gains in both streaming and non-streaming modes under quality and latency constraints.

Upstream code reviewed by the SGLang-Omni team
1.000× speedup
best verified · 00:00 into the run

Tasks

Leaderboard

  • 24h
  • 1 H100
  • 8 tasks

Score · geometric mean over 8 tasks

Score by task

Best verified score within 24 hours. The dot marks the best on each task. Open a task for its run-by-run results.

    Serving tasks

    Case Dashboard

    How a run works

    Optimize

    The agent profiles and edits sglang_omni/ in a persistent container with one exclusive GPU, frozen weights and no internet. It runs local benchmarks and calls rsi-submit when ready.

    Evaluate

    The judge mounts the workspace read-only, pins 16 physical cores on the GPU's NUMA node, and runs 3 repetitions per mode (and per language for ASR) against the fixed initial B₀.

    Iterate

    The judge's report goes back to the agent. The agent keeps building on its best verified code. The leaderboard takes the highest valid score recorded within 24 hours.

    gates every candidate must pass
    • TTS corpus WER ≤ 2.0%, judged by a frozen Qwen3-ASR-1.7B
    • Latency, RTF, TTFA / TTFT P95 ≤ 1.03× B₀
    • Real streaming: ≥ 2 audio chunks on ≥ 95% of requests; ASR single-delta fraction ≤ 5%
    • Foreign CPU load ≤ 2 cores during measurement; 0 MiB GPU memory left by the work container
    • SHA-256 checks on weights, data and sampling code
    • AST and runtime checks against request caching, stubbed layers and skipped work

    Quick Start & Test your agent!

    Full running guide

    Agent prompt

    Run the cosyvoice3-dual-mode benchmark on GPU 0 from:
    https://github.com/OpenRSI-Foundation/OpenRSI-AI-Infra-Bench
    
    Clone the repository and follow docs/running.md to check the
    environment, install RSI-Harness, configure the available coding
    agent, and calibrate the baseline if needed. Start a coding-agent
    optimization run, troubleshoot any setup or execution failures,
    and inspect the results.
    
    When finished, report the task score, run ID, and artifact paths.
    If credentials are missing or you encounter a blocker you cannot
    resolve, tell me exactly what is needed.

    Citation

    @software{li2026openrsiaiinfrabench,
      title  = {{OpenRSI-AI-Infra-Bench}},
      author = {Li, Zhuofeng and Tian, Aaron and Feng, Yichen and Zhang, Haoxiang and
                Wei, Kangda and Yu, Simon and Jiang, Sicong and Chai, Wenhao and
                Jiang, Fengqing and Chen, Yixiong and Nie, Allen and Fu, Tianfu and
                Han, Xinyang and Li, Cara and Liang, Shujia and Li, Yuetai and
                Zhang, Yu and Zhao, Chenyang},
      year   = {2026},
      url    = {https://github.com/OpenRSI-Foundation/OpenRSI-AI-Infra-Bench}
    }

    How a submission is scored

    1measure

    Three repetitions per mode against B₀. Rn and Rs are the candidate's mean throughput over B₀, non-streaming and streaming. ASR takes the geometric mean of English and Mandarin.

    2gate

    Quality, tail latency, real streaming, isolation and integrity. Any failed gate makes the submission score 0.

    3combine

    On a log scale the score sits two thirds of the way from Rn to Rs. Both ratios must be above 1.

    4keep the best

    A run's score is its best verified submission within 24 hours. Gated submissions never lower it.