Tech Blog

Hermes Agent + agent-*

Cover Image for Hermes Agent + agent-*

Hermes Agent で Vercel Labs の アクセシビリティツリーベース Browser Use / Computer Use の agent-browser + agent-desktop を追加する

今回の環境

TL;DR

agent-browser のインストール
npm install -g agent-browser --allow-scripts=agent-browser

added 1 package in 314ms
agent-browser install
⚠ Linux detected. If browser fails to launch, run:
  agent-browser install --with-deps

Installing Chrome...
✓ Chrome 158.0.8127.88 installed
agent-browser skills の追加
npx skills add vercel-labs/agent-browser

███████╗██╗  ██╗██╗██╗     ██╗     ███████╗
██╔════╝██║ ██╔╝██║██║     ██║     ██╔════╝
███████╗█████╔╝ ██║██║     ██║     ███████╗
╚════██║██╔═██╗ ██║██║     ██║     ╚════██║
███████║██║  ██╗██║███████╗███████╗███████║
╚══════╝╚═╝  ╚═╝╚═╝╚══════╝╚══════╝╚══════╝

┌   skills 
│
◇  Source: https://github.com/vercel-labs/agent-browser.git
│
◇  Found 1 skill
│
●  Skill: agent-browser
│
│  Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.
│
◇  79 agents
◇  Which agents do you want to install to?
│  Amp, Cline, Codex, Cursor, Droid, fx, Gemini CLI, GitHub Copilot, Kilo Code, Kimi Code CLI, OpenCode, Pi, Warp, Zed, Hermes Agent
│
◇  Installation scope
│  Global
│
◇  Installation method
│  Symlink (Recommended)

│
◇  Installation Summary ──────────────────────────────────╮
│                                                         │
│  ~/.agents/skills/agent-browser                         │
│    universal: Amp, Cline, Codex, Cursor, Droid +9 more  │
│    symlink → Hermes Agent                               │
│                                                         │
├─────────────────────────────────────────────────────────╯
│
◇  Security Risk Assessments ───────────────────────────────────╮
│                                                               │
│                 Gen               Socket            Snyk      │
│  agent-browser  Safe              0 alerts          Med Risk  │
│                                                               │
│  Details: https://skills.sh/vercel-labs/agent-browser         │
│                                                               │
├───────────────────────────────────────────────────────────────╯
│
◇  Proceed with installation?
│  Yes
│
◇  Installation complete

│
◇  Installed 1 skill ─────────────────────────────────────╮
│                                                         │
│  ✓ ~/.agents/skills/agent-browser                       │
│    universal: Amp, Cline, Codex, Cursor, Droid +9 more  │
│    symlinked: Hermes Agent                              │
│                                                         │
├─────────────────────────────────────────────────────────╯

│
└  Done!  Review skills before use; they run with full agent permissions.
agent-browser MCP の追加
  # ~/.hermes/config.yaml
  ...
  mcp_servers:
+   agent-browser:
+     command: "agent-browser"
+     args: ["mcp"]
  ...
agent-desktop のインストール
npm install -g agent-desktop --allow-scripts=agent-desktop

added 1 package in 254ms
agent-desktop status
{
  "version": "2.6",
  "ok": true,
  "command": "status",
  "data": {
    "permissions": {
      "accessibility": { "state": "granted" },
      "automation": { "state": "not_required" },
      "screen_recording": { "state": "not_required" }
    },
    "platform": "linux",
    "ref_count": 77,
    "session_id": null,
    "snapshot_id": null,
    "state_root": "/home/ubuntu/.agent-desktop",
    "supported_surfaces": ["window", "sheet", "alert", "menu"],
    "tracing": false,
    "version": "1.3.1"
  }
}
agent-desktop skills の追加
npx skills add https://github.com/vercel-labs/agent-desktop --skill agent-desktop

███████╗██╗  ██╗██╗██╗     ██╗     ███████╗
██╔════╝██║ ██╔╝██║██║     ██║     ██╔════╝
███████╗█████╔╝ ██║██║     ██║     ███████╗
╚════██║██╔═██╗ ██║██║     ██║     ╚════██║
███████║██║  ██╗██║███████╗███████╗███████║
╚══════╝╚═╝  ╚═╝╚═╝╚══════╝╚══════╝╚══════╝

┌   skills
│
◇  Source: https://github.com/vercel-labs/agent-desktop.git
│
◇  Repository cloned
│
◇  Found 8 skills
│
●  Selected 1 skill: agent-desktop
│
◇  79 agents
◇  Which agents do you want to install to?
│  Amp, Cline, Codex, Cursor, Droid, fx, Gemini CLI, GitHub Copilot, Kilo Code, Kimi Code CLI, OpenCode, Pi, Warp, Zed, Hermes Agent
│
◇  Installation scope
│  Global
│
◇  Installation method
│  Symlink (Recommended)

│
◇  Installation Summary ──────────────────────────────────────╮
│                                                             │
│  ~/.agents/skills/agent-desktop                             │
│    universal: Amp, Cline, Codex, Cursor, Droid +9 more      │
│    symlink → Hermes Agent                                   │
│    overwrites: Cline, Codex, fx, Kimi Code CLI, Pi +3 more  │
│                                                             │
├─────────────────────────────────────────────────────────────╯
│
◇  Security Risk Assessments ────────────────────────────────────╮
│                                                                │
│                 Gen               Socket            Snyk       │
│  agent-desktop  Safe              0 alerts          High Risk  │
│                                                                │
│  Details: https://skills.sh/vercel-labs/agent-desktop          │
│                                                                │
├────────────────────────────────────────────────────────────────╯
│
◇  Proceed with installation?
│  Yes
│
◇  Installation complete

│
◇  Installed 1 skill ─────────────────────────────────────╮
│                                                         │
│  ✓ ~/.agents/skills/agent-desktop                       │
│    universal: Amp, Cline, Codex, Cursor, Droid +9 more  │
│    symlinked: Hermes Agent                              │
│                                                         │
├─────────────────────────────────────────────────────────╯

│
└  Done!  Review skills before use; they run with full agent permissions.
agent-desktop MCP の追加
  # ~/.hermes/config.yaml
  ...
  mcp_servers:
    agent-browser:
      command: "agent-browser"
      args: ["mcp"]
+   agent-desktop:
+     command: "agent-desktop"
+     args: ["mcp"]
  ...
Hermes Agent の実行
hermes

Hermes CLI

参考にしたページ