Repository navigation
Conversation
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
marked this pull request as ready for review
November 23, 2026 16:12
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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!intoinit.scm, which nobody finds unless they read thestdlib 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-acpordsh. Itssession reports model and reasoning effort as ACP config options (so
model-config #t, as with antigravity and dsh), sign-in ishermes loginoutside the editor, and its model list arrives by probe rather than by an
acceptspattern — a harness that serves several providers serves everythingits session lists.
The change
scheme/stdlib/agent-connectors/agent-connectors.scm: a 14-line declarationin 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): fourcontract tests — declared in the catalog, pointed at
hermes-acp, degradesto 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-surfaceassert fails identically onpristine main, unchanged here).
COMPOS_HOME, noinit.scm, nothingregistered by the user):
(connector-names)containshermesand(connector-config "hermes")reads the declaration above.the Hermes Agent card, its Test button runs one real turn (replied in 9.3 s),
Use thismakes it the default, a chat buffer streams a Hermes reply withusage accounting, and
agent-switch(from chat: agent-switch offers what the connector backend reported #19) offers its probed modelcatalog — 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