Files
nexus/wiki/concepts/RemoteRescuePattern.md

41 lines
1.8 KiB
Markdown
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.
---
title: "Remote Rescue Pattern"
type: concept
tags: []
sources: []
last_updated: 2026-04-22
---
# Remote Rescue Pattern
当主 Agent 在远程/无头服务器上发生故障且无法连接时通过远程访问渠道WebUI/Telegram打开辅助管理工具使用内置专家 Agent 执行诊断和修复命令来恢复主 Agent 连接的设计模式。
## 动机
- Agent 运行在另一台机器或无头服务器上时Agent 本身故障意味着无法通过 Agent 进行自我修复
- 用户物理上不在该机器旁,无法直接操作
- 需要一种"元修复"能力:在不物理访问机器的情况下诊断和恢复 Agent
## 机制
1. **远程访问通道**:通过 WebUI、Telegram、Lark、DingTalk 等渠道远程连接管理界面
2. **内置专家 Agent**:管理界面内置主 Agent 的部署专家助手(如 OpenClaw Deployment Expert
3. **诊断与修复**:专家 Agent 可执行 `openclaw doctor`、修复配置、重启网关等命令
4. **恢复主 Agent**:修复完成后,用户重新连接主 Agent 继续工作
## 典型场景
- [[AionUi]] 内置 OpenClaw 部署专家,用户通过 Telegram 远程诊断修复 OpenClaw
- [[Self-Healing-Systems]] 中的分级自愈策略(自愈 → 远程专家介入 → 人工兜底)
## 与 Self-Healing 的关系
Remote Rescue Pattern 是 [[Self-Healing-Systems]] 的一种补充手段:
- 自愈Self-HealingAgent 自动检测并修复常见问题
- 远程救援Remote RescueAgent 无法自愈时,通过远程专家介入
- 人工兜底:远程专家无法解决时,需要物理访问或人工介入
## 相关工具
- [[AionUi]]OpenClaw Remote Rescue 的实现载体
- [[OpenClaw]]`openclaw doctor` 命令提供诊断能力