Catalog PyPI
PACKAGE EXPLORERView in registry

agentguard-hermes

PyPI

AgentGuard security monitoring plugin for Hermes Agent

agentguardai-agenthermesmonitoringobservabilitysecurity
Versions collected1
Direct dependencies0From release 0.1.0
Last observed20 Oct, 22:06 UTC

README

Version 0.1.0 documentation

agentguard-hermes

AgentGuard security monitoring plugin for Hermes Agent.

Forwards Hermes session, LLM, and tool-call events to an AgentGuard Timeplus stream for real-time observability and security monitoring.

Installation

pip install agentguard-hermes
agentguard-hermes install

This copies the plugin into ~/.hermes/plugins/agentguard/ where Hermes auto-loads it on startup.

Configuration

Set environment variables before starting Hermes:

VariableDefaultDescription
AGENTGUARD_TIMEPLUS_URLhttp://localhost:3218Timeplus Enterprise HTTP endpoint
AGENTGUARD_USERNAMEprotonTimeplus username
AGENTGUARD_PASSWORD(empty)Timeplus password
AGENTGUARD_AGENT_IDhostnameIdentifier for this agent instance
AGENTGUARD_DEPLOYMENT_IDlocalDeployment environment tag
AGENTGUARD_DEPLOYMENT_NAMELocal DevHuman-readable deployment name
AGENTGUARD_STREAMagentguard_hook_eventsTarget Timeplus stream

Example

export AGENTGUARD_TIMEPLUS_URL=http://timeplus.example.com:3218
export AGENTGUARD_USERNAME=proton
export AGENTGUARD_PASSWORD=secret
export AGENTGUARD_DEPLOYMENT_ID=production
export AGENTGUARD_DEPLOYMENT_NAME="Production Hermes"

hermes

What gets captured

Every Hermes hook event is forwarded to the agentguard_hook_events stream:

Hermes hookSent asDescription
on_session_starton_session_startNew session begins
on_session_endconversation_endSingle chat turn completed
on_session_finalizeon_session_endSession fully torn down (CLI exit, /reset)
on_session_reseton_session_resetSession rotated via /new
pre_llm_callpre_llm_callBefore each LLM turn
post_llm_callpost_llm_callAfter each LLM turn
pre_api_requestpre_api_requestBefore each raw API call (token metrics)
post_api_requestpost_api_requestAfter each raw API call
pre_tool_callpre_tool_callBefore each tool execution
post_tool_callpost_tool_callAfter each tool execution

conversation_history is stripped from all events before ingestion — it is unbounded and contains no information not already available from the individual turn events.

Custom install path

agentguard-hermes install --hermes-dir /path/to/hermes/data

Manual installation (Makefile / Docker)

If you run Hermes via the provided Docker Compose setup in agents/hermes/:

make configure   # copies plugin into .hermes/plugins/agentguard/
make cli         # start Hermes CLI with AgentGuard env vars pre-set
make start       # start Hermes gateway + web dashboard

Publishing to PyPI

pip install hatch
cd agents/hermes/agentguard-plugin
hatch build
hatch publish

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.1.020 Apr 20260

Package advisories

0
No matching advisories collected

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

Repository

PENDING
timeplus/agentguard

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:06 UTC

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

Record identity

package:c15d9cb339fbb9be018afdb9df5b07bb05896841973844765a3828a5a7a3400d