Catalog PyPI
PACKAGE EXPLORERView in registry

agentmetrics-hermes

PyPI

AgentMetrics observability plugin for Hermes agents

Versions collected1
Direct dependencies7From release 0.2.2
Last observed20 Oct, 22:43 UTC

README

Version 0.2.2 documentation

agentmetrics-hermes

PyPI License: MIT

AgentMetrics observability plugin for Hermes agents. Auto-discovered via the hermes_agent.plugins entry-point — no code changes needed.


Install

pip install agentmetrics-hermes

Configuration

Create ~/.config/hermes/agentmetrics.yaml:

api_key: am_your_key
server_url: http://localhost:4000
agent_id: my-hermes-agent
environment: production

Or set environment variables (take precedence over the file):

VariableDescription
AGENTMETRICS_API_KEYAPI key
AGENTMETRICS_SERVER_URLServer URL
AGENTMETRICS_AGENT_IDAgent identifier
AGENTMETRICS_ENVIRONMENTDeployment environment

What gets tracked

MetricDescription
input_tokens / output_tokensAggregated LLM token usage
cache_read_tokens / cache_write_tokensPrompt cache statistics
estimated_cost_usdComputed from model pricing
duration_msSession wall-clock time
tool_calls / tool_errorsPer-step tool tracking
llm_callsNumber of model API requests
secrets_blocked_countCredentials redacted before transmission
errorException message on failure (secrets scrubbed)

Durability

Events are written to a local WAL before transmission. If the server is unreachable the plugin retries automatically via an internal circuit breaker. Events that exhaust all retries go to a dead-letter queue and are surfaced as audit_dlq_alert events.


Security

All event payloads are scanned for API keys, JWTs, and passwords before transmission. Set redaction_mode: debug in the config to disable scrubbing during local development (expires automatically after a configurable TTL).


License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.2.222 Jun 20267

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
andalabx/agentmetrics

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:43 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:575ffe798c25f60be8236aa64e0bb2f437afa8fa123a5efefdd055fa2f6fcffd