Skip to content

docs(contributing): document Hermes as a knowledge-layer agent#1088

Open
QuantumEdu wants to merge 2 commits into
Gentleman-Programming:mainfrom
QuantumEdu:docs/hermes-knowledge-layer
Open

docs(contributing): document Hermes as a knowledge-layer agent#1088
QuantumEdu wants to merge 2 commits into
Gentleman-Programming:mainfrom
QuantumEdu:docs/hermes-knowledge-layer

Conversation

@QuantumEdu

@QuantumEdu QuantumEdu commented Jul 10, 2026

Copy link
Copy Markdown

Closes #966

🏷️ PR Type

  • type:docs — Documentation only

📝 Summary

Document Hermes as a detect-only knowledge-layer agent in the Gentle-AI ecosystem. Adds a new ## Hermes — Knowledge-Layer Agent section to CONTRIBUTING.md and updates the README.md agent table with a proper knowledge-layer description.

📂 Changes

File / Area What Changed
CONTRIBUTING.md Added ## Hermes — Knowledge-Layer Agent section covering capabilities (StrategyMarkdownSections, StrategyMergeIntoYAML), why-it-matters, and contributing guidelines
README.md Updated Hermes row in agent table — now reads "Knowledge-layer agent — YAML MCP config via StrategyMergeIntoYAML, SOUL.md persona; install manually first"

🧪 Test Plan

go test ./...  # all pass
  • Unit tests pass (go test ./...)
  • E2E tests — N/A (docs-only change, no E2E coverage needed)
  • Manually verified both files render correctly

✅ Contributor Checklist

  • PR is linked to an issue with status:approved
  • PR stays within 400 changed lines (22 insertions, 1 deletion)
  • I have added the appropriate type:* label to this PR
  • Unit tests pass (go test ./...)
  • E2E tests pass — N/A, docs only
  • I have updated documentation if necessary
  • My commits follow Conventional Commits format
  • My commits do not include Co-Authored-By trailers

Summary by CodeRabbit

  • Documentation
    • Added a new guide for the Hermes knowledge-layer agent, explaining manual installation, configuration options, and what it can’t do (no subagents, slash commands, or custom output styles).
    • Documented how Hermes integrates via marker-based prompt injection and how its YAML MCP configuration is merged into config.yaml without overwriting user content outside the managed MCP section.
    • Updated the supported agents table to clearly label Hermes and describe its configuration handling approach.

Document Hermes as a detect-only knowledge-layer agent. Add agent
section to CONTRIBUTING.md covering capabilities (StrategyMarkdownSections,
StrategyMergeIntoYAML), why it matters as a reference implementation for
non-coding agents, and contributing guidelines. Update Hermes row in
README.md agent table with proper knowledge-layer description.
Copilot AI review requested due to automatic review settings July 10, 2026 03:10
@coderabbitai

coderabbitai Bot commented Jul 10, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The documentation identifies Hermes as a detect-only knowledge-layer agent, describes its SOUL.md and YAML MCP integrations, documents contribution constraints, and updates the README agent table.

Changes

Hermes documentation

Layer / File(s) Summary
Document Hermes integration
CONTRIBUTING.md, README.md
Adds Hermes contribution guidance covering integration points and constraints, and updates the supported-agents table to reference StrategyMergeIntoYAML, SOUL.md, and manual installation.

Estimated code review effort: 1 (Trivial) | ~5 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the documentation-focused Hermes knowledge-layer update.
Linked Issues check ✅ Passed The docs cover Hermes's detect-only role, SOUL.md and YAML MCP strategies, skills dir, manual install, and no auto-install.
Out of Scope Changes check ✅ Passed The changes are limited to documentation updates in CONTRIBUTING.md and README.md, with no unrelated scope added.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@CONTRIBUTING.md`:
- Around line 227-232: Qualify the YAML preservation claims in the “YAML MCP
config” and “Why It Matters” sections: state that StrategyMergeIntoYAML
preserves user content outside the managed MCP block, while an existing managed
context7 block may be replaced or updated. Avoid wording that implies all user
configuration remains immutable.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: dc9f4a1b-4358-421c-9fa8-bb10693d3ee5

📥 Commits

Reviewing files that changed from the base of the PR and between b22a7eb and b2c02c8.

📒 Files selected for processing (2)
  • CONTRIBUTING.md
  • README.md

Comment thread CONTRIBUTING.md Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates project documentation to more clearly position Hermes as a detect-only, knowledge-layer agent in the Gentle-AI ecosystem, including its MCP YAML merge strategy and contributor-facing guidance.

Changes:

  • Expands the Hermes description in the README agent table to explicitly call it a “knowledge-layer agent” and reference its YAML MCP strategy.
  • Adds a dedicated “Hermes — Knowledge-Layer Agent” section to CONTRIBUTING.md describing capabilities, rationale, and contributor notes.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.

File Description
README.md Updates the Hermes row in the supported agents table to clarify its knowledge-layer role and YAML MCP strategy.
CONTRIBUTING.md Adds a Hermes section documenting capabilities and contribution notes for the Hermes adapter/strategies.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md Outdated
| **Trae** | Solo-agent | Desktop app by ByteDance; `~/.trae/skills/` + OS-specific rules |
| **Pi** | Full (package-managed subagents) | `gentle-pi` harness with persona/model commands + Engram memory |
| **Hermes** | Detect-only | YAML MCP config, SOUL.md persona; install manually first |
| **Hermes** | Detect-only | Knowledge-layer agent — YAML MCP config via StrategyMergeIntoYAML, SOUL.md persona; install manually first |
Comment thread CONTRIBUTING.md Outdated

## Hermes — Knowledge-Layer Agent

Hermes is a detect-only agent in the Gentle-AI ecosystem. Unlike coding agents (Claude Code, OpenCode, Cursor), Hermes does not receive Gentle-AI-injected skills directories at install time, has no system prompt injection targets beyond SOUL.md, and does not support subagents.
Comment thread CONTRIBUTING.md Outdated

- **SOUL.md system prompt** — injected via `StrategyMarkdownSections`, which uses marker-based insertion into existing prompt files.
- **YAML MCP config** — injected via `StrategyMergeIntoYAML`, which merges MCP server blocks into `config.yaml` without overwriting user configuration.
- **Skills directory** — Gentle-AI recognizes `~/.hermes/skills/` for user-managed skills.
Comment thread CONTRIBUTING.md Outdated

### Why It Matters

Hermes's YAML MCP strategy is the reference implementation for non-coding agents that need MCP configuration. If you are building a knowledge-layer integration (MCP servers for context, memory, or retrieval), Hermes's YAML merge strategy is the adapter pattern to follow. It demonstrates how to inject MCP configuration into a YAML-structured config file without parsing, templating, or conflicting with existing user entries.
Comment thread CONTRIBUTING.md Outdated

- Hermes cannot be auto-installed. It must be installed manually before Gentle-AI detects it.
- Adapter location: `internal/agents/hermes/adapter.go`
- All `SupportTier` methods return `TierFull` for display purposes only; there is no auto-install path.
@QuantumEdu

Copy link
Copy Markdown
Author

I wasn't able to add the type:docs label through the CLI because my current token lacks the required read:org scope for label edits on this repo.

The PR body already marks type:docs, but the automated Check PR Has type:* Label check needs the actual label applied to pass.

Could a maintainer add the type:docs label when convenient? Thanks!

Copilot AI review requested due to automatic review settings July 10, 2026 03:54

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@README.md`:
- Line 47: Update the README supported-agents heading from “15 Supported Agents”
to “16 Supported Agents” to reflect the addition of Hermes.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 5fcfd14a-edad-4cd9-ac1b-d4eefcafe925

📥 Commits

Reviewing files that changed from the base of the PR and between b2c02c8 and b9fe521.

📒 Files selected for processing (2)
  • CONTRIBUTING.md
  • README.md

Comment thread README.md
| **Trae** | Solo-agent | Desktop app by ByteDance; `~/.trae/skills/` + OS-specific rules |
| **Pi** | Full (package-managed subagents) | `gentle-pi` harness with persona/model commands + Engram memory |
| **Hermes** | Detect-only | YAML MCP config, SOUL.md persona; install manually first |
| **Hermes** | Detect-only | Knowledge-layer agent — YAML MCP config via `StrategyMergeIntoYAML`, `SOUL.md` persona; install manually first |

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Update the supported-agent count.

Adding Hermes brings the table to 16 agents, but the heading still says 15 Supported Agents. Update the heading to 16 Supported Agents.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@README.md` at line 47, Update the README supported-agents heading from “15
Supported Agents” to “16 Supported Agents” to reflect the addition of Hermes.

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.

docs: document Hermes as a knowledge-layer agent with its MCP YAML strategy

2 participants