Community translations by veiseule.ai — Help improve them on Crowdin
Skip to main content

代理程式啟動

初始化(Bootstrapping)是首次執行時的儀式,用於準備代理的工作區與 collects identity details. It happens after onboarding, when the agent starts for the first time.

初始化會做什麼

在代理程式首次執行時,OpenClaw 會啟動並初始化工作區(預設為 ~/.openclaw/workspace):

  • 建立 AGENTS.mdBOOTSTRAP.mdIDENTITY.mdUSER.md
  • 執行簡短的問答儀式(一次一個問題)。
  • 將身分與偏好設定寫入 IDENTITY.mdUSER.mdSOUL.md
  • 完成後移除 BOOTSTRAP.md,確保只執行一次。

執行位置

初始化(Bootstrapping)一律在gateway 主機上執行。如果 macOS 應用程式連線至 a remote Gateway, the workspace and bootstrapping files live on that remote machine.

當 Gateway 閘道器執行在另一台機器上時,請在閘道器主機上編輯工作區檔案(例如 user@gateway-host:~/.openclaw/workspace)。

相關文件