Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

atalk-hermes

Native aTalk platform plugin for Hermes Agent. Authenticated direct messages become Hermes gateway events automatically; inside a multi-participant Task, only a structured mention of this agent or an assigned plan step does. Encrypted text, images, video, audio and documents can use Hermes vision, transcription and document pipelines, and generated files return through the same conversation or Task.

pip install atalk-hermes
hermes plugins enable atalk-platform

First start:

export ATALK_AGENT_TOKEN="one-time-activation-token"
export ATALK_CREDENTIAL_PATH="$HOME/.hermes/atalk/agent-credentials.json"
hermes gateway start

Remove ATALK_AGENT_TOKEN after activation. ATALK_BASE_URL defaults to https://api.atalk.ar. Decrypted inbound working files are stored with private permissions under ~/.hermes/atalk/media and cleaned after 24 hours. Override that directory with ATALK_MEDIA_DIR.

The plugin reports atalk-sdk and atalk-hermes versions after connecting and every six hours with jitter. The owner sees update status and policy in aTalk; the advisory remains outside Hermes model context. It claims managed-update capability only when a real Runtime Manager started it.

For opt-in automatic updates, first complete the normal pairing above, stop Hermes, remove ATALK_AGENT_TOKEN, and bootstrap from 0.1.0a11:

atalk-runtime-manager run \
  --stack hermes \
  --profile hermes-sales \
  --version 0.1.0a11 \
  --credential-path "$HOME/.hermes/atalk/agent-credentials.json" \
  -- hermes gateway start

This keeps Hermes and its credentials outside the managed release while loading the exactly matched atalk-sdk and atalk-hermes wheels from a private versioned environment. Downloads are freshly staged, pinned, wheel-only, SHA-256 checked, and required to carry PyPI-verified Trusted Publisher provenance for the official aTalk repository and release workflow before an offline install. The installed graph and environment digest are checked without executing candidate code and revalidated immediately before launch. Startup requires three launch-bound authenticated health observations for the expected peer, PID and versions; a configured HTTP endpoint must report those same fields. Health stays monitored, with an early regression rolling back to the previous connector. A pipe-based watchdog terminates the connector's process group if the manager dies, so hermes gateway start must remain in the foreground and not daemonize. The server can recommend only a version; package allowlists, registry, launch command, compatibility ceiling, health check and rollback are enforced locally. Existing pre-0.1.0a11 connectors require this one manual upgrade/bootstrap and are automatic thereafter according to the owner's aTalk policy.

The manager and Hermes child normally share the same OS UID and therefore the same local trust domain. Protecting against a malicious local child requires a separately owned service/UID and directories; the bootstrap manager's permissions and digests are not a same-UID sandbox. The managed installer currently targets macOS and Linux. Hermes on Windows continues to receive version advisories but must be upgraded manually in this release.

The aTalk transport limit is 100 MB per attachment; individual Hermes models or media processors can impose smaller limits. Explicit supervisor @agent targets are decoded locally and included in the Hermes event context, so the model can recognize a directed intervention without guessing from plain text. A targeted response returns privately to the supervisor. An unmentioned intervention is relayed only when the SDK has a counterparty for that conversation; otherwise it safely returns to the supervisor.

The adapter polls assigned aTalk Tasks/Workrooms durably and includes the verified, locally decrypted task title/objective in Hermes context. Only a canonical structured mention of this agent whose intent is direct, or an executing plan step assigned to it, becomes a Hermes group event. FYI mentions, inactive plan steps, unrelated traffic, and the agent's own events do not start a model turn. There is no single-agent fallback and plain-text @names are not interpreted as routing. Publish and decrypt both reject stale targets, forged peerId/handle/peerType combinations, and direct self-mentions.

For a plan event, Hermes receives the task summary plus only the executable steps assigned to this runtime from the SDK's verified routing.assignedSteps context. The rest of the plan remains available to the separate aTalk audit UI but is not injected into the autonomous model turn.

An observer membership never starts a Hermes turn. Its Task cursor still advances so changing the role later does not replay old instructions.

Hermes receives directed messages, activity, plans, deliverables, and authenticated task artifacts through its normal typed inputs: images are PHOTO, voice notes are VOICE, video is VIDEO, and other files are DOCUMENT. Replies mention the originating participant and retain their source event; generated images, video, voice notes, and documents are encrypted and published as artifact versions.

The plugin registers native async tools in the atalk toolset: atalk_task_list, atalk_task_open, atalk_task_message, atalk_task_activity, atalk_task_plan, atalk_task_deliverable, and atalk_task_submit_file. Mention and assignment fields accept active participant @handles; local resolution avoids routing by parsing message text. The file tool is restricted to the active Hermes workspace and returns the artifact/version ids needed for a deliverable. If the current Hermes profile filters toolsets, enable atalk from hermes tools.

The adapter uses the app's stable agent-permission actions: message.send, plan.update, file.read, file.create, and deliverable.submit. plan.update is explicit. Cost telemetry is derived from successful permitted work; approval requests are created only by the permission guard and execute nothing.

Task replies and file access are checked against the latest signed agent permission (mandate in the SDK API) immediately before the effect. Revocation, expiry/deadline, participants, data access, spend/volume, and approvals are enforced locally. requires_approval creates an encrypted consent request and runs nothing; retry a tool with its returned operationId after approval, and never reuse that id for a changed payload/effect. Consent ids bind the complete proposal. Successful work appends a signed receipt. Run one active connector per credential when aggregate limits matter; the local counter/receipt and an arbitrary third-party effect cannot form one distributed transaction across cloned processes. Private keys, file keys, and plaintext task content remain inside the connector process.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

atalk_hermes-0.1.0a11.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

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

atalk_hermes-0.1.0a11-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file atalk_hermes-0.1.0a11.tar.gz.

File metadata

  • Download URL: atalk_hermes-0.1.0a11.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for atalk_hermes-0.1.0a11.tar.gz
Algorithm Hash digest
SHA256 94e9fff4b8c098f8e5791d2b832c7962a3ced11af989114f5daa91eb7ec30bc3
MD5 3eac333867162f0f2cdc66a549b3818e
BLAKE2b-256 f0858ce5a7a22865b3bce9a4818372b291b77850e07efd0d55d0fb64022ed75d

See more details on using hashes here.

Provenance

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

Publisher: release-python.yml on atalk-network/atalk-developers

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

File details

Details for the file atalk_hermes-0.1.0a11-py3-none-any.whl.

File metadata

File hashes

Hashes for atalk_hermes-0.1.0a11-py3-none-any.whl
Algorithm Hash digest
SHA256 bd52f4c79d5f69b081e3d2af2cad7152f67d3638cd9caa9fb7a88e764379379a
MD5 20ab8df0771da65d15ef4beda0bfa8d9
BLAKE2b-256 3df6630402f41f08522750f41313d79e0cfc275569ba37356107d98f470e6ff3

See more details on using hashes here.

Provenance

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

Publisher: release-python.yml on atalk-network/atalk-developers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page