Files
nexus/wiki/entities/OpenClaw.md
2026-04-22 19:20:32 +08:00

40 lines
1.9 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: "OpenClaw"
type: entity
tags: [OpenClaw, Agent, Workspace, Multi-Agent]
sources: [multi-agent-team, 万字讲透openclaw-workspace深度解析-2026-03-21, 养龙虾5天血泪史-我的ai-agent为什么总失忆-openclaw-记忆调试全记录, daily-youtube-digest, self-healing-home-server, custom-morning-brief]
last_updated: 2026-03-21
---
## Aliases
- OpenClaw
- openclaw
## Definition
OpenClaw 是一个开源的 **multi-agent 框架**,核心目标是让 AI Agent 从"能用"进化到"真好用"。它通过 workspace 目录体系AGENTS.md / SOUL.md / USER.md 等)管理 Agent 的职责定义、性格设定、用户偏好和长期记忆,实现跨会话的持续性和一致性。
## Core Components
- **workspace/**Agent 的工作台目录(默认 `~/.openclaw/workspace/`),包含核心配置文件
- `AGENTS.md`:工作说明书(职责、边界、多 Agent 协作)
- `SOUL.md`:性格档案(叙事性角色设定)
- `USER.md`:用户画像与偏好固化
- `IDENTITY.md`结构化身份元数据Name/Creature/Vibe/Emoji/Avatar
- `TOOLS.md`:工具权限声明与使用规范
- `MEMORY.md` / `memory/`:长期知识总表与日期滚动记忆
- `BOOTSTRAP.md`:一次性出厂引导(完成后应删除)
- `skills/`:技能包目录
- **agents/<agentId>/**:各 Agent 的运行态目录sessions、auth-profiles、models.json
- **openclaw.json**:总控配置,整个系统的"宪法"
## Key Insight
> OpenClaw 使用者存在一条隐形分界线:一边每次都要重新交代背景,另一边的 Agent 已知道用户是谁、该怎么说话——这条分界线就是 **workspace**。
## Connections
- [[Workspace]] — OpenClaw 的核心工作目录体系
- [[Agent-Memory]] — OpenClaw 通过 builtin/qmd 方案实现跨会话长期记忆
- [[n8n]] — OpenClaw 通过 n8n 实现 workflow orchestration