Chuyển đến nội dung chính

Khởi tạo tác tử

Bootstrapping is the first‑run ritual that prepares an agent workspace and collects identity details. It happens after onboarding, when the agent starts for the first time.

Bootstrapping làm gì

Ở lần chạy tác tử đầu tiên, OpenClaw khởi tạo không gian làm việc (mặc định ~/.openclaw/workspace):
  • Gieo mầm AGENTS.md, BOOTSTRAP.md, IDENTITY.md, USER.md.
  • Chạy một nghi thức hỏi & đáp ngắn (mỗi lần một câu hỏi).
  • Ghi danh tính + tùy chọn vào IDENTITY.md, USER.md, SOUL.md.
  • Xóa BOOTSTRAP.md khi hoàn tất để đảm bảo chỉ chạy một lần.

Nơi nó chạy

Bootstrapping always runs on the gateway host. If the macOS app connects to a remote Gateway, the workspace and bootstrapping files live on that remote machine.
Khi Gateway chạy trên một máy khác, hãy chỉnh sửa các tệp không gian làm việc trên máy chủ gateway (ví dụ: user@gateway-host:~/.openclaw/workspace).

Tài liệu liên quan