plugin API · NousResearch/hermes-agent
Middleware API
Lets enabled plugins rewrite LLM or tool requests and wrap their execution callbacks.
Location
Repository path
docs/middleware/README.mdInvocation
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