Files
realizemultiagent/一键启动所有.bat
2026-04-02 00:59:42 +08:00

50 lines
1.8 KiB
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@echo off
echo ========================================
echo OpenClaw多Agent系统一键启动
echo ========================================
echo.
echo 正在启动所有Agent...
echo.
echo 1. 启动产品经理 (PM)...
start "PM Agent" cmd /k "cd /d D:\openclaw-multi-agent && 启动-pm.bat"
timeout /t 3 >nul
echo 2. 启动后端工程师 (Backend)...
start "Backend Agent" cmd /k "cd /d D:\openclaw-multi-agent && 启动-backend.bat"
timeout /t 3 >nul
echo 3. 启动前端工程师 (Frontend)...
start "Frontend Agent" cmd /k "cd /d D:\openclaw-multi-agent && 启动-frontend.bat"
timeout /t 3 >nul
echo 4. 启动测试工程师 (QA)...
start "QA Agent" cmd /k "cd /d D:\openclaw-multi-agent && 启动-qa.bat"
timeout /t 3 >nul
echo.
echo ========================================
echo 所有Agent启动完成!
echo ========================================
echo.
echo 已启动的Agent:
echo • 产品经理 (PM) - 窗口标题: PM Agent
echo • 后端工程师 (Backend) - 窗口标题: Backend Agent
echo • 前端工程师 (Frontend) - 窗口标题: Frontend Agent
echo • 测试工程师 (QA) - 窗口标题: QA Agent
echo.
echo 使用说明:
echo 1. 每个窗口对应一个Agent角色
echo 2. Agent启动后会显示等待指令的状态
echo 3. 要发送新指令,请在新命令行中运行:
echo openclaw agent --agent [名称] --message "你的消息"
echo 4. 所有Agent共享 D:\openclaw-multi-agent\shared 目录
echo.
echo 快速测试命令:
echo openclaw agent --agent pm --message "[PM] 查看系统状态"
echo openclaw agent --agent backend --message "[BE] 查看分配的任务"
echo openclaw agent --agent qa --message "[QA] 查看测试报告"
echo.
echo ========================================
echo 按任意键关闭本启动器...
pause