Skip to content

feat: add Hermes Agent as a gstack host#936

Open
el-analista wants to merge 1 commit intogarrytan:mainfrom
el-analista:feat/hermes-host
Open

feat: add Hermes Agent as a gstack host#936
el-analista wants to merge 1 commit intogarrytan:mainfrom
el-analista:feat/hermes-host

Conversation

@el-analista
Copy link
Copy Markdown

@el-analista el-analista commented Apr 9, 2026

Summary

Inspired by openclaw integration here is the addition to hermes-agent, in my opinion a much better agent than openclaw right now. I have been testing same prompt using gstack claude-code, gstack hermes with gpt5.4, gstack hermes with minimax and surprisingly gstack hermes with minimax was almost always the best plan 0_0

  • Adds Hermes as a new host target for gstack's multi-platform skill generation
  • Hermes is an open-source AI agent platform (Telegram, CLI, Discord) with its own tool naming convention (terminal, read_file, write_file, patch, search_files, clarify, delegate_task)
  • Wires up the adapter system in gen-skill-docs.ts that was previously defined in the type system but never consumed (also fixes OpenClaw's adapter)

Files

File What
hosts/hermes.ts Host config: tool rewrites, path rewrites, suppressed resolvers
scripts/host-adapters/hermes-adapter.ts Semantic transforms: AskUserQuestion→clarify, Agent→delegate_task, PlanMode→prose, learnings→memory, SOUL.md awareness
scripts/gen-skill-docs.ts Wire up adapter loading (7 lines)
hosts/index.ts Register hermes in host list
.github/workflows/skill-docs.yml CI freshness check for Hermes generated docs
.gitignore Exclude .hermes/ generated output
test/host-config.test.ts 6 new test cases

Test plan

  • bun test test/host-config.test.ts passes (75/78, 3 pre-existing golden-file failures unrelated to this PR)
  • bun run gen:skill-docs --host hermes generates 35 skill docs with correct tool name rewrites
  • Tested end-to-end: Hermes running /office-hours skill via Telegram with GPT-5.4 produced a full interactive design session
  • Verify CI workflow catches stale Hermes docs

Add Hermes (open-source AI agent platform) as a new host target for
gstack's multi-platform skill generation system.

- hosts/hermes.ts: host config with tool name mappings
  (Bash→terminal, Read→read_file, Edit→patch, Grep→search_files),
  path rewrites, and suppressed Claude-specific resolvers
- scripts/host-adapters/hermes-adapter.ts: semantic transforms for
  AskUserQuestion→clarify, Agent→delegate_task, PlanMode→prose,
  learnings→memory tool, SOUL.md awareness, skill_manage hint
- scripts/gen-skill-docs.ts: wire up adapter system that was
  previously defined but never consumed (fixes both Hermes and
  OpenClaw adapters)
- .github/workflows/skill-docs.yml: CI freshness check for Hermes
- .gitignore: exclude .hermes/ generated output
- test/host-config.test.ts: 6 new test cases for Hermes config
@el-analista el-analista marked this pull request as ready for review April 9, 2026 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant