/ 目錄 / 演練場 / OpenAgent
● 社群 the-open-agent ⚡ 即開即用

OpenAgent

作者 the-open-agent · the-open-agent/openagent

Open-source personal agent with both computer-use and coding-agent modes — exposes its capabilities to Claude via MCP.

OpenAgent runs as a local assistant with two modes: computer-use (screen + input) and coding (file edits + shell). Both are exposed via MCP so Claude Code can delegate desktop or repo work to it.

為什麼要用

核心特性

即時演示

實際使用效果

就緒

安裝

選擇你的客戶端

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "openagent-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@open-agent/mcp"
      ]
    }
  }
}

開啟 Claude Desktop → Settings → Developer → Edit Config。儲存後重啟應用。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "openagent-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@open-agent/mcp"
      ]
    }
  }
}

Cursor 使用與 Claude Desktop 相同的 mcpServers 格式。專案級設定優先於全域。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "openagent-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@open-agent/mcp"
      ]
    }
  }
}

點擊 Cline 側欄中的 MCP Servers 圖示,然後選 "Edit Configuration"。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "openagent-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@open-agent/mcp"
      ]
    }
  }
}

格式與 Claude Desktop 相同。重啟 Windsurf 生效。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "openagent-mcp",
      "command": "npx",
      "args": [
        "-y",
        "@open-agent/mcp"
      ]
    }
  ]
}

Continue 使用伺服器物件陣列,而非映射。

~/.config/zed/settings.json
{
  "context_servers": {
    "openagent-mcp": {
      "command": {
        "path": "npx",
        "args": [
          "-y",
          "@open-agent/mcp"
        ]
      }
    }
  }
}

加入 context_servers。Zed 儲存後熱重載。

claude mcp add openagent-mcp -- npx -y @open-agent/mcp

一行命令搞定。用 claude mcp list 驗證,claude mcp remove 移除。

使用場景

實戰用法: OpenAgent

Delegate a fiddly desktop task to OpenAgent

👤 Developers ⏱ ~15 min intermediate

何時使用: You want Claude to drive a GUI app it can't directly control.

步驟
  1. Bridge
    Run OpenAgent locally; Claude lists its tools.✓ 已複製
    → Tools visible
  2. Delegate
    Ask Claude to call into OpenAgent for the GUI step.✓ 已複製
    → Step runs
  3. Verify
    Inspect the run trace before accepting results.✓ 已複製
    → Audit done

結果: Claude completes a GUI step by handing it off.

組合

與其他 MCP 搭配,撬動十倍槓桿

openagent-mcp + holaos-mcp

OpenAgent for laptop control; HolaOS for sandboxed agent desktop

Combine openagent-mcp with holaos-mcp: OpenAgent for laptop control; HolaOS for sandboxed agent desktop✓ 已複製

工具

此 MCP 暴露的能力

工具輸入參數何時呼叫成本
gui_act (see docs) Run a computer-use action 1 call
code_edit (see docs) Run a coding-agent edit 1 call

成本與限制

運行它的成本

API 配額
Local + LLM
每次呼叫 Token 數
Computer-use is screenshot-heavy → expensive
費用
Free OSS; LLM costs
提示
Prefer code mode when the task is text-friendly

安全

權限、密鑰、影響範圍

最小權限: screen-capture input-injection
憑證儲存: Local config in user dir
資料出站: Configured LLM provider
切勿授予: Leave computer-use running on a machine with secrets visible

故障排查

常見錯誤與修復

GUI action misses target

Increase screenshot resolution or use OCR mode

替代方案

OpenAgent 對比其他方案

替代方案何時用它替代權衡
UI-TARS-desktopYou want a heavier multimodal stackMore resources

更多

資源

📖 閱讀 GitHub 上的官方 README

🐙 查看未解決的 issue

🔍 瀏覽全部 400+ MCP 伺服器和 Skills