Skip to content

Investigate: integration paths with Hermes Agent #51

@antoinezambelli

Description

@antoinezambelli

Context

I've been looking at Hermes as a general-purpose agent framework — it has solid multi-channel support (CLI, Telegram, Discord, WhatsApp), persistent memory, and autonomous skill creation. I'd like to understand how forge could plug into it, either for my own use or as an option for forge users who want a full agent framework on top.

Integration paths to evaluate

1. Guardrails middleware (foreign loop)

Hermes controls orchestration; forge's Guardrails.check() / Guardrails.record() validates and enforces at each step. Lightest integration — two method calls, forge handles rescue parsing, step enforcement, and retry nudges.

2. Proxy server (transparent)

Point Hermes at forge's /v1/chat/completions proxy instead of directly at a local backend. Guardrails apply transparently, no code changes on Hermes's side.

3. Upstream contribution

Contribute rescue parsing directly into Hermes's tool-calling pipeline. Their local model path doesn't extract tool calls from plain text responses, which is where most small model failures happen.

To do

  • Map Hermes's tool-calling loop to identify where check() / record() would slot in
  • Test proxy path: point Hermes at forge-proxy with an 8B model, measure before/after
  • Evaluate rescue parsing as a standalone PR to Hermes (scope, API surface, tests needed)
  • Identify architectural constraints that would block middleware integration

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions