All plugins

polytropos

Sets up Hermes to use free cloud models through FreeLLMAPI and small local models through Ollama. Adds hermes polytropos (doctor, install, setup, adopt, update, rollback, canary, status, uninstall), which installs FreeLLMAPI and a set of programs at pinned versions and runs FreeLLMAPI as a background service (on Windows it uses FreeLLMAPI's own desktop app), plus hooks that hold a turn on a local model while memory is low and keep the machine awake while a turn runs. Use it with polytropos-router. Disclosure: runs FreeLLMAPI as a LaunchAgent or systemd user unit on 127.0.0.1:3001; on Windows it starts no service and talks to the desktop app on 127.0.0.1 at the port the app saved (31415 by default). Install, update and uninstall run git, npm, npx, uv, hermes config, mcp and plugins commands (ponytail through hermes plugins install at its pinned commit) and launchctl or systemctl --user, and download pinned releases from GitHub, npm and PyPI (rtk and the macOS Ollama archive checked against SHA-256, git checkouts against pinned commits). Third-party programs (npm, npx, uv, rtk, graphify, stack-canary, git and node) run with a short allow-list of environment variables, without Hermes's provider keys; rtk also gets the profile's HERMES_HOME and stack-canary only the one key variable of the upstream it tests. Install adds Hermes skills (graphify's included), rtk's Hermes plugin and the context7 MCP entry to the profile, and the optional OpenCode step merges FreeLLMAPI's provider into OpenCode's config. Never runs sudo. While a turn runs it holds caffeinate -i, systemd-inhibit, or on Windows SetThreadExecutionState in an isolated Python child, for two hours at most. The memory guard runs sysctl on macOS, reads /proc on Linux, calls GlobalMemoryStatusEx on Windows and asks the local Ollama API which models are loaded. Fetches stack-canary's public results from raw.githubusercontent.com at most once a day. Changes the profile's config.yaml only through hermes config set, one key at a time, records the old values for uninstall and never records or writes model.api_key; you store FREELLMAPI_API_KEY yourself with hermes config set. The doctor reads file names, not contents, in ~/Downloads, ~/Desktop and the home folder. adopt --from copies an existing FreeLLMAPI checkout's database, .env and .encryption-key into its data folder. Reads FREELLMAPI_API_KEY through agent.secret_scope. No telemetry.

Lil-Clanky2Modelsv0.3.1Updated 1 day ago

About

Sets up Hermes to use free cloud models through FreeLLMAPI and small local models through Ollama. Adds hermes polytropos (doctor, install, setup, adopt, update, rollback, canary, status, uninstall), which installs FreeLLMAPI and a set of programs at pinned versions and runs FreeLLMAPI as a background service (on Windows it uses FreeLLMAPI's own desktop app), plus hooks that hold a turn on a local model while memory is low and keep the machine awake while a turn runs. Use it with polytropos-router. Disclosure: runs FreeLLMAPI as a LaunchAgent or systemd user unit on 127.0.0.1:3001; on Windows it starts no service and talks to the desktop app on 127.0.0.1 at the port the app saved (31415 by default). Install, update and uninstall run git, npm, npx, uv, hermes config, mcp and plugins commands (ponytail through hermes plugins install at its pinned commit) and launchctl or systemctl --user, and download pinned releases from GitHub, npm and PyPI (rtk and the macOS Ollama archive checked against SHA-256, git checkouts against pinned commits). Third-party programs (npm, npx, uv, rtk, graphify, stack-canary, git and node) run with a short allow-list of environment variables, without Hermes's provider keys; rtk also gets the profile's HERMES_HOME and stack-canary only the one key variable of the upstream it tests. Install adds Hermes skills (graphify's included), rtk's Hermes plugin and the context7 MCP entry to the profile, and the optional OpenCode step merges FreeLLMAPI's provider into OpenCode's config. Never runs sudo. While a turn runs it holds caffeinate -i, systemd-inhibit, or on Windows SetThreadExecutionState in an isolated Python child, for two hours at most. The memory guard runs sysctl on macOS, reads /proc on Linux, calls GlobalMemoryStatusEx on Windows and asks the local Ollama API which models are loaded. Fetches stack-canary's public results from raw.githubusercontent.com at most once a day. Changes the profile's config.yaml only through hermes config set, one key at a time, records the old values for uninstall and never records or writes model.api_key; you store FREELLMAPI_API_KEY yourself with hermes config set. The doctor reads file names, not contents, in ~/Downloads, ~/Desktop and the home folder. adopt --from copies an existing FreeLLMAPI checkout's database, .env and .encryption-key into its data folder. Reads FREELLMAPI_API_KEY through agent.secret_scope. No telemetry.

Polytropos

This plugin adds the hermes polytropos command to Hermes Agent. It sets up a Hermes profile to use free cloud models through FreeLLMAPI and small local models through Ollama, on macOS, Linux and Windows. It installs the other parts at pinned versions, runs FreeLLMAPI as a background service on macOS and Linux, and checks that everything works together. During a turn it pauses work on a local model when memory runs low, and keeps the machine awake while the turn runs.

It works together with the polytropos-router plugin, the model provider that picks a model for each turn.

Install

hermes plugins install polytropos
hermes plugins install polytropos-router
hermes polytropos doctor
hermes polytropos install
hermes config set FREELLMAPI_API_KEY <unified key>
hermes polytropos setup

The doctor reports what is still missing. install builds FreeLLMAPI at its pinned tag, runs it on 127.0.0.1:3001 and installs the programs. It asks before it installs ponytail and before each optional program. Before setup, open FreeLLMAPI's dashboard at http://127.0.0.1:3001, add your provider keys and copy its unified API key. hermes config set stores it in the profile's .env, and setup stops without it. Run the doctor again afterwards. It can ask whether to make the router the default model.

On Windows install builds no FreeLLMAPI. Install FreeLLMAPI's desktop app from the Microsoft Store or its releases and open it. It serves the API on 127.0.0.1:31415, and a click on its tray icon opens the dashboard, whose Keys page shows the unified API key.

Requirements

  • Hermes Agent v0.23.2 or newer.
  • macOS, Linux with systemd, or Windows on x86_64.
  • git, uv, and Node.js >=20.18.0 <25.0.0 with npm. On Windows only the optional npm programs need Node.
  • ~/.local/bin on your PATH, %USERPROFILE%\.local\bin on Windows.

What it runs and changes

  • FreeLLMAPI runs as a LaunchAgent on macOS or a systemd user unit on Linux, and listens on 127.0.0.1 only. On Windows it is FreeLLMAPI's own desktop app.
  • The commands run git, npm, npx, uv, hermes config set, hermes mcp add, hermes plugins install, and launchctl or systemctl --user. Polytropos never runs sudo. On Linux and Windows it prints Ollama's install command for you to run.
  • Setup changes the profile's config.yaml and records the old values, so that hermes polytropos uninstall can put them back.
  • hermes polytropos adopt copies the database, .env and .encryption-key of a FreeLLMAPI checkout you name, so that FreeLLMAPI can still read its provider keys.
  • Keys are read through Hermes's secret scope. Polytropos sends no usage data anywhere.

The full list is in What Polytropos runs and changes. Every command, setting and path is in the reference.

Updates

hermes plugins update moves this plugin to the commit the catalog pins. hermes polytropos update then brings the programs and FreeLLMAPI to the versions this plugin pins, and says how to move ponytail.

License

MIT, see LICENSE.

README from the reviewed commit a7fd5b7; it updates when the author re-pins.

More by Lil-Clanky

2 plugins by Lil-Clanky in the catalog.

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section