Skip to main content
Glama
BarnsL
by BarnsL

🧬 What is Hermes Squad?

Hermes Squad is a multi-agent AI orchestrator combining Claude Squad's session management with Hermes Agent's self-improving intelligence. It integrates natively with Amazon Quick and Kiro via ACP/MCP.

Run multiple AI coding agents in parallel, each in isolated tmux sessions with full git worktree support, while a meta-orchestration layer learns from outcomes, routes tasks intelligently, and continuously improves agent performance.

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    HERMES SQUAD                          β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  Claude Codeβ”‚   Kiro CLI  β”‚  Gemini CLI β”‚ Hermes Agent β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”  β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”  β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”  β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”   β”‚
β”‚  β”‚ tmux  β”‚  β”‚  β”‚ tmux  β”‚  β”‚  β”‚ tmux  β”‚  β”‚  β”‚ tmux  β”‚   β”‚
β”‚  β”‚sessionβ”‚  β”‚  β”‚sessionβ”‚  β”‚  β”‚sessionβ”‚  β”‚  β”‚sessionβ”‚   β”‚
β”‚  β””β”€β”€β”€β”¬β”€β”€β”€β”˜  β”‚  β””β”€β”€β”€β”¬β”€β”€β”€β”˜  β”‚  β””β”€β”€β”€β”¬β”€β”€β”€β”˜  β”‚  β””β”€β”€β”€β”¬β”€β”€β”€β”˜   β”‚
β”‚      β”‚      β”‚      β”‚      β”‚      β”‚      β”‚      β”‚       β”‚
β”‚  β”Œβ”€β”€β”€β”΄β”€β”€β”€β”  β”‚  β”Œβ”€β”€β”€β”΄β”€β”€β”€β”  β”‚  β”Œβ”€β”€β”€β”΄β”€β”€β”€β”  β”‚  β”Œβ”€β”€β”€β”΄β”€β”€β”€β”   β”‚
β”‚  β”‚  git  β”‚  β”‚  β”‚  git  β”‚  β”‚  β”‚  git  β”‚  β”‚  β”‚  git  β”‚   β”‚
β”‚  β”‚worktreeβ”‚ β”‚  β”‚worktreeβ”‚ β”‚  β”‚worktreeβ”‚ β”‚  β”‚worktreeβ”‚  β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚           🧠 Self-Improving Intelligence Layer          β”‚
β”‚         (outcome tracking Β· skill graphs Β· routing)     β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚        πŸ”Œ ACP/MCP Integration (Quick Β· Kiro Β· IDE)      β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Related MCP server: mcp-switchboard

✨ Features

Feature

Description

🧠

Self-Improving Intelligence

Learns from task outcomes, builds skill graphs, improves routing over time

πŸͺŸ

Tmux Session Management

Each agent runs in an isolated tmux session with full terminal access

🌳

Git Worktree Isolation

Parallel agents work on separate branches without conflicts

🎯

Intelligent Task Routing

Automatically assigns tasks to the best-suited agent based on history

πŸ”„

Hot-Swap Agents

Switch between agents mid-task without losing context

πŸ“‘

ACP/MCP Native

First-class integration with Amazon Quick Desktop, Kiro IDE, and MCP servers

🎨

Rich TUI

Beautiful terminal interface with real-time agent status and output

πŸ“Š

Performance Analytics

Track agent success rates, completion times, and cost metrics

πŸ”’

Sandboxed Execution

Agents run in isolated environments with configurable permissions

🧩

Plugin Architecture

Extend with custom agents, routers, and integrations

⚑

Parallel Execution

Run multiple agents simultaneously on different tasks

πŸ”

Auto-Recovery

Detects failures and automatically retries or re-routes to another agent


πŸš€ Quick Start

One-Line Install

curl -fsSL https://hermes-squad.dev/install.sh | bash

Homebrew

brew tap barnsl/hermes-squad
brew install hermes-squad

Manual Install

git clone https://github.com/barnsl/hermes-squad.git
cd hermes-squad
make install

Verify Installation

hermes-squad --version
# Hermes Squad v0.1.0

First Run

# Start the TUI
hermes-squad

# Or launch with a specific task
hermes-squad run "Refactor the auth module to use JWT tokens"

# Launch multiple agents in parallel
hermes-squad parallel \
  --agent claude-code "Write unit tests for auth" \
  --agent kiro "Update API documentation" \
  --agent gemini "Optimize database queries"

πŸ“Έ Demo

Screenshot: Three agents working in parallel β€” Claude Code writing tests, Kiro updating docs, and Gemini optimizing queries.

TUI Overview

Agent Detail

Performance Dashboard

TUI

Agent

Dashboard


βš™οΈ Configuration

Hermes Squad uses a layered configuration system:

~/.config/hermes-squad/config.toml    # Global config
.hermes-squad/config.toml             # Project-level config
.hermes-squad/agents.toml             # Agent definitions
.hermes-squad/skills.toml             # Learned skill graphs

Minimal Configuration

# ~/.config/hermes-squad/config.toml

[general]
default_agent = "claude-code"
parallel_limit = 4
auto_commit = true

[intelligence]
learning_enabled = true
skill_graph_path = "~/.config/hermes-squad/skills.db"
routing_strategy = "performance"  # "performance" | "cost" | "round-robin" | "manual"

[integrations.quick]
enabled = true
acp_endpoint = "localhost:7862"

[integrations.kiro]
enabled = true
acp_endpoint = "localhost:7863"

[tui]
theme = "dark"
show_metrics = true
split_view = "horizontal"

Agent Configuration

# .hermes-squad/agents.toml

[[agent]]
name = "claude-code"
binary = "claude"
args = ["--dangerously-skip-permissions"]
max_concurrent = 2
cost_weight = 0.8
specialties = ["refactoring", "testing", "architecture"]

[[agent]]
name = "kiro"
binary = "kiro-cli"
args = ["--agent-mode"]
max_concurrent = 1
cost_weight = 0.3
specialties = ["documentation", "specs", "planning"]

[[agent]]
name = "hermes"
binary = "hermes-agent"
args = ["--self-improve"]
max_concurrent = 1
cost_weight = 0.5
specialties = ["reasoning", "multi-step", "research"]

πŸ€– Supported Agents

Agent

Status

Specialties

Notes

Claude Code

βœ… Stable

Refactoring, Testing, Architecture

Primary agent, best all-rounder

Kiro CLI

βœ… Stable

Documentation, Specs, Planning

Spec-driven development

Codex

βœ… Stable

Code generation, Completion

Fast for targeted edits

Gemini CLI

βœ… Stable

Analysis, Optimization, Research

Strong on large codebases

Hermes Agent

βœ… Stable

Reasoning, Multi-step, Self-improvement

Meta-cognition layer

Aider

βœ… Stable

Pair programming, Git integration

Great for iterative changes

OpenCode

πŸ§ͺ Beta

Terminal-native coding

Lightweight alternative

Amp

πŸ§ͺ Beta

Codebase search, Navigation

Excellent for exploration

Adding Custom Agents

[[agent]]
name = "my-custom-agent"
binary = "/path/to/agent"
args = ["--flag"]
prompt_file = ".hermes-squad/prompts/custom.md"
specialties = ["domain-specific"]

πŸ”Œ Integrations

Amazon Quick Desktop (ACP)

Hermes Squad exposes an ACP server that Amazon Quick can connect to directly:

[integrations.quick]
enabled = true
acp_endpoint = "localhost:7862"
expose_tools = ["run_agent", "list_sessions", "get_status", "parallel_run"]
# Register with Quick Desktop
hermes-squad register --quick

Kiro IDE (ACP)

Native integration with Kiro's agent protocol for IDE-embedded orchestration:

[integrations.kiro]
enabled = true
acp_endpoint = "localhost:7863"
workspace_sync = true
# Register with Kiro
hermes-squad register --kiro

MCP Server

Expose Hermes Squad capabilities as an MCP server for any compatible client:

# Start MCP server
hermes-squad mcp serve --port 8080

# Or add to MCP config
{
  "mcpServers": {
    "hermes-squad": {
      "command": "hermes-squad",
      "args": ["mcp", "serve"],
      "env": {
        "HERMES_SQUAD_CONFIG": "~/.config/hermes-squad/config.toml"
      }
    }
  }
}

MCP Tools Exposed

Tool

Description

hermes_run

Execute a task with intelligent agent routing

hermes_parallel

Run multiple tasks in parallel across agents

hermes_status

Get status of all active sessions

hermes_history

Query task history and outcomes

hermes_learn

Trigger learning from recent outcomes

hermes_config

View/update configuration


πŸ“š Documentation

Document

Description

Getting Started

Installation and first steps

Architecture

System design and internals

Agent Guide

Configuring and extending agents

Intelligence Layer

How self-improvement works

ACP Integration

Quick & Kiro integration guide

MCP Server

MCP server reference

CLI Reference

Complete CLI documentation

FAQ

Frequently asked questions

Troubleshooting

Common issues and fixes


πŸ—οΈ Project Structure

hermes-squad/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ core/           # Core orchestration engine
β”‚   β”œβ”€β”€ agents/         # Agent adapters and lifecycle
β”‚   β”œβ”€β”€ intelligence/   # Self-improving ML layer
β”‚   β”œβ”€β”€ session/        # Tmux session management
β”‚   β”œβ”€β”€ git/            # Git worktree operations
β”‚   β”œβ”€β”€ tui/            # Terminal UI (Ink/React)
β”‚   β”œβ”€β”€ integrations/   # ACP/MCP connectors
β”‚   └── cli/            # CLI entry point
β”œβ”€β”€ tests/              # Test suites
β”œβ”€β”€ docs/               # Documentation
β”œβ”€β”€ scripts/            # Build and release scripts
β”œβ”€β”€ .hermes-squad/      # Default project config
└── config/             # Default configuration templates

🀝 Contributing

We love contributions! Please see CONTRIBUTING.md for guidelines.

# Development setup
git clone https://github.com/barnsl/hermes-squad.git
cd hermes-squad
make dev-setup
make dev       # Start in development mode
make test      # Run tests
make lint      # Check code style

πŸ“„ License

MIT Β© 2026 BarnsL


πŸ™ Credits

Hermes Squad stands on the shoulders of giants:

  • Claude Squad β€” Session management architecture and TUI inspiration

  • Hermes Agent β€” Self-improving intelligence and skill graph concepts

  • Amazon Quick β€” ACP protocol and desktop integration

  • Kiro β€” IDE-native agent protocol and spec-driven development


Related MCP Connectors

Related MCP Servers