hermes-atm installation
hermes-atm is the package-owned Hermes gateway hook for ATM graft nudges.
It installs one receiver for one Hermes profile and injects delivered nudges
through the public GatewayRunner.inject_internal_message(..., mode="queue"|"steer") API according to the additive ATM nudge kind. It does
not open an ATM database, select a Hermes adapter, or require any
post-install source edits.
Required settings
Collect these values before installation. Keep the chat identifier in local profile configuration or the launch agent; do not put it in source, commits, or shared install notes.
| Setting | Purpose | Must match |
|---|---|---|
profile |
Hermes profile to receive nudges | Gateway launch profile |
profile_home |
Directory containing that profile's hooks/ directory |
ATM roster home_dir |
identity |
ATM agent/member name | ATM roster member name |
team |
ATM team containing the member | ATM roster team |
chat_id |
Hermes session chat binding | Gateway's configured session |
atm_home |
ATM durable home | ATM_HOME for the profile |
workspace_root |
Canonical graft endpoint root | ATM roster workspace_root exactly |
platform |
Hermes gateway platform | telegram by default; api_server for headless gateways |
launch_agent_plist |
Gateway LaunchAgent plist | Its first ProgramArguments entry must be the Python running this installer |
The workspace_root equality is mandatory. ATM post-send delivery resolves a
recipient endpoint from roster metadata. If the receiver is installed beneath
one root while the roster names another, atm send can persist a message but
the nudge will fail closed because it cannot find or contact the receiver.
Clean installation sequence
-
Install a Hermes Agent version that exposes the public
GatewayRunner.inject_internal_messageandgateway.config.Platform.TELEGRAMhost seams. -
Configure the profile's launch agent with
ATM_HOME,ATM_IDENTITY,ATM_TEAM,ATM_CHAT_ID, andATM_WORKSPACE_ROOT. -
Install the immutable wheels into that launch agent's Python environment:
python -m pip install --upgrade atm-graft hermes-atm
-
Publish the same profile and graft root to ATM's roster. Run this using the profile's ATM identity and team:
atm teams update-member <team> <identity> \ --home-dir <profile-home> \ --workspace-root <workspace-root> \ --harness hermes
-
Run the package installer with the launch agent's Python. The command validates the public Hermes capability and interpreter match before it writes the standard generated hook and the package-owned native-tools plugin. It also declaratively enables
hermes-atm-native-toolsand itsatmtoolset for every configured Hermes platform inconfig.yaml; do not make those configuration edits by hand:python -m hermes_atm install \ --profile <profile> \ --profile-home <profile-home> \ --identity <identity> \ --team <team> \ --chat-id "$ATM_CHAT_ID" \ --atm-home "$ATM_HOME" \ --workspace-root "$ATM_WORKSPACE_ROOT" \ --platform <telegram|api_server> \ --launch-agent-plist <gateway-launch-agent.plist>
-
Reset the profile gateway. The restart loads the generated hook and publishes the receiver record under
<workspace-root>/.atm/graft/<team>/<identity>.json. -
From the same profile identity, send a localhost message to the profile and require an autonomous reply. Only that reply proves the full path: ATM send, receiver, Hermes queue injection, and agent context processing.
Native ATM tools
The same installer registers exactly four native Hermes tools through the
public plugin API: atm_send, atm_read, atm_list, and atm_ack. They use
the typed atm-graft client and the installed profile's identity, team, and
workspace; tool arguments cannot override those profile settings. atm_read
marks the selected message read without changing acknowledgement state by
default; pass peek=true to inspect without marking it, atm_list returns
bounded metadata, and atm_ack acknowledges
one pending message through the canonical send path. Successful tool results
are the same canonical JSON outcome objects emitted by atm --json; the
parity regression test covers list, read, send, and acknowledgement results.
Administrative and advanced CLI operations remain atm CLI operations.
List rows expose row.from. The older row.from_agent alias remains
available for compatibility and emits one DeprecationWarning per process.
For the reproducible native-tool proof, see NATIVE_TOOLS_PROOF.md. The implementation checklist and validation record are in TASKLIST.md.
Do not edit hooks/hermes-atm/handler.py, HOOK.yaml, or config.json after
installation. To change package behavior, publish a new wheel, reinstall it,
rerun python -m hermes_atm install, reset the gateway, and repeat the proof.
Metadata
Release files for hermes-atm 1.7.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hermes_atm-1.7.2.tar.gz | 21.4 kB | Without provenance | Details for hermes_atm-1.7.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hermes_atm-1.7.2-py3-none-any.whl | Python 3 | none | any | Details for hermes_atm-1.7.2-py3-none-any.whl |
Total release size: 36.0 kB
Release files / hermes_atm-1.7.2.tar.gz
| Download URL | hermes_atm-1.7.2.tar.gz |
|---|---|
| Size | 21.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2bf0a472434bebe03f456d91086493d4c403b71f044fc35971b851a5fdd71fbf
|
|
BLAKE2b-256 checksum How to use checksums |
a4e2f356bc61fa7dcace6182ef1dd52f500005af5f4c5362d2fde62088ef2a37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.9.4
|
Release files / hermes_atm-1.7.2-py3-none-any.whl
| Download URL | hermes_atm-1.7.2-py3-none-any.whl |
|---|---|
| Size | 14.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4ba46a8551cf09d09f0ebd9b60131c742bbaab66a7c41e34816eeb412f27afe4
|
|
BLAKE2b-256 checksum How to use checksums |
3e74b377ec07503e30435debac8c7144880bda778f846e7d6a0620d293ed3933
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.9.4
|
Security for hermes-atm 1.7.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.