Hermes Agent の Kanban に投入したタスクを分割して複数エージェントに実行させる

llm

Hermes Agent は Claude Code や Codex CLI のような対話式の TUI に加え、cron や Slack などのメッセージを受信して処理を行う常駐の gateway プロセスを備えた OSS のエージェント。 各種モデルに対応しており gateway を動かす環境にも制約がないためベンダーロックインがないのが強み。ただし Nous Portal という公式のクラウド環境もある。機能的に進んだものが多いが、後追いで他のツールでも実装されることが多い。

インストールして初期設定を行う。

$ curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
$ hermes
...
Select provider:
  ↑↓ navigate  ENTER/SPACE select  ESC cancel

   () Nous Portal (Everything your agent needs, 300+ models with bundled tool use)
   () Fireworks AI (OpenAI-compatible direct model API)
   () OpenRouter (Pay-per-use API aggregator)
   () Mixture of Agents (named presets; aggregator acts after reference models)
   () NovitaAI (Cloud: Model API, Agent Sandbox, GPU Cloud)
   () LM Studio (Local desktop app with built-in model server)
   () Anthropic (Claude models via API key or Claude Code)
() OpenAI ▸ (Codex CLI or direct OpenAI API)
   () Qwen Cloud / DashScope (Qwen + multi-provider)
   () xAI Grok ▸ (Direct API or SuperGrok / Premium+ OAuth)
   () Xiaomi MiMo (MiMo-V2.5 and V2 models: pro, omni, flash)
   () Tencent TokenHub (Hy3 Preview via tokenhub.tencentmaas.com)
   () NVIDIA NIM (Nemotron models via build.nvidia.com or local NIM)
   () GitHub Copilot ▸ (GitHub token API or copilot --acp process)
   () Hugging Face Inference Providers
   () Google AI Studio (Native Gemini API)
   () Google Vertex AI (Gemini via GCP; OAuth2 service account or ADC, GCP billing/quotas)
   () DeepSeek (V3, R1, coder, direct API)
   () Z.AI / GLM (Zhipu direct API)
   () Kimi / Moonshot ▸ (Coding Plan, Moonshot global & China endpoints)
   () StepFun Step Plan (Agent / coding models via Step Plan API)
   () MiniMax ▸ (Global, OAuth Coding Plan & China endpoints)
   () Ollama Cloud (Cloud-hosted open models, ollama.com)
   () Arcee AI (Trinity models, direct API)

gateway を起動する。

$ hermes gateway install
$ hermes gateway start

ダッシュボードの Kanban を開いて Triage にタスクを追加すると gateway によって拾われた後、タスクが起動しステータスが更新される。

$ hermes dashboard

独立した設定、スキルやメモリを持つ Profile を作成することで、各タスクを異なるエージェントに実行させることができる。 swarm で Profile を指定するか、triage でタスクを作成すると、worker, verifier, synthesizer 用にタスクが分割される。 worker は並列で実行され、全て完了すると verifier、検証を通ると synthesizer が順に起動する。

$ hermes profile create researcher-a --description "Research official documentation and extract key technical facts"
$ hermes profile create researcher-b --description "Research community feedback, real-world usage, and case studies"
$ hermes profile create reviewer --description "Verify accuracy and completeness of research findings"
$ hermes profile create writer --description "Synthesize verified findings into a single coherent document"
$ for p in researcher-a researcher-b reviewer writer; do
    cp ~/.hermes/config.yaml ~/.hermes/profiles/$p/config.yaml
  done
$ hermes kanban swarm "Research the Hermes Kanban feature and write a summary" \
    --worker "researcher-a:Research official documentation" \
    --worker "researcher-b:Research community feedback and case studies" \
    --verifier reviewer \
    --synthesizer writer
# or
$ hermes kanban create "Research the Hermes Kanban feature and write a summary" --triage