Skip to main content

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

spctre_hermes-0.1.0.tar.gz (21.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spctre_hermes-0.1.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

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

Hashes for spctre_hermes-0.1.0.tar.gz
Algorithm Hash digest
SHA256 751fe05c63e584942119d42193c96de26cd69c54aa908c8f595c1c85eca6237e
MD5 e1ae534239597430bd890825385eb052
BLAKE2b-256 e3c9ddb5d91f1a5b798b3e196b522bb59e3c9395b1dd574f0d335cce27a59669

See more details on using hashes here.

Provenance

The following attestation bundles were made for spctre_hermes-0.1.0.tar.gz:

Publisher: release-python.yml on getspctre/spctre

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for spctre_hermes-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 17dc9ac9a3a1b0c7096eabb59ac9a3a77e270920598b18bf3cdbabe8ab6b76c9
MD5 815356f4da8dd49822fa50e1ceb099f5
BLAKE2b-256 78fb8d2439b6109a53bff7d4afe95885330a6b4b89522d59b171f1f4301b2688

See more details on using hashes here.

Provenance

The following attestation bundles were made for spctre_hermes-0.1.0-py3-none-any.whl:

Publisher: release-python.yml on getspctre/spctre

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page