spctre-hermes
Spctre governance plugin adapter for Hermes Agent. It uses Hermes pre_tool_call
and pre_gateway_dispatch hooks to evaluate actions against Spctre policy and
emit runtime decision evidence with runtimeTarget.stack: "HERMES".
Install
Requires Python 3.11 or newer.
pip install spctre-hermes
Usage
from spctre_hermes import SpctreHermesPlugin
plugin = SpctreHermesPlugin(
api_key="...",
base_url="https://api.spctre.dev/api",
agent_id="agent-1",
tenant_id="tenant-1",
workspace_id="workspace-1",
)
agent.register_plugin(plugin)
The API key needs permission to call /evaluate and /evidence. Set
dry_run=True to verify Hermes registration without making HTTP calls; dry-run
mode always returns {"allow": True}.
This adapter emits the Hermes runtime stack value and depends on Spctre schema
support for RuntimeStack = "HERMES" before live evidence ingestion succeeds.
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 spctre_hermes-0.1.0.tar.gz.
File metadata
- Download URL: spctre_hermes-0.1.0.tar.gz
- Upload date:
- Size: 21.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 |
751fe05c63e584942119d42193c96de26cd69c54aa908c8f595c1c85eca6237e
|
|
| MD5 |
e1ae534239597430bd890825385eb052
|
|
| BLAKE2b-256 |
e3c9ddb5d91f1a5b798b3e196b522bb59e3c9395b1dd574f0d335cce27a59669
|
Provenance
The following attestation bundles were made for spctre_hermes-0.1.0.tar.gz:
Publisher:
release-python.yml on getspctre/spctre
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spctre_hermes-0.1.0.tar.gz -
Subject digest:
751fe05c63e584942119d42193c96de26cd69c54aa908c8f595c1c85eca6237e - Sigstore transparency entry: 2412305902
- Sigstore integration time:
-
Permalink:
getspctre/spctre@0964146e3ac5820784df78887b8f0c5ee19fa6e5 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/getspctre
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@0964146e3ac5820784df78887b8f0c5ee19fa6e5 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file spctre_hermes-0.1.0-py3-none-any.whl.
File metadata
- Download URL: spctre_hermes-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.4 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 |
17dc9ac9a3a1b0c7096eabb59ac9a3a77e270920598b18bf3cdbabe8ab6b76c9
|
|
| MD5 |
815356f4da8dd49822fa50e1ceb099f5
|
|
| BLAKE2b-256 |
78fb8d2439b6109a53bff7d4afe95885330a6b4b89522d59b171f1f4301b2688
|
Provenance
The following attestation bundles were made for spctre_hermes-0.1.0-py3-none-any.whl:
Publisher:
release-python.yml on getspctre/spctre
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spctre_hermes-0.1.0-py3-none-any.whl -
Subject digest:
17dc9ac9a3a1b0c7096eabb59ac9a3a77e270920598b18bf3cdbabe8ab6b76c9 - Sigstore transparency entry: 2412305908
- Sigstore integration time:
-
Permalink:
getspctre/spctre@0964146e3ac5820784df78887b8f0c5ee19fa6e5 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/getspctre
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@0964146e3ac5820784df78887b8f0c5ee19fa6e5 -
Trigger Event:
workflow_dispatch
-
Statement type: