Skip to content

feat(connectors): declare the Hermes Agent in the connector catalog - #22

Open
hr1juldey wants to merge 1 commit into
svs:mainfrom
hr1juldey:feat/hermes-connector
Open

hr1juldey wants to merge 1 commit into
svs:mainfrom
hr1juldey:feat/hermes-connector

Conversation

@hr1juldey

Copy link
Copy Markdown
Contributor

The problem

compos's promise is that agents and humans share one editor — but the connector
catalog ships Claude Code, Codex, OpenCode, Kimi, Gemini and DeepSeek, and not
Hermes Agent, a local agent harness that already speaks ACP. A compos user who
runs Hermes gets no card in Setup: the only way in today is hand-writing a
define-connector! into init.scm, which nobody finds unless they read the
stdlib source. The harness, its ACP adapter and its sign-in story all exist;
the only missing piece is a row in the catalog.

What Hermes is, in compos's terms

Hermes Agent is a local agent harness (GPL, self-hosted). It ships hermes-acp,
which speaks ACP — the editor starts it like claude-agent-acp or dsh. Its
session reports model and reasoning effort as ACP config options (so
model-config #t, as with antigravity and dsh), sign-in is hermes login
outside the editor, and its model list arrives by probe rather than by an
accepts pattern — a harness that serves several providers serves everything
its session lists.

The change

  • scheme/stdlib/agent-connectors/agent-connectors.scm: a 14-line declaration
    in the same shape as the other agent connectors (cmd / title / description /
    model-config / signin). No install line yet — unlike npm-shipped adapters I
    don't know a stable one-command install for Hermes on every platform, and a
    wrong install command is worse than none; the Setup card says what's missing.
  • scheme/stdlib/agent-connectors/agent-connectors-test.scm (new): four
    contract tests — declared in the catalog, pointed at hermes-acp, degrades
    to data when the binary is absent, honours
    agent-connector-command-overrides, and re-declaration stays idempotent.
  • docs/08. MODELS + CONNECTORS.md: the agent row lists hermes.

Tested with

  • SCHEME_TESTS=agent-connectors mix test --include packages … — 2 tests,
    0 failures (the four hermes contracts registered and ran; the llm-setup
    suite's the-modelline-names-the-tool-surface assert fails identically on
    pristine main, unchanged here).
  • Boot proof on a clean daemon (fresh COMPOS_HOME, no init.scm, nothing
    registered by the user): (connector-names) contains hermes and
    (connector-config "hermes") reads the declaration above.
  • Live end-to-end on a machine with Hermes installed: the Setup wizard shows
    the Hermes Agent card, its Test button runs one real turn (replied in 9.3 s),
    Use this makes it the default, a chat buffer streams a Hermes reply with
    usage accounting, and agent-switch (from chat: agent-switch offers what the connector backend reported #19) offers its probed model
    catalog — 12 zai models — across daemon restarts.

Open question for you

Built-in catalog row (this PR — zero user action, matches the deepseek /
opencode pattern) versus an installable community package (scheme/packages/,
user runs package-install first). I chose built-in because the flow above only
works if the card is already in Setup; happy to move it if you'd rather keep
the catalog curated smaller.

Issue: #21

Hermes Agent is a local harness that ships hermes-acp and speaks ACP.
The declaration gives it the same Setup flow as the other agent
connectors: card, one-turn test, default, probed model catalog.
Four contract tests cover declaration, override, absence and
idempotence; the docs table names it.
@hr1juldey
hr1juldey marked this pull request as ready for review November 23, 2026 16:12
@hr1juldey

Copy link
Copy Markdown
Contributor Author

@svs sir added hermes support as a connector for now then will make is a native feature

This branch has not been deployed

No deployments
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