grafana-agento11y-hermes
Grafana Agent Observability plugin for Hermes Agent. Records LLM calls and tool executions as generations and emits OTel traces + metrics.
Install
Preferred: let your agent do it
Paste this into Hermes (or any Claude / Codex / Cursor / similar agent that can fetch URLs):
Install and configure the Grafana Agent Observability plugin for me by following
https://raw.githubusercontent.com/alexander-akhmetov/grafana-agento11y-hermes/main/llms.txt
The agent will walk you through pip install, ~/.hermes/config.yaml, and the credentials from the Agent Observability setup page. It will also explain what conversation data flows by default and how to tune it before turning anything on.
Manual
pip install grafana-agento11y-hermes
Install into the same Python environment hermes runs from (which hermes to check). Then enable the plugin in ~/.hermes/config.yaml:
plugins:
enabled:
- agento11y
Hermes's
plugins enableCLI does not see pip-installed plugins yet. It only scans~/.hermes/plugins/and the bundled directory. Editing the YAML directly is the workaround.hermes plugins listwill not show the plugin either, so check that it works from the data arriving in Grafana Cloud.
Upgrading from hermes-plugin-sigil
The package, the module, the entry-point key and the env vars were all renamed.
- Reinstall:
pip uninstall hermes-plugin-sigil
pip install grafana-agento11y-hermes
The uninstall is required. The new package has a different name, so pip installs it alongside the old one instead of replacing it, and both would register a plugin.
-
Change the key in
~/.hermes/config.yamlfromsigiltoagento11y. The old key no longer resolves, and hermes will not load the plugin without this. -
Rename your
SIGIL_*env vars toAGENTO11Y_*, keeping the suffix (SIGIL_ENDPOINTbecomesAGENTO11Y_ENDPOINT). The setup page in Configure below gives you a fresh block with the new names. The plugin still reads the old names for now and logs what to rename, so nothing breaks the moment you upgrade. The SDK itself ignores them, so this fallback goes away once the SDK is fixed.
Configure
Everything comes from one page in your stack:
https://<stack>.grafana.net/a/grafana-agento11y-app/setup
- Click Create token.
- Click Copy as environment variables.
- Put the block in the environment hermes starts from.
If you keep it in ~/.hermes/.env instead, hermes loads that file with override on, so a value there beats the same variable exported in your shell, with no warning.
The block you get:
AGENTO11Y_ENDPOINT=https://agento11y-<...>.grafana.net
AGENTO11Y_PROTOCOL=http
AGENTO11Y_AUTH_MODE=basic
AGENTO11Y_AUTH_TENANT_ID=123456
AGENTO11Y_AUTH_TOKEN=glc_...
OTEL_EXPORTER_OTLP_ENDPOINT=https://otlp-gateway-<...>.grafana.net/otlp
OTEL_EXPORTER_OTLP_HEADERS='Authorization=Basic <base64 of "123456:glc_...">'
With no capture mode set, the plugin records full content, so the system prompt, the tool definitions, prompts, assistant replies, tool arguments and tool results all leave the machine; set AGENTO11Y_CONTENT_CAPTURE_MODE=metadata_only to keep recording every call while no prompts, responses or tool I/O leave the machine.
Capture fidelity
The system prompt and the tool schemas come from the request payload hermes hands its plugins, and hermes clips that payload past HERMES_PLUGIN_PAYLOAD_MAX_CHARS (50000 by default). Its own system prompt and toolset cross that on ordinary sessions, so the plugin fills each field from the best copy it read earlier in the same session. If a conversation still shows no tools, raise the variable in the environment hermes starts from:
HERMES_PLUGIN_PAYLOAD_MAX_CHARS=200000
It is a hermes setting, not a plugin one: it governs what every plugin receives, so the plugin does not change it for you.
This recovers the tool schemas. It does not recover a long system prompt: hermes clips every string at 8000 characters before it measures the payload against the variable, so a prompt longer than that arrives cut at any value. A generation whose fields came from an earlier request carries hermes.request_facts_reused: true.
If you do not have a Grafana Cloud account, create one at https://grafana.com/auth/sign-up/create-user/. The free tier is enough.
Verify
Use interactive hermes. One-shot mode (hermes -z) disables logging for the whole run, so it writes none of the lines below.
AGENTO11Y_DEBUG=true hermes
In ~/.hermes/logs/agent.log you should see:
grafana-agento11y-hermes: installed TracerProvider with OTLP HTTP exporter
grafana-agento11y-hermes: installed MeterProvider with OTLP HTTP exporter
grafana-agento11y-hermes: client initialized (generations=configured, otel=configured)
Ask hermes anything, then check Grafana Cloud -> Observability -> Agent -> Conversations.
License
Apache-2.0.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file grafana_agento11y_hermes-0.9.0.tar.gz.
File metadata
- Download URL: grafana_agento11y_hermes-0.9.0.tar.gz
- Upload date:
- Size: 42.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd60945c971c15f9043f1024e3b4e8aef1e8c2f70519d43b8110ad16b34ffdf5
|
|
| MD5 |
d130668e3498948d170c34b3e20b38ca
|
|
| BLAKE2b-256 |
bf2698360230fb633eb79a83636847ef70483a2cbaf43d823095041e553bbdc3
|
Provenance
The following attestation bundles were made for grafana_agento11y_hermes-0.9.0.tar.gz:
Publisher:
release.yml on alexander-akhmetov/grafana-agento11y-hermes
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
grafana_agento11y_hermes-0.9.0.tar.gz -
Subject digest:
cd60945c971c15f9043f1024e3b4e8aef1e8c2f70519d43b8110ad16b34ffdf5 - Sigstore transparency entry: 2490127331
- Sigstore integration time:
-
Permalink:
alexander-akhmetov/grafana-agento11y-hermes@70e44f9835dab39463c4457353423330d4eece3a -
Branch / Tag:
refs/tags/0.9.0 - Owner: https://github.com/alexander-akhmetov
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@70e44f9835dab39463c4457353423330d4eece3a -
Trigger Event:
push
-
Statement type:
File details
Details for the file grafana_agento11y_hermes-0.9.0-py3-none-any.whl.
File metadata
- Download URL: grafana_agento11y_hermes-0.9.0-py3-none-any.whl
- Upload date:
- Size: 48.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6238a1a8087da6837e0477e239f381692b4d1a9acf1dfeac8b7e127e939d07b
|
|
| MD5 |
d422b5bf54fe755ee39ee34a1975bace
|
|
| BLAKE2b-256 |
e5a69a5da00e64d2b7f2871c29c9485c5c7be2e4ab1bf6d5221ee3573f60004f
|
Provenance
The following attestation bundles were made for grafana_agento11y_hermes-0.9.0-py3-none-any.whl:
Publisher:
release.yml on alexander-akhmetov/grafana-agento11y-hermes
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
grafana_agento11y_hermes-0.9.0-py3-none-any.whl -
Subject digest:
b6238a1a8087da6837e0477e239f381692b4d1a9acf1dfeac8b7e127e939d07b - Sigstore transparency entry: 2490127339
- Sigstore integration time:
-
Permalink:
alexander-akhmetov/grafana-agento11y-hermes@70e44f9835dab39463c4457353423330d4eece3a -
Branch / Tag:
refs/tags/0.9.0 - Owner: https://github.com/alexander-akhmetov
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@70e44f9835dab39463c4457353423330d4eece3a -
Trigger Event:
push
-
Statement type: