Ralph Wiggum Loop

io.github.sheldonrobinson由 GitHub 帳號 sheldonrobinson 發布v1.1.0更新於 Oct 27, 2026

Autonomous iterative AI development MCP server with spec-driven worker/reviewer SHIP/REVISE loops.

已驗證STDIO僅桌面開發者工具AI 與機器學習

概覽

AI 產生的概覽

本機 MCP 伺服器,執行自主迭代式開發迴圈:worker 模型實作規格,reviewer 模型給出 SHIP 或 REVISE 決定。

可以做什麼
  • 執行兩階段迭代開發迴圈,由 worker 模型負責實作、reviewer 模型進行跨模型審查,直到審查給出 SHIP。
  • 透過命令列以任務提示與 profile 驅動迴圈,或以 stdio、streamable HTTP 方式提供給助理呼叫。
  • 從設定的配方目錄載入工作流程配方,並在設定的狀態目錄中保存迴圈狀態與迭代歷程。
  • 可安裝為 agent 外掛,附帶規格驅動開發技能與 Stop 鉤子。
適用情境
適合希望助理自主完成多步驟編碼任務,並由第二個模型在每輪迭代後審查、再決定是否通過的情況。較適用於本機上的規格驅動開發工作,而非一次性問答。
執行需求
以本機程序在使用者電腦上執行,僅支援桌面端。Linux/macOS 需要 POSIX shell,Windows 需要 PowerShell;HTTP 模式會在本機連接埠(如 127.0.0.1:8080)監聽。需透過環境變數 RALPH_RECIPE_DIR 與 RALPH_STATE_BASE 指定兩個目錄。未宣告任何身分驗證。
安裝前請注意
迴圈會自主修改專案程式碼,並在 RALPH_STATE_BASE 指定的狀態目錄保留迭代歷程,建議指向可審查或可回復的儲存庫。worker 與 reviewer 依賴外部模型,任務內容會傳送給這些服務提供者。HTTP 模式未宣告身分驗證,應僅綁定本機位址。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Ralph Wiggum Loop,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

ralph-wiggum-loop

Multi-model iterative development agent plugin — Ralph Loop with cross-model worker/reviewer architecture, spec-driven development skills, Stop hooks, and SHIP/REVISE decision engine.

[License: MIT] [Agent Plugin] [GitHub Pages]

Overview

The Ralph Loop implements a two-phase iterative workflow where a worker model does the work and a reviewer model provides cross-model review, iterating until the reviewer says "SHIP".

This project is a cross-platform Agent Plugin (plugin.json, mcp.json, .agents/skills/ralph-wiggum-loop/ & skills/ralph-wiggum-loop/) with native implementations for:

  • Linux / macOS (Bash): bin/ralph-wiggum-loop.sh (using bin/mcp-sdk.sh)
  • Windows (PowerShell): bin/ralph-wiggum-loop.ps1 (using bin/mcp-sdk.psm1)
  • Polyglot Runner: bin/script-runner.sh / bin/script-runner.ps1 (runs in both POSIX sh/bash and PowerShell)

Install Skill (.agents/skills/)

Per the Agent Skills Specification, install the skill to .agents/skills/:

bash
# Project-level (.agents/skills/ralph-wiggum-loop) or User-level (~/.agents/skills/ralph-wiggum-loop)mkdir -p .agents/skillscp -R skills/ralph-wiggum-loop .agents/skills/ralph-wiggum-loop
powershell
New-Item -ItemType Directory -Path .agents/skills -Force | Out-NullCopy-Item -Recurse -Force skills/ralph-wiggum-loop .agents/skills/ralph-wiggum-loop

[Ralph Wiggum Loop MCP server]

OS-Specific MCP Servers (mcp.json)

MCP Server NameOS / RuntimeTransportCommand / Endpoint
ralph-wiggum-loopLinux / macOS (Bash)stdio./bin/script-runner.sh ralph-wiggum-loop --stdio
ralph-wiggum-loop-pwshWindows (PowerShell 7+)stdiopwsh -NoProfile -ExecutionPolicy Bypass -File ${PLUGIN_ROOT}/bin/script-runner.ps1 ralph-wiggum-loop --stdio
ralph-wiggum-loop-powershellWindows (PowerShell 5.1)stdiopowershell.exe -NoProfile -ExecutionPolicy Bypass -File ${PLUGIN_ROOT}/bin/script-runner.ps1 ralph-wiggum-loop --stdio
ralph-wiggum-loop-httpCross-Platformstreamable-httphttp://127.0.0.1:8080/mcp

Quick Start

1. CLI Mode

  • Linux / macOS (Bash):
    bash
    ./bin/ralph-wiggum-loop.sh "Implement user authentication with JWT tokens" --profile pro
  • Windows (PowerShell):
    powershell
    pwsh -NoProfile -ExecutionPolicy Bypass -File .\bin\ralph-wiggum-loop.ps1 "Implement user authentication with JWT tokens" --profile pro

2. MCP Server (stdio Mode)

  • Linux / macOS (Bash):
    bash
    ./bin/ralph-wiggum-loop.sh --stdio
  • Windows (PowerShell):
    powershell
    pwsh -NoProfile -ExecutionPolicy Bypass -File .\bin\ralph-wiggum-loop.ps1 --stdio

3. MCP Server (streamable-http Service Mode)

  • Linux / macOS (Bash):
    bash
    ./bin/script-runner.sh start-http-server start --host 127.0.0.1 --port 8080
  • Windows (PowerShell):
    powershell
    pwsh -NoProfile -ExecutionPolicy Bypass -File .\bin\script-runner.ps1 start-http-server start --host 127.0.0.1 --port 8080

Documentation

Repository

License

MIT

來源:README.md,提交 f094b28

工具

0
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:該軟體包類型無法在沙箱中執行。

版本歷史

1
  1. v1.1.0最新Oct 23, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分