/ ディレクトリ / プレイグラウンド / Wegent
● コミュニティ wecode-ai ⚡ 即起動

Wegent

作者 wecode-ai · wecode-ai/Wegent

YAMLでエージェントチームを定義 — Wegentが実行し、共有メモリを管理し、スペシャリスト間で作業をルーティングします。

Wegentはエージェントチームを宣言的なアーティファクトとして扱います:役割、ハンドオフ、共有メモリのYAML仕様を書くと、Wegentがランタイムを提供します。単一エージェントのpromptでは不十分になった場合に役立ちます。

なぜ使うのか

主な機能

ライブデモ

実際の動作

準備完了

インストール

クライアントを選択

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "wegent-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/wecode-ai/Wegent"
      ],
      "_inferred": true
    }
  }
}

Claude Desktop → Settings → Developer → Edit Config を開く。保存後、アプリを再起動。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "wegent-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/wecode-ai/Wegent"
      ],
      "_inferred": true
    }
  }
}

Cursor は Claude Desktop と同じ mcpServers スキーマを使用。プロジェクト設定はグローバルより優先。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "wegent-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/wecode-ai/Wegent"
      ],
      "_inferred": true
    }
  }
}

Cline サイドバーの MCP Servers アイコンをクリックし、"Edit Configuration" を選択。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "wegent-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/wecode-ai/Wegent"
      ],
      "_inferred": true
    }
  }
}

Claude Desktop と同じ形式。Windsurf を再起動して反映。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "wegent-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/wecode-ai/Wegent"
      ]
    }
  ]
}

Continue はマップではなくサーバーオブジェクトの配列を使用。

~/.config/zed/settings.json
{
  "context_servers": {
    "wegent-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/wecode-ai/Wegent"
        ]
      }
    }
  }
}

context_servers に追加。保存時に Zed がホットリロード。

claude mcp add wegent-skill -- git clone https://github.com/wecode-ai/Wegent

ワンライナー。claude mcp list で確認、claude mcp remove で削除。

ユースケース

実用的な使い方: Wegent

スペシャリストチームを構成する

👤 Claude Codeユーザー ⏱ ~15 min intermediate

使うタイミング: 1つのエージェントでは不十分で、スペシャリスト間のハンドオフが必要な場合。

フロー
  1. 仕様定義
    team.ymlを書く — 役割+ハンドオフ。✓ コピーしました
    → 仕様が準備できている
  2. 実行
    wegent run team.yml task.md.✓ コピーしました
    → エージェントが順番に動いている
  3. 確認
    トレースを確認します。✓ コピーしました
    → 実行が記録されている

結果: 専用のオーケストレーターコードなしにマルチエージェント実行が完了します。

組み合わせ

他のMCPと組み合わせて10倍の力を

wegent-skill + harness-skill

Harnessでチームを設計し、Wegentで実行する

wegent-skillとharness-skillを組み合わせる:Harnessでチームを設計し、Wegentで実行する✓ コピーしました

ツール

このMCPが提供する機能

ツール入力呼び出すタイミングコスト
run / inspect (ドキュメント参照) 2つのフロー 1 call

コストと制限

運用コスト

APIクォータ
プロバイダーに依存
呼び出しあたりのトークン
N倍の通常量
金額
OSS無料;LLMのコスト
ヒント
役割ごとのtoken予算を上限設定する

セキュリティ

権限、シークレット、影響範囲

最小スコープ: multi-provider keys
認証情報の保管: APIキーを環境変数に保管
データ送信先: 設定したプロバイダー

トラブルシューティング

よくあるエラーと対処法

ハンドオフがループする

各役割に明示的な終了条件を追加してください

代替案

Wegent 他との比較

代替案代わりに使う場面トレードオフ
手書きのオーケストレーション単一チームのニーズの場合宣言的な仕様がない

その他

リソース

📖 GitHub の公式 README を読む

🐙 オープンな issue を見る

🔍 400以上のMCPサーバーとSkillsを見る