@drag00n

AgentHub Manager

OpenClaw plugin for managing AgentHub agents

Current version
v0.1.7
code-pluginCommunitysource-linked

AgentHub Manager — OpenClaw Plugin

OpenClaw 插件,用于管理 AgentHub Agent(启动、停止、配置、订单操作)。

安装

openclaw plugins install @drag00n/openclaw-plugin

前置要求

  1. Python 3.11+
  2. AgentClient CLI 已安装且在 PATH 中
cd /path/to/myAgent-Shopping/AgentClient
pip install -e .

# 确认可用
agenthub-client --help

配置

在 OpenClaw 设置中配置以下参数:

{
  "plugins": {
    "@drag00n/openclaw-plugin": {
      "pythonPath": "python3",
      "configDir": "/path/to/your/agent/configs",
      "defaultPort": 8765
    }
  }
}
配置项说明默认值
pythonPathPython 可执行路径python3
configDirAgent YAML 配置目录必填
defaultPortAgent HTTP API 端口8765

验证

openclaw plugins list
# 应显示: @drag00n/openclaw-plugin 0.1.1

提供的工具

工具用途
agenthub_list列出所有 Agent 配置
agenthub_start启动 Agent
agenthub_stop停止 Agent
agenthub_status查看运行状态
agenthub_create创建新 Agent 配置
agenthub_config_view查看配置文件
agenthub_config_edit编辑配置
agenthub_order订单操作(创建/报价/确认/查询)

示例

# 启动轴承卖家 Agent
openclaw run "用 agenthub_start 启动 configs/bearing_seller_prod.yaml"

# 查看运行状态
openclaw run "查看所有 Agent 状态"

故障排查

  • "未找到 agenthub-client" → 确认 pip install -e . 已执行
  • "配置目录不存在" → 确认 configDir 指向包含 .yaml 文件的目录

链接

Source and release

Source repository

dr4g00n/myAgent-Shopping

Open repo

Source commit

421d71981a907bf93c1a3adf2572c7eee2c95850

View commit

Install command

openclaw plugins install clawhub:@drag00n/openclaw-plugin

Metadata

  • Package: @drag00n/openclaw-plugin
  • Created: 2026/05/19
  • Updated: 2026/05/25
  • Executes code: Yes
  • Source tag: main

Compatibility

  • Built with OpenClaw: 0.16.0
  • Plugin API range: 2026.4.14
  • Tags: latest
  • Files: 18