plugin API · NousResearch/hermes-agent

Middleware API

Lets enabled plugins rewrite LLM or tool requests and wrap their execution callbacks.

Type
plugin API
Repository
NousResearch/hermes-agent
Readiness
Documented for end-user installation across major desktop operating systems and remote deployments, with production readiness not independently established.
Keywords
7

Location

Repository path

docs/middleware/README.md

Invocation

ctx.register_middleware("llm_request"|"llm_execution"|"tool_request"|"tool_execution", callback)

Setup

Installation / activation

Register middleware from an enabled plugin's register(ctx) entry point.

Keywords

middlewareLLMtoolsrequest rewritingexecution wrappingpolicyrouting

Repository context

NousResearch/hermes-agent

MIT-licensed, model-provider-neutral autonomous agent platform with a Python runtime, terminal and native desktop interfaces, browser dashboard, messaging gateway, persistent memory, self-authored Agent Skills, MCP hosting, cron automation, tool middleware, and isolated subagent delegation; it is a standalone alternative or companion to Claude Code, not an evidenced Claude Code extension.

software engineeringpersonal automationagent infrastructureLLM orchestrationmessaging botsresearch data generationremote executiondesktop productivity

Open full repository research