MOSS integration for Nous Research Hermes agents.
Cryptographic signing for Hermes AI agent actions using ML-DSA-44 (NIST FIPS 204) post-quantum signatures.
pip install moss-hermesfrom moss_hermes import sign_tool_call
signed = sign_tool_call(
tool_name="send_email",
tool_input={"to": "user@example.com", "body": "Hello"},
tool_output={"status": "sent"},
agent_id="hermes-assistant"
)| Function | Use Case |
|---|---|
sign_tool_call |
Tool executions |
sign_function_call |
OpenAI-compatible function calls |
sign_reasoning_chain |
Chain-of-thought reasoning |
sign_memory_retrieval |
Memory/RAG retrieval events |
| Variable | Description | Default |
|---|---|---|
MOSS_API_KEY |
Enterprise API key | None (local mode) |
MOSS_API_URL |
API endpoint | https://api.mosscomputing.com |
- ML-DSA-44 Signatures: Post-quantum cryptographic signing
- Causal Linking: Link actions via
parent_sigparameter - Kill-Switch: Monitor for agent revocation
- Async Support: All functions have async versions
MIT - See LICENSE for details.