Hermes Agent
This page shows how to send Hermes Agent’s traces to cetra with hermes-otel, and what you see in the UI.
The telemetry comes from hermes-otel, a community plugin. cetra agents setup has no Hermes target, because setup cannot install a Python package into Hermes’s environment: you install the plugin yourself.
Connect Hermes Agent
Section titled “Connect Hermes Agent”The setup commands and the content_capture values below come from the hermes-otel README, for version 1.33.0. The captured run did not run them as written: it installed the plugin with uv pip install from the plugin’s git commit.
- Create a project key with the
ingestscope in the project’s API keys page. Copy thesk-cetra-…value. - Install the plugin into Hermes’s environment and enable it. Hermes 0.21 and later installs the plugin’s Python dependencies itself:
hermes plugins install hermes_otelhermes plugins enable hermes_otel- Write
~/.hermes/hermes_otel.yamlwith cetra’s endpoint and key. The endpoint is the full traces URL,<CETRA_URL>/v1/traces:
project_name: hermes-agentbackends: - type: otlp endpoint: <CETRA_URL>/v1/traces headers: Authorization: "Bearer <SK_CETRA_KEY>" metrics: falsecontent_capture: fullcapture_logs: false- Run Hermes as usual. Its traces then go to cetra.
content_capture sets what is sent: full sends the prompts and the answers in full, with tool arguments and results clipped to previews; preview keeps only the previews; off sends no content. capture_logs: false and metrics: false keep Hermes’s logs and metrics from being sent; when they are sent, cetra accepts and drops them.
What you get
Section titled “What you get”Each turn is one trace. Its root is an agent span, and each model call and tool call is under it.
- each model call is an
llmspan,api.<model>, with the model and its input and output tokens. Hermes wraps it in anllm.<model>span, which cetra keeps as achain: the wrapper carries no tokens of its own; - each tool call is a
toolspan named after the tool, such asread_file. Hermes’s own name for the span is kept incetra.span_name; - the prompts and the answers are on the spans, when content capture is on.
Each trace has these fields:
- the session, from Hermes’s session id in
gen_ai.conversation.id; metadata.coding_agentset tohermes-agent.
Hermes sends no repository, branch or person. cetra gets none of them for Hermes traces.
Use the Coding agents dashboard template to see API-equivalent cost per session and tool usage.
API-equivalent cost
Section titled “API-equivalent cost”The captured run used Hermes’s custom provider, its name for an OpenAI-compatible endpoint. The spans show provider custom, no row in cetra’s price table matches it, and hermes-otel reports no cost for it either, so the model calls carry no API-equivalent cost.
API-equivalent cost is what the same tokens would cost at API prices. If you use a subscription plan, it is not what you pay.
Limits
Section titled “Limits”- Tested with Hermes Agent 0.23.2 and
hermes-otel1.33.0, in one-shothermes chatmode. The interactive interface was not captured. cetra agents setupdoes not support Hermes. The plugin is yours to install, enable and update.- The telemetry plugin,
hermes-otel, is a community project, not part of Hermes or cetra. - With Hermes’s
customprovider, the spans show providercustomand no cost. - Hermes also sends logs, and metrics unless
metrics: falseis set. cetra accepts and drops them.
- Traces: read the trace as a tree and a timeline.
- Sessions: the calls of one Hermes session.
- Custom dashboards: build your own cost views, or start from the Coding agents template.