Ralph Wiggum 技术的一种改进实现,用于自主 AI 智能体编排
一个基于帽子的编排框架,让AI代理持续循环执行,直到任务完成。
“我英语不行?那不可能!”——拉尔夫·威格姆
npm install -g @ralph-orchestrator/ralph-clicurl --proto '=https' --tlsv1.2 -LsSf \
https://github.com/mikeyobrien/ralph-orchestrator/releases/latest/download/ralph-cli-installer.sh | shcargo install ralph-cliHomebrew目前未通过此仓库的自动发布流程发布。建议使用npm、Cargo或GitHub Releases安装器。
# 1. Initialize Ralph with your preferred backend
ralph init --backend claude
# 2. Plan your feature (interactive PDD session)
ralph plan "Add user authentication with JWT"
# Creates: .ralph/specs/user-authentication/requirements.md, design.md, implementation-plan.md
# 3. Implement the feature
ralph run -p "Implement the feature in .ralph/specs/user-authentication/"Ralph会不断迭代,直到输出LOOP_COMPLETE或达到迭代上限。
对于更简单的任务,可以跳过规划直接运行:
ralph run -p "Add input validation to the /users endpoint"Alpha: Web 仪表盘正在积极开发中。预计会有粗糙的边缘和破坏性变更。
Ralph 包含一个用于监控和管理编排循环的 Web 仪表盘。
ralph web # starts Rust RPC API + frontend + opens browser
ralph web --no-open # skip browser auto-open
ralph web --backend-port 4000 # custom RPC API port
ralph web --frontend-port 8080 # custom frontend port
ralph web --legacy-node-api # opt into deprecated Node tRPC backendralph mcp serve 每个服务器实例限定于单个工作区根目录。
暂无开放 Issues,或尚未同步最近议题。