Update nexus wiki content
This commit is contained in:
@@ -2,31 +2,24 @@
|
||||
title: "OpenClaw"
|
||||
type: entity
|
||||
tags: []
|
||||
sources:
|
||||
- "[[养虾日记4-一次「context-limit-exceeded」错误排查-我以为是小问题-结果踩了大坑]]"
|
||||
- "[[obsidian-官方-cli-命令全景速查表]]"
|
||||
last_updated: 2026-04-10
|
||||
---
|
||||
|
||||
## 基本信息
|
||||
- **类型**: AI Agent 框架 / 产品
|
||||
- **官网**: https://openclaw.ai
|
||||
- **作者/公司**: OpenClawAI
|
||||
## Overview
|
||||
OpenClaw 是一个本地运行的 AI Agent 系统,提供 Gateway 服务,可通过 `model` 字段指定不同的 Agent ID(如 `openclaw:main`、`openclaw:beta`)。
|
||||
|
||||
## 描述
|
||||
多 Agent 协同管理框架,支持通过 cron 任务系统实现定时复盘,支持 Telegram/Discord 等多平台通知。运行于 Mac Mini 作为中央控制节点,管理多个 AI Agent 协同工作。
|
||||
## Key Facts
|
||||
- **默认端口**:18789
|
||||
- **Agent 指定方式**:`"model": "openclaw:<agentId>"`
|
||||
- **OpenAI 兼容端点**:Chat Completions 端点默认关闭,需在 `~/.openclaw/openclaw.json` 中手动开启
|
||||
- **网络配置**:需设置 `host: "0.0.0.0"` 以允许 Docker 容器从宿主机网络访问
|
||||
|
||||
## 核心功能
|
||||
- 多 Agent 生命周期管理
|
||||
- cron 定时任务调度
|
||||
- Telegram/Discord 通知推送
|
||||
- 目录映射(Symbolic Link 支持)
|
||||
- skill 安装与管理(ClawHub)
|
||||
- 持久化记忆系统(短期文件 + 长期向量数据库)
|
||||
## Configuration
|
||||
Gateway 配置文件 `~/.openclaw/openclaw.json` 中的关键配置项:
|
||||
- `gateway.port`:Gateway 监听端口(默认 18789)
|
||||
- `gateway.bind`:绑定地址(`"lan"` 允许局域网访问)
|
||||
- `gateway.auth.mode`:`"token"` 模式使用 Bearer Token 认证
|
||||
- `gateway.http.endpoints.chatCompletions.enabled`:设为 `true` 开启 OpenAI 兼容端点
|
||||
|
||||
## 相关 Entity
|
||||
- [[LanceDB]]:长期记忆向量数据库
|
||||
- [[LEARNINGS.md]]:结构化经验记录文件
|
||||
|
||||
## Aliases
|
||||
- OpenClawAI
|
||||
## Related Pages
|
||||
- [[n8n-调用openclaw-agents的工作流架构]]
|
||||
- [[Hermes-Agent]]
|
||||
|
||||
Reference in New Issue
Block a user