feat: add Hermes as builtin agent

Closed
HA
2mo ago
+8-0

What & why

Adds Nous Research Hermes Agent as a builtin terminal agent so it can be launched from Superset like Claude, Codex, and the other presets.

Closes #5403.

Wired in packages/shared/src/builtin-terminal-agents.ts:

  • Interactive: hermes --yolo
  • Prompt: hermes chat --yolo -q (argv)
  • Included in default terminal presets

How I tested it

  • Confirmed Hermes appears under Settings → Agents after restarting desktop (bun dev)
  • Verified launch command is hermes --yolo and prompt launch uses hermes chat --yolo -q
  • Ran bun test in packages/shared for agent settings/models tests
  • Ran Biome check on the changed file and package typecheck
  • Manual launch requires the hermes CLI on PATH (hermes setup / hermes model with a non-Portal provider if you skip Nous card signup)

Checklist

  • PR title follows conventional commits (type(scope): subject)
  • bun run lint and bun run typecheck pass (CI fails on lint warnings too)
  • "Allow edits from maintainers" is checked on fork PRs

Summary by cubic

Adds Hermes as a built-in terminal agent so users can launch and prompt it from Superset. Provides a ready-to-use agent with the correct interactive and prompt commands.

  • New Features

    • Added Hermes to BUILTIN_TERMINAL_AGENTS in packages/shared/src/builtin-terminal-agents.ts.
    • Interactive command: hermes --yolo.
    • Prompt command: hermes --yolo chat -q.
  • Migration

    • Ensure the hermes CLI is installed and on PATH (hermes setup; configure a model/provider).

Summary by CodeRabbit

  • New Features
    • Added Hermes as a built-in terminal agent.
    • Hermes is now included in the default terminal presets, with ready-to-use commands and chat prompt configuration.