Claude Subscription DirectSDK (Experimental)
NousResearch/hermes-plugin-claude-subscription-directsdk Published by Nous Research
Official Hermes plugin that drives the Claude Code CLI as a model provider
Claude Subscription DirectSDK is an official, experimental Hermes Agent model-provider plugin that drives the unmodified Claude Code CLI as a request-scoped model client, so a Claude Pro or Max subscription can serve as a Hermes model provider.
What Claude Subscription DirectSDK (Experimental) does
The plugin speaks native stream-json directly to the claude binary rather than depending on the Python Agent SDK package, despite its name, while Hermes keeps its own normal agent loop, tools, approvals and compaction unchanged. It has no credentials of its own: every request goes through the already-authenticated claude CLI, and the plugin checks for that binary at every seam, failing with an install hint rather than a raw traceback when it is missing.
Native runs in their own process group so a cancelled request kills the whole process tree, including the Node child behind the npm shim, on Linux, macOS and Windows alike. A request-scoped loopback relay forwards only the first Messages request a native run attempts and rejects any further generations locally, since the underlying Claude Code CLI can attempt extra generations even with retries disabled; Hermes receives the first completed response, its real usage and its native stop reason.
Key features
- Model-provider plugin that runs the official, unmodified Claude Code CLI as its backend
- No separate credentials; relies entirely on an already-authenticated claude login
- Cross-platform process-group cancellation so a cancelled request kills the whole tree
- Request-scoped relay that admits only the first completed generation per request
- Clear install-hint failures at every seam instead of raw subprocess errors
When to use it
- Using an existing Claude Pro or Max subscription as a Hermes Agent model provider
- Running Sonnet, Opus or Haiku models through Hermes without separate API billing
- Getting Hermes' normal tool loop and approvals while the model calls stay subscription-based
Who it is for: Hermes Agent users with a Claude Pro or Max subscription who want to use it as a model provider instead of paying for API access separately.
How it fits with Hermes Agent
This is an official NousResearch-maintained Hermes Agent plugin, requiring Hermes Agent 0.21.4 or newer and registering directly as a model-provider plugin with no extra config entry needed.
How to install Claude Subscription DirectSDK (Experimental)
These commands are copied from the project's README. Check the repository for the latest steps before you run them.
hermes plugins install claude-subscription-directsdk
claude auth login
hermes modelRequirements: Hermes Agent 0.21.4+, Python 3.10+ on Linux, macOS or Windows, and the official Claude Code CLI installed and logged in
Note: Marked experimental by NousResearch; single-request admission is implemented and live-qualified, but truncated streams and upstream HTTP errors still surface as failures.
FAQ
What is Claude Subscription DirectSDK (Experimental)?
It is an official, experimental Hermes Agent plugin that drives the unmodified Claude Code CLI as a model provider, letting a Claude Pro or Max subscription serve Hermes' model calls.
Does it work with Hermes Agent?
Yes, it is an official NousResearch plugin that requires Hermes Agent 0.21.4 or newer and registers as a model-provider plugin automatically on load.
What do I need to run this plugin?
You need Hermes Agent 0.21.4 or newer, Python 3.10 or newer, and the official Claude Code CLI installed and logged in via claude auth login; specific model aliases need a minimum Claude Code CLI version.
Similar official for Hermes Agent
All officialHeadless Pokemon emulator with a REST API and live dashboard that lets Hermes Agent or any LLM agent play
NousResearch hermes-plugin-backsearchHermes Agent plugin for point-in-time web search and fetch over a frozen news archive
NousResearch Kanban Video PipelineHermes Kanban demo where four agent profiles make a video explaining Hermes Kanban from one command
NousResearch Hermes Telegram BusinessTelegram Business Mode secretary-bot plugin where every drafted reply needs owner approval
NousResearch Hermes Example PluginsReference plugins from Nous Research showing each Hermes Agent plugin surface in minimal code
NousResearch Hermes Memory WikiHermes dashboard plugin with a browsable session-history wiki and a read-only memory audit panel
Related guides: What is Hermes Agent? · How to install Hermes Agent