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.0with npm. On Windows only the optional npm programs need Node. ~/.local/binon yourPATH,%USERPROFILE%\.local\binon 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, andlaunchctlorsystemctl --user. Polytropos never runssudo. On Linux and Windows it prints Ollama's install command for you to run. - Setup changes the profile's
config.yamland records the old values, so thathermes polytropos uninstallcan put them back. hermes polytropos adoptcopies the database,.envand.encryption-keyof 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.

Lil-Clanky