hermes-funky-inference
A Hermes Agent plugin that adds
Funky Inference as a model provider.
Funky serves work that can wait, at the cheaper "flex" prices of the upstream model providers.
It suits scheduled (cron) tasks. It is not for chat: an answer can take minutes when the
upstream is busy, and it arrives all at once.
Requirements
- Hermes Agent v0.23.3 or later. The plugin supplies its own client through a hook that
very old versions do not have: on v0.17.0 the provider appears, but every call fails.
v0.23.3 is the oldest version it has been tested on, soplugin.yamldeclares it
(requires_hermes). Hermes versions that know this field (those from July 2026 on) will
not install or load the plugin on anything older.
Check withhermes --version; update withhermes update. - A funky API key. See Get an API key.
What the plugin does
- It registers one model provider,
funky, and nothing else. No tools, hooks, commands,
background threads or processes. - It connects to one place: the funky server,
https://api.funky.dev/v1, or the one in
FUNKY_BASE_URLif you set it. It sends each request there (the prompt, the conversation and
the tool definitions) withFUNKY_API_KEYas a bearer token, then polls the job every few
seconds until it ends. It uses its own HTTP client for this, not Hermes's. - Funky passes the request on to the model's upstream provider (OpenAI for the
gpt-6
models), so what you send funky reaches that provider too. - Jobs are charged, and keep running after Hermes stops waiting. A job cannot be stopped:
if Hermes gives up on a call for good, the job still runs to its end on the funky server and
is still charged. - It reads and writes no files. Hermes reads
FUNKY_API_KEYandFUNKY_BASE_URLand hands
them to the plugin; the plugin reads no.envor credential file itself. The only thing it
keeps is an in-memory table of the calls still running, so that a repeated call finds its job.
It is gone when Hermes exits. - No telemetry. The plugin sends nothing anywhere except your requests to that funky server.
Install
hermes plugins install funkyhq/hermes-funky-inference
Or by hand: copy __init__.py, client.py and plugin.yaml into
~/.hermes/plugins/model-providers/funky/.
Check that Hermes sees it:
hermes plugins list # shows `funky`
Get an API key
- Sign up at console.funky.dev/signup, with a Google
account or an email and password. - Go to API Keys and click Create your first key.
Configure
Set your API key, for example in ~/.hermes/.env. hermes plugins install asks for it if it
is not set yet:
FUNKY_API_KEY=...
The plugin talks to the hosted funky server, https://api.funky.dev/v1. To use another funky
server, such as one on this machine, set FUNKY_BASE_URL as well:
FUNKY_BASE_URL=http://127.0.0.1:8000/v1
Then send your scheduled tasks to funky and keep chat on your usual provider. In
~/.hermes/config.yaml:
cron:
model: gpt-6-luna
model_provider: funky
Or pin one job: hermes cron create "every 24h" "..." --model gpt-6-luna --provider funky.
To try it without cron:
hermes -z "Reply with one word." --provider funky -m gpt-6-luna
The models funky serves are listed by GET /v1/models on the funky server; Hermes reads that
list by itself.
How it works
Funky has no streaming. A call is a job: it is submitted, then polled until it ends. Hermes
expects a stream of events from a Responses provider, so the plugin's client
(client.py) submits the job, polls it, and hands Hermes the events it needs:
| Event | When |
|---|---|
response.created | The job is accepted |
response.in_progress | After every poll, at most 3 seconds apart, so Hermes sees the call is alive |
response.output_item.done | Once per output item, when the job ends |
response.completed | The end, with token counts and cost. Or response.incomplete / response.failed |
Long waits
A job can wait for capacity: up to 10 minutes by default, then funky moves it to the standard
tier, where the call itself can take a few more. Hermes can be less patient with a single call:
| Where the funky server is | How long Hermes lets one call run |
|---|---|
Hosted (api.funky.dev) or any other remote server | 90 seconds to 20 minutes, growing with the size of the request. About 10 minutes for a typical agent turn |
On this machine (127.0.0.1) | No limit |
When Hermes gives up on a call it makes the same call again. The plugin sends the repeated call
with the same Idempotency-Key, so funky returns the job that is already running instead of
starting a second one, and the wait simply carries on. Tested with a job of 11 minutes 40
seconds under Hermes's default limits: Hermes gave up at 10 minutes, repeated the call, and got
the answer from the same job.
To give Hermes more patience per call, up to its ceiling of 25 minutes, add this to
~/.hermes/config.yaml:
providers:
funky:
stale_timeout_seconds: 1500
Limits
- No partial output. Hermes shows nothing until the whole answer is there.
- A job cannot be stopped. If Hermes gives up on a call for good, the job still runs to its
end on the funky server and is still charged. - A repeated call finds its job only within one Hermes process. If Hermes is restarted
while a job runs, the next call starts a new job. - Text and function tools only. Funky refuses images and hosted tools.
- Hermes does not show what funky charged or saved. The plugin does not pass funky's cost to
Hermes, so the cost in/usageand in Hermes's dashboard is Hermes's own estimate, if it shows
one at all. What each job cost and saved is reported by funky.
Development
uv run pytest
The tests need neither Hermes nor a funky server: a small stand-in replaces each.
To try a change in a real Hermes without touching your own setup, point HERMES_HOME at a
throwaway directory and copy the plugin into it. This runs against the hosted server with your
key; to use a funky server on this machine instead, also set
FUNKY_BASE_URL=http://127.0.0.1:8000/v1 (any key works there):
export HERMES_HOME=$HOME/hermes-funky-test
mkdir -p $HERMES_HOME/plugins/model-providers/funky
cp __init__.py client.py plugin.yaml $HERMES_HOME/plugins/model-providers/funky/
FUNKY_API_KEY=... hermes -z "Reply with one word." --provider funky -m gpt-6-luna
README from the reviewed commit 8ef4761; it updates when the author re-pins.

funkyhq