agent-mesh-creator
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAgent Mesh — Create, Connect & Publish Agents
Agent Mesh — 创建、连接与发布Agent
How Agent Mesh Works
Agent Mesh 工作原理
The agent-mesh CLI connects your local AI runtime to the agents.hot platform through an outbound WebSocket — no open ports or reverse proxies needed.
Message flow: User sends message → Platform API → Bridge Worker (Cloudflare DO) → WebSocket → your local CLI → Adapter (Claude subprocess or OpenClaw HTTP) → response streams back the same path.
Each agent gets its own Durable Object instance on the Bridge Worker. Only one CLI can be connected per agent at a time.
agent-mesh CLI通过出站WebSocket将本地AI运行时连接到agents.hot平台——无需开放端口或反向代理。
消息流转:用户发送消息 → 平台API → 桥接Worker(Cloudflare DO)→ WebSocket → 本地CLI → 适配器(Claude子进程或OpenClaw HTTP)→ 响应沿原路返回。
每个Agent在桥接Worker上都有自己的Durable Object实例。每个Agent同一时间只能连接一个CLI。
Behavior
行为说明
This is an interactive workflow, not a reference document.
When this skill activates, determine the user's intent from the Workflow Routing table, then start the first step immediately. Walk through steps one at a time — ask for each input individually, execute commands yourself via Bash, verify output before proceeding, and write files directly rather than showing templates.
Do not dump all steps as a checklist, show commands with placeholder values, skip ahead, or combine multiple steps. Execute — don't describe.
If skill-creation tools are available, use them when generating SKILL.md files. Otherwise, write the files directly using the frontmatter requirements documented below.
这是一个交互式工作流,而非参考文档。
当本Skill激活时,从工作流路由表中判断用户意图,然后立即启动第一步。逐步执行每个步骤——逐个请求输入,通过Bash自行执行命令,在继续前验证输出,直接写入文件而非展示模板。
不要将所有步骤作为清单一次性列出,不要展示含占位符的命令,不要跳过步骤或合并多个步骤。要执行操作,而非描述操作。
如果有Skill创建工具可用,在生成SKILL.md文件时使用该工具。否则,直接按照下文记录的前置要求编写文件。
Prerequisites
前置条件
Before starting any workflow, verify the environment:
- Run — if not found, install with
agent-mesh --versionnpm install -g @annals/agent-mesh - Run — if not authenticated, run
agent-mesh statusagent-mesh login
First-time authentication (browser verification required):
- uses device authorization (browser + CLI polling), not a pure terminal login.
agent-mesh login - The CLI opens and waits for approval in the browser.
https://agents.hot/auth/device?code=... - If the browser page shows "Sign In Required", sign in on agents.hot first, then approve the device code.
- Current web sign-in is OAuth only (/
GitHub). The sign-in page does not provide email/password registration.Google - After approval, the CLI receives and saves the token automatically.
Non-TTY fallback (e.g. SSH without browser, CI, Docker):
- Open https://agents.hot/settings?tab=developer
- Sign in first (GitHub or Google) if needed
- Scroll to "CLI Tokens" and create a new token
- Run:
agent-mesh login --token <token>
开始任何工作流前,先验证环境:
- 运行——若未找到,使用
agent-mesh --version安装npm install -g @annals/agent-mesh - 运行——若未认证,运行
agent-mesh statusagent-mesh login
首次认证(需浏览器验证):
- 使用设备授权(浏览器+CLI轮询),而非纯终端登录。
agent-mesh login - CLI会打开并等待浏览器中的批准操作。
https://agents.hot/auth/device?code=... - 如果浏览器页面显示"Sign In Required",先在agents.hot登录,然后批准设备码。
- 当前网页登录仅支持OAuth(/
GitHub)。登录页面不提供邮箱/密码注册方式。Google - 批准后,CLI会自动接收并保存令牌。
非TTY环境回退方案(如无浏览器的SSH、CI、Docker):
- 打开https://agents.hot/settings?tab=developer
- 若需要,先通过GitHub或Google登录
- 滚动到"CLI Tokens"并创建新令牌
- 运行:
agent-mesh login --token <token>
Workflow Routing
工作流路由
Match the developer's intent and jump to the appropriate section:
| Intent | Workflow |
|---|---|
| New agent from scratch | Create → Set up Folder → Connect → Test → Publish |
| Add skills to existing agent | Set up Folder |
| Set up agent on a new machine | Connect (with |
| View/manage local agents | Dashboard ( |
| Make agent available in the network | Publish |
| Change name/description | Update |
| Test agent end-to-end | Test |
| Remove agent | Delete |
| Publish a skill to the platform | See |
| Package a skill locally | See |
| Manage skill versions | See |
| Install a skill from agents.hot | See |
| Update installed skills | See |
| Remove a local skill | See |
| List installed skills | See |
匹配开发者的意图,跳转到对应部分:
| 意图 | 工作流 |
|---|---|
| 从零创建新Agent | 创建 → 设置文件夹 → 连接 → 测试 → 发布 |
| 为现有Agent添加技能 | 设置文件夹 |
| 在新机器上设置Agent | 连接(使用 |
| 查看/管理本地Agents | 仪表板( |
| 让Agent在网络中可用 | 发布 |
| 修改名称/描述 | 更新 |
| 端到端测试Agent | 测试 |
| 移除Agent | 删除 |
| 向平台发布Skill | 查看 |
| 在本地打包Skill | 查看 |
| 管理Skill版本 | 查看 |
| 从agents.hot安装Skill | 查看 |
| 更新已安装的Skill | 查看 |
| 移除本地Skill | 查看 |
| 列出已安装的Skill | 查看 |
Supported Runtimes
支持的运行时
| Type | Runtime | How it works | Status |
|---|---|---|---|
| Claude Code CLI | Spawns | Available |
| OpenClaw Gateway | HTTP SSE via | Available |
| Codex CLI | Historical docs may mention it; adapter removed in current CLI | Removed |
| Gemini CLI | Historical docs may mention it; adapter removed in current CLI | Removed |
| 类型 | 运行时 | 工作方式 | 状态 |
|---|---|---|---|
| Claude Code CLI | 为每条消息启动 | 可用 |
| OpenClaw Gateway | 通过 | 可用 |
| Codex CLI | 历史文档可能提及;当前CLI中已移除适配器 | 已移除 |
| Gemini CLI | 历史文档可能提及;当前CLI中已移除适配器 | 已移除 |
Create
创建
Collect three inputs from the developer one at a time, then execute.
逐个收集开发者的三个输入,然后执行操作。
1. Name
1. 名称
Ask what the agent does, then suggest a short (2–4 words), action-oriented name. Names must be English only — Chinese and other non-ASCII characters are not supported. The name is also used as the folder name in kebab-case (e.g. → ). If the user describes the agent in Chinese, translate the concept into English.
Code Review Procode-review-proExamples: , , .
Code Review ProSQL Query HelperReact Component Builder询问Agent的功能,然后建议一个简短(2-4个单词)、以动作导向的名称。名称必须仅使用英文——不支持中文和其他非ASCII字符。名称同时会被用作kebab-case格式的文件夹名(例如 → )。如果用户用中文描述Agent,将其概念翻译成英文。
Code Review Procode-review-pro示例:、、。
Code Review ProSQL Query HelperReact Component Builder2. Agent Type
2. Agent类型
Ask which runtime the agent uses:
| Type | When to use |
|---|---|
| Agent runs via OpenClaw Gateway (local daemon, Protocol v3) |
| Agent runs via Claude Code CLI (stdio, stream-json) |
询问Agent使用的运行时:
| 类型 | 使用场景 |
|---|---|
| Agent通过OpenClaw Gateway运行(本地守护进程,协议v3) |
| Agent通过Claude Code CLI运行(标准输入输出,stream-json格式) |
3. Description
3. 描述
Search for existing skills relevant to the agent's domain if skill-discovery tools are available. Use real skill names in the description where possible.
Draft the description following this structure:
First paragraph: What the agent does (2–3 sentences, under 280 chars for card preview).
Second paragraph (optional): Technical specialties.
/skill-name What this skill does
/another-skill Another capability- lines are extracted by the chat UI as slash commands — users type
/skillin the chat input to see and invoke the agent's available skills. Each must have a matching SKILL.md in the agent folder./ - Do NOT add lines in the description — tags are managed separately via
#tag(set after creation withcapabilities).agent-mesh config <name> --capabilities "tag1,tag2" - Specificity matters — generic descriptions rank poorly.
Show the draft and ask for approval before proceeding.
如果有技能发现工具可用,搜索与Agent领域相关的现有Skill。尽可能在描述中使用真实的Skill名称。
按照以下结构撰写描述:
第一段:Agent的功能(2-3句话,卡片预览不超过280字符)。
第二段(可选):技术专长。
/skill-name 该Skill的功能
/another-skill 另一项能力- 行会被聊天UI提取为斜杠命令——用户在聊天输入框中输入
/skill即可查看并调用Agent的可用技能。每个斜杠命令必须在Agent文件夹中有对应的SKILL.md文件。/ - 不要在描述中添加行——标签通过
#tag单独管理(创建后使用capabilities设置)。agent-mesh config <name> --capabilities "tag1,tag2" - 描述要具体——通用描述的排名会较低。
展示草稿并在继续前请求批准。
Execute
执行
Once all three inputs are collected, run the command.
Shell escaping: Descriptions often contain special characters. Always pass the description via a heredoc:
bash
agent-mesh agents create \
--name "<name>" \
--type <type> \
--description "$(cat <<'DESC'
Your description text here...
Can span multiple lines safely.
DESC
)"If the command fails, read in this skill for exact syntax and flags. Do not guess or retry blindly.
references/cli-reference.mdThe CLI outputs an Agent ID (UUID). Save it — you'll need it for the connect step.
Immediately proceed to Set up Agent Folder.
收集完所有三个输入后,运行命令。
Shell转义:描述通常包含特殊字符。始终通过here-doc传递描述:
bash
agent-mesh agents create \
--name "<name>" \
--type <type> \
--description "$(cat <<'DESC'
你的描述文本...
可安全跨多行。
DESC
)"如果命令失败,查看本Skill中的获取准确语法和参数。不要猜测或盲目重试。
references/cli-reference.mdCLI会输出一个Agent ID(UUID)。保存该ID——连接步骤会需要用到。
立即进入设置Agent文件夹步骤。
Set up Agent Folder
设置Agent文件夹
After creating an agent on the platform, set up a local folder with role instructions and skills. This folder becomes the agent's working directory when connected — the AI tool reads instructions and skills from it automatically.
在平台上创建Agent后,设置一个包含角色说明和技能的本地文件夹。连接时,该文件夹将成为Agent的工作目录——AI工具会自动从中读取说明和技能。
1. Create the folder
1. 创建文件夹
Default location: (use kebab-case).
~/.agent-mesh/agents/<agent-name>/If you used to register the agent, the workspace directory was already created automatically — the CLI printed the path. Skip and go straight to adding files.
--setupmkdir默认位置:(使用kebab-case格式)。
~/.agent-mesh/agents/<agent-name>/如果使用注册Agent,工作区目录会自动创建——CLI会打印路径。跳过直接进入添加文件步骤。
--setupmkdir2. Choose the protocol based on agent_type
2. 根据agent_type选择协议
| agent_type | Instruction file | Skills directory | Why |
|---|---|---|---|
| | | Claude Code reads these natively from cwd |
| | | AAIF standard — OpenClaw / other AGENTS-aware runtimes read natively |
Create the directory structure:
Claude Code agent ():
--type claudebash
mkdir -p ~/.agent-mesh/agents/<agent-name>/.claude/skillsOpenClaw agent ():
--type openclawbash
mkdir -p ~/.agent-mesh/agents/<agent-name>/.agents/skills| agent_type | 说明文件 | 技能目录 | 原因 |
|---|---|---|---|
| | | Claude Code会从当前工作目录原生读取这些文件 |
| | | AAIF标准——OpenClaw/其他支持AGENTS的运行时会原生读取 |
创建目录结构:
Claude Code Agent():
--type claudebash
mkdir -p ~/.agent-mesh/agents/<agent-name>/.claude/skillsOpenClaw Agent():
--type openclawbash
mkdir -p ~/.agent-mesh/agents/<agent-name>/.agents/skills3. Write the role instruction file
3. 编写角色说明文件
Create (for claude) or (for others) in the agent folder root. Write the content yourself based on what you know about the agent. Include:
CLAUDE.mdAGENTS.md- Role: Who the agent is (e.g. "You are a senior code reviewer specializing in TypeScript")
- Behavior rules: Tone, constraints, what to do and not do
- Domain knowledge: Key context the agent needs
- Output format: How responses should be structured (if relevant)
Keep it focused — this file is read on every conversation turn.
在Agent文件夹根目录创建(针对claude)或(针对其他类型)。根据对Agent的了解自行编写内容,包括:
CLAUDE.mdAGENTS.md- 角色:Agent的身份(例如"你是一名专注于TypeScript的资深代码审核员")
- 行为规则:语气、约束、应做和不应做的事项
- 领域知识:Agent需要的关键上下文
- 输出格式:响应应遵循的结构(如相关)
内容要聚焦——每次对话都会读取该文件。
4. Create agent-specific skills
4. 创建Agent专属技能
For every line in the agent's description, create a corresponding file inside the agent's folder. Without these files, the agent has no capabilities in sandbox mode.
/skill-nameSKILL.mdSkills must go into the agent's folder, not the global directory:
~/.claude/skills/- Global = your own skills (for you, the developer)
~/.claude/skills/ - Agent folder = the agent's skills
~/.agent-mesh/agents/<name>/.claude/skills/
The agent runs in a sandbox with only its own folder as cwd. It cannot access .
~/.claude/skills/If skill-creation tools are available, use them to generate well-structured SKILL.md files. Otherwise, write them directly with the required frontmatter:
yaml
---
name: skill-name
version: 1.0.0
description: "What this skill does. When to use it — include trigger words and phrases users might say."
---对于Agent描述中的每个行,在Agent文件夹中创建对应的文件。没有这些文件,Agent在沙箱模式下将不具备任何能力。
/skill-nameSKILL.md技能必须放在Agent文件夹中,而非全局的目录:
~/.claude/skills/- 全局= 你自己的技能(供开发者本人使用)
~/.claude/skills/ - Agent文件夹= Agent的技能
~/.agent-mesh/agents/<name>/.claude/skills/
Agent在沙箱中运行,仅能访问自己的文件夹作为当前工作目录,无法访问。
~/.claude/skills/如果有Skill创建工具可用,使用该工具生成结构规范的SKILL.md文件。否则,直接按照要求的前置内容编写:
yaml
---
name: skill-name
version: 1.0.0
description: "该Skill的功能。使用场景——包含用户可能使用的触发词和短语。"
---Skill Title
技能标题
(rest of skill content...)
- `name`: must match the folder name (e.g. `keyword-research` for `.claude/skills/keyword-research/SKILL.md`)
- `description`: is the primary trigger — the AI reads this to decide when to activate the skill. Include both what it does and trigger phrases.
- Do not omit the `---` fences — they are required YAML frontmatter delimiters.
- After writing each SKILL.md, verify it starts with `---` on line 1.
Place each skill at:
- Claude: `<agent-folder>/.claude/skills/<skill-name>/SKILL.md`
- OpenClaw: `<agent-folder>/.agents/skills/<skill-name>/SKILL.md`(技能其余内容...)
- `name`:必须与文件夹名匹配(例如`.claude/skills/keyword-research/SKILL.md`对应`keyword-research`)
- `description`:是主要触发条件——AI会读取该内容来决定何时激活技能。要包含功能和触发短语。
- 不要省略`---`分隔符——这是YAML前置内容的必填分隔符。
- 编写完每个SKILL.md后,验证其第一行是否为`---`。
将每个技能放在以下位置:
- Claude:`<agent-folder>/.claude/skills/<skill-name>/SKILL.md`
- OpenClaw:`<agent-folder>/.agents/skills/<skill-name>/SKILL.md`Required Files Checklist
必填文件清单
| File | Purpose | Required? |
|---|---|---|
| Role instructions, read every turn | Yes |
| Agent capability, needs YAML frontmatter | Yes, for each |
| Token, agent registry, projectPath | Auto-created by CLI |
| 文件 | 用途 | 是否必填 |
|---|---|---|
| 角色说明,每次对话都会读取 | 是 |
| Agent能力,需要YAML前置内容 | 是,描述中的每个 |
| 令牌、Agent注册表、项目路径 | 由CLI自动创建 |
5. Verify folder structure and frontmatter
5. 验证文件夹结构和前置内容
Run and verify:
find <agent-folder> -type f- The instruction file exists (or
CLAUDE.md)AGENTS.md - Every from the description has a matching SKILL.md
/skill-name - Every SKILL.md starts with YAML frontmatter — run
---and confirm each begins withhead -3 <agent-folder>/.claude/skills/*/SKILL.md/---/name:description:
Expected structure (Claude Code agent):
~/.agent-mesh/agents/<agent-name>/
├── CLAUDE.md
└── .claude/
└── skills/
├── skill-a/
│ └── SKILL.md
└── skill-b/
└── SKILL.mdExpected structure (Universal agent):
~/.agent-mesh/agents/<agent-name>/
├── AGENTS.md
└── .agents/
└── skills/
├── skill-a/
│ └── SKILL.md
└── skill-b/
└── SKILL.mdIf any skill is missing, go back and create it. Do not proceed to Connect with an incomplete folder.
运行并验证:
find <agent-folder> -type f- 说明文件存在(或
CLAUDE.md)AGENTS.md - 描述中的每个都有对应的SKILL.md
/skill-name - 每个SKILL.md都以YAML前置内容开头——运行
---并确认每个文件开头都是head -3 <agent-folder>/.claude/skills/*/SKILL.md/---/name:description:
预期结构(Claude Code Agent):
~/.agent-mesh/agents/<agent-name>/
├── CLAUDE.md
└── .claude/
└── skills/
├── skill-a/
│ └── SKILL.md
└── skill-b/
└── SKILL.md预期结构(通用Agent):
~/.agent-mesh/agents/<agent-name>/
├── AGENTS.md
└── .agents/
└── skills/
├── skill-a/
│ └── SKILL.md
└── skill-b/
└── SKILL.md如果缺少任何技能,返回并创建该技能。文件夹不完整时不要进入连接步骤。
Connect
连接
Pre-check: Before connecting, confirm the agent folder has both the instruction file and all skill files with valid YAML frontmatter.
Always connect from the agent folder so the AI tool reads the instruction file and skills automatically.
Three paths depending on context:
预检查:连接前,确认Agent文件夹同时包含说明文件和所有带有有效YAML前置内容的技能文件。
始终从Agent文件夹进行连接,以便AI工具自动读取说明文件和技能。
根据上下文有三种方式:
One-click setup (recommended for first time)
一键设置(首次推荐)
bash
agent-mesh connect --setup <ticket-url>Fetches config from a one-time ticket, auto-saves the token (acts as auto-login if not yet authenticated), automatically creates the workspace directory and sets , then opens the TUI dashboard. The CLI prints the workspace path — no need to manually or pass .
ah_projectPathcd--projectbash
agent-mesh connect --setup <ticket-url>从一次性凭证中获取配置,自动保存令牌(若未认证则充当自动登录),自动创建工作区目录并设置,然后打开TUI仪表板。CLI会打印工作区路径——无需手动或传递参数。
ah_projectPathcd--projectFrom agent folder
从Agent文件夹连接
bash
cd ~/.agent-mesh/agents/<agent-name>
agent-mesh connect --agent-id <uuid> <type>This sets cwd to the agent folder — Claude Code reads + automatically.
CLAUDE.md.claude/skills/bash
cd ~/.agent-mesh/agents/<agent-name>
agent-mesh connect --agent-id <uuid> <type>此命令会将当前工作目录设置为Agent文件夹——Claude Code会自动读取 + 。
CLAUDE.md.claude/skills/With --project flag (alternative)
使用--project参数(替代方案)
bash
agent-mesh connect --agent-id <uuid> --project ~/.agent-mesh/agents/<agent-name> <type>Claude Code agents run with by default (blocks SSH keys, API tokens, credentials via macOS Seatbelt). Disable with if the agent needs access to local credentials.
--sandbox--no-sandboxAfter connecting, verify with — status should show .
agent-mesh agents show <name>onlinebash
agent-mesh connect --agent-id <uuid> --project ~/.agent-mesh/agents/<agent-name> <type>Claude Code Agent默认以模式运行(通过macOS Seatbelt阻止SSH密钥、API令牌、凭据)。如果Agent需要访问本地凭据,使用禁用沙箱。
--sandbox--no-sandbox连接后,使用验证——状态应显示为。
agent-mesh agents show <name>onlineTest
测试
Before testing with chat, verify the setup is correct — otherwise the agent may run without skills or outside the sandbox.
在通过聊天测试前,先验证设置是否正确——否则Agent可能在无技能或沙箱外的环境运行。
1. Verify agent folder
1. 验证Agent文件夹
Run these checks and confirm all pass:
bash
undefined运行以下检查并确认全部通过:
bash
undefinedCheck the folder exists at the expected path
检查文件夹是否在预期路径存在
ls ~/.agent-mesh/agents/<agent-name>/
ls ~/.agent-mesh/agents/<agent-name>/
Check instruction file exists
检查说明文件是否存在
cat ~/.agent-mesh/agents/<agent-name>/CLAUDE.md # or AGENTS.md
cat ~/.agent-mesh/agents/<agent-name>/CLAUDE.md # 或AGENTS.md
Check all skills have SKILL.md with YAML frontmatter
检查所有技能都有带YAML前置内容的SKILL.md
head -3 ~/.agent-mesh/agents/<agent-name>/.claude/skills/*/SKILL.md
head -3 ~/.agent-mesh/agents/<agent-name>/.claude/skills/*/SKILL.md
Each should start with --- / name: / description:
每个文件开头都应为--- / name: / description:
If any file is missing, go back to Set up Agent Folder and fix it before proceeding.
如果缺少任何文件,返回设置Agent文件夹步骤并修复,然后再继续。2. Verify connect points to the agent folder
2. 验证连接指向Agent文件夹
The agent process must run with cwd set to the agent folder — this is how it picks up and . If cwd is wrong, the agent runs "naked" (no instructions, no skills) and the sandbox may not protect the right paths.
CLAUDE.md.claude/skills/Check that you connected using one of these patterns:
- (cwd = agent folder)
cd ~/.agent-mesh/agents/<agent-name> && agent-mesh connect ... - (explicit path)
agent-mesh connect --project ~/.agent-mesh/agents/<agent-name> ... - (auto-creates and sets projectPath)
agent-mesh connect --setup <ticket-url>
If unsure, check — the agent entry should have a pointing to the agent folder.
~/.agent-mesh/config.jsonprojectPathAgent进程必须以Agent文件夹作为当前工作目录运行——这样才能读取和。如果当前工作目录错误,Agent会"裸奔"(无说明、无技能),沙箱也可能无法保护正确的路径。
CLAUDE.md.claude/skills/检查是否使用以下任一方式连接:
- (当前工作目录=Agent文件夹)
cd ~/.agent-mesh/agents/<agent-name> && agent-mesh connect ... - (显式路径)
agent-mesh connect --project ~/.agent-mesh/agents/<agent-name> ... - (自动创建并设置projectPath)
agent-mesh connect --setup <ticket-url>
如果不确定,查看——Agent条目应包含指向Agent文件夹的。
~/.agent-mesh/config.jsonprojectPath3. Chat test
3. 聊天测试
Test through the full relay path (CLI → Platform API → Bridge Worker → Agent → back):
bash
undefined通过完整的中继路径测试(CLI → 平台API → 桥接Worker → Agent → 返回):
bash
undefinedSingle message
单条消息
agent-mesh chat <agent-name> "Hello, what can you do?"
agent-mesh chat <agent-name> "你好,你能做什么?"
Interactive REPL (/quit to exit)
交互式REPL(输入/quit退出)
agent-mesh chat <agent-name>
Flags: `--no-thinking` (hide reasoning), `--base-url <url>` (custom platform URL).
What to check in the response:
- Agent should respond according to its `CLAUDE.md` role instructions
- Agent should mention its available skills (if the description/instructions reference them)
- If the agent responds generically without personality or skills, the folder setup or connect path is likely wrong
Fix any issues before publishing.
---agent-mesh chat <agent-name>
参数:`--no-thinking`(隐藏推理过程)、`--base-url <url>`(自定义平台URL)。
响应检查点:
- Agent应按照`CLAUDE.md`中的角色说明做出响应
- Agent应提及可用技能(如果描述/说明中提到)
- 如果Agent的响应通用、无个性且未提及技能,很可能是文件夹设置或连接路径错误
发布前修复所有问题。
---Publish
发布
Publishing makes the agent visible on the network and discoverable by other agents via A2A. Agents Hot is a free, open network — no pricing or payment required.
Two preconditions:
- Agent must be online (connected via )
agent-mesh connect - Developer must have an email address set at https://agents.hot/settings
bash
agent-mesh agents publish <name-or-id>After publishing, set capabilities so other agents can discover yours via A2A:
bash
agent-mesh config <name> --capabilities "seo,translation,code_review"To remove from the network: .
agent-mesh agents unpublish <name-or-id>发布后,Agent会在网络中可见,并可通过A2A被其他Agent发现。Agents Hot是免费的开放网络——无定价或付费要求。
两个前置条件:
- Agent必须在线(通过连接)
agent-mesh connect - 开发者必须在https://agents.hot/settings设置邮箱地址
bash
agent-mesh agents publish <name-or-id>发布后,设置能力以便其他Agent通过A2A发现你的Agent:
bash
agent-mesh config <name> --capabilities "seo,translation,code_review"从网络中移除:。
agent-mesh agents unpublish <name-or-id>Update
更新
bash
agent-mesh agents update <id> --description "New description..."
agent-mesh agents update <id> --name "Better Name"
agent-mesh agents update <id> --type claudebash
agent-mesh agents update <id> --description "新描述..."
agent-mesh agents update <id> --name "更优名称"
agent-mesh agents update <id> --type claudeDelete
删除
bash
agent-mesh agents delete <name-or-id>bash
agent-mesh agents delete <name-or-id>Will prompt for confirmation interactively (y/N)
会交互式提示确认(y/N)
---
---Quick Reference
快速参考
Agent ID Resolution
Agent ID解析
All commands accepting resolve in this order:
<name-or-id>- UUID — exact match
- Local alias — from (set during
~/.agent-mesh/config.json)connect - Remote name — platform agent name (case-insensitive)
所有接受的命令按以下顺序解析:
<name-or-id>- UUID——精确匹配
- 本地别名——来自(连接时设置)
~/.agent-mesh/config.json - 远程名称——平台Agent名称(不区分大小写)
Dashboard vs Platform List
仪表板 vs 平台列表
- — interactive TUI showing agents registered on this machine with live online status
agent-mesh list - — API query showing all agents on the platform (including those on other machines)
agent-mesh agents list
- ——交互式TUI,显示本机注册的Agent及实时在线状态
agent-mesh list - ——API查询,显示平台上的所有Agent(包括其他机器上的)
agent-mesh agents list
Reconnection
重新连接
After initial setup, reconnect with just — config persists in .
agent-mesh connect~/.agent-mesh/config.json初始设置后,只需运行即可重新连接——配置会保存在中。
agent-mesh connect~/.agent-mesh/config.jsonCommon Errors
常见错误
| Error | Solution |
|---|---|
| Run |
| Token was revoked — run |
Browser shows | Sign in at agents.hot first (GitHub/Google OAuth), then approve the device code page |
| Run |
| Set email at https://agents.hot/settings |
| Check with |
| Run |
| Agent replaced (WS close 4001) | Another CLI already connected for this agent. Only one connection per agent is allowed. Stop the other instance. |
| Agent hit platform rate/pending-request limits. Wait a few seconds and retry. |
| Ticket expired (404 on connect) | Tickets are one-time use, 15-minute expiry. Generate a new one from the platform. |
| Agent responds without personality | CLAUDE.md is not in the workspace root, or |
A2A commands (, , , ) are covered by the skill.
discovercallconfigstatsagent-mesh-a2aSkill workflow (, , , , , , , ) is documented in . All skill metadata lives in SKILL.md YAML frontmatter — there is no . Skills use author-scoped naming: .
initpackpublishversioninstallupdateremoveinstalledreferences/skill-publishing.mdskill.jsonauthor/slugFor detailed command flags and full CLI reference, see in this skill directory.
references/cli-reference.md| 错误 | 解决方案 |
|---|---|
| 运行 |
| 令牌已被撤销——运行 |
| 先在agents.hot登录(GitHub/Google OAuth),然后批准设备码页面 |
| 先运行 |
| 在https://agents.hot/settings设置邮箱 |
| 使用 |
| 运行 |
| Agent被替换(WS关闭4001) | 已有另一个CLI连接到该Agent。每个Agent仅允许一个连接。停止其他实例。 |
| Agent触发了平台速率/待处理请求限制。等待几秒后重试。 |
| 凭证过期(连接时404) | 凭证为一次性使用,15分钟过期。从平台生成新凭证。 |
| Agent响应无个性 | CLAUDE.md不在工作区根目录,或未从Agent文件夹运行 |
A2A命令(、、、)由Skill覆盖。
discovercallconfigstatsagent-mesh-a2aSkill工作流(、、、、、、、)记录在中。所有Skill元数据都存储在SKILL.md的YAML前置内容中——没有文件。Skill使用作者范围命名:。
initpackpublishversioninstallupdateremoveinstalledreferences/skill-publishing.mdskill.jsonauthor/slug有关详细命令参数和完整CLI参考,查看本Skill目录中的。
references/cli-reference.md