All plugins

max-platform

MAX messenger gateway with polling/webhook, streaming, interactive questions, native attachments, Core voice transcription, optional PNG tables and a Desktop sessions sidebar. Disclosure — sends the bot token and message/file content to the MAX Bot API (platform-api2.max.ru) and MAX upload hosts (*.max.ru, *.oneme.ru, *.okcdn.ru). Inbound attachments are downloaded only for allowlisted senders, with SSRF protection, and cached under HERMES_HOME. The bundled Russian Trusted Root CA is trusted only by the MAX API/upload clients, not attachment downloads. Its platform hint lets the agent attach local host files to MAX replies via MEDIA paths, and a public output hook adds a filename caption to file-only MAX replies. Webhook mode opens a listener (default 0.0.0.0:8646) that requires a secret and public HTTPS. Polling startup deletes all of the bot's webhook subscriptions. Optional table rendering launches Playwright/Chromium; with MAX_AUTO_INSTALL_PLAYWRIGHT=true it pip-installs playwright==1.62.0 and downloads Chromium (~115 MB). The MAX allowlist does not honour Hermes pairing approvals. No telemetry or self-update.

Realmagnum21Platformv2.11.0Updated 1 month ago

About

MAX messenger gateway with polling/webhook, streaming, interactive questions, native attachments, Core voice transcription, optional PNG tables and a Desktop sessions sidebar. Disclosure — sends the bot token and message/file content to the MAX Bot API (platform-api2.max.ru) and MAX upload hosts (*.max.ru, *.oneme.ru, *.okcdn.ru). Inbound attachments are downloaded only for allowlisted senders, with SSRF protection, and cached under HERMES_HOME. The bundled Russian Trusted Root CA is trusted only by the MAX API/upload clients, not attachment downloads. Its platform hint lets the agent attach local host files to MAX replies via MEDIA paths, and a public output hook adds a filename caption to file-only MAX replies. Webhook mode opens a listener (default 0.0.0.0:8646) that requires a secret and public HTTPS. Polling startup deletes all of the bot's webhook subscriptions. Optional table rendering launches Playwright/Chromium; with MAX_AUTO_INSTALL_PLAYWRIGHT=true it pip-installs playwright==1.62.0 and downloads Chromium (~115 MB). The MAX allowlist does not honour Hermes pairing approvals. No telemetry or self-update.

Hermes MAX Gateway

Hermes + MAX

Your Hermes agent, in MAX. Streaming replies, voice messages, interactive buttons and files — with an optional Desktop sessions sidebar.

Русский · Setup · Changelog

License: MIT
Hermes Core
Python

📚 Documentation map

NeedRead
Install, configure or diagnoseSetup · Troubleshooting
Understand behavior and internalsFeatures · Architecture · API
Develop or verify a changeMicro-Spec workflow · Catalog contracts · Backlog

scripts/diagnose.sh --send sends a real message; use only an approved recipient. Offline checks and test instructions are in setup.

✨ What you get

CapabilityIn your chat
💬Streaming repliesProgressive edits, typing indicators and long-message chunking
🔘Interactive controlsModel picker, command approvals and clarify choices, including Other
📎Native attachmentsImages, video, audio and documents; file-only agent replies gain a filename caption
🎤Voice messagesDownloaded and passed to Hermes Core STT; transcription is configured in Core
📊Readable tablesOptional Markdown → PNG, with Playwright/Chromium and a Pillow fallback
📡Two transportsLong polling by default, or HTTPS webhook with secret validation
🔒Access controlsUser/group allowlists and callback ownership checks
🖥️Desktop companionMAX sessions sidebar, English default and Russian localization

Optional cross-platform /sessions and /resume require explicit owner authorization. See feature behavior.

🚀 Quick start

Requires Hermes Core ≥0.21.4 and Python ≥3.12. The configured minimum/baseline/current Core fixtures are recorded in setup.

hermes plugins install Realmagnum/hermes-max-integration --enable
hermes gateway setup

Create a bot using the official MAX guide; setup prompts for MAX_BOT_TOKEN and access rules. Long polling needs no public endpoint. For webhooks, configure MAX_WEBHOOK_URL and MAX_WEBHOOK_SECRET with public HTTPS. Check existing subscriptions before switching modes: polling startup attempts to remove stale webhooks.

Configuration, optional dependencies and production procedures: setup. Keep tokens and secrets out of Git.

📊 Tables that stay readable

Enable MAX_TABLE_AS_IMAGE=true to turn Markdown tables into a shareable PNG. Install the renderer in the gateway's Python environment; renderer setup and fallback.

Source table:

| Server   | Status | Load | IP       |
|----------|--------|------|----------|
| web-01   | ✓ OK   | 23%  | 10.0.1.10 |
| web-02   | ✓ OK   | 67%  | 10.0.1.11 |
| db-main  | ✗ Down | 0%   | 10.0.2.5  |
| cache-01 | ⚠ High | 92%  | 10.0.3.1  |

Example image delivered to MAX:

Table rendering example: colored status icons and aligned columns

Useful for task lists, monitoring summaries and reports. Rendering is optional; this image illustrates the feature, not a live monitoring result.

📎 Sending a file

Ask the agent to create and send a file. It returns MEDIA:<absolute-file-path> in its final reply; the gateway uploads the attachment. With no authored text, the plugin adds its filename, or File if unavailable. Live file delivery was confirmed by the user on 2026-10-14.

Direct hermes send and cron paths without the output hook still need text: report.pdf MEDIA:/path/report.pdf. See caption contracts.

⌨️ Slash commands

20 commands are registered when possible; registration failure is non-fatal.

Core: /start, /new (/reset), /status, /model, /resume, /sessions, /help, /stop, /config, /restart.

Additional: /retry, /undo [N], /title [name], /branch (/fork), /compress (/compact), /rollback [number], /background (/bg, /btw), /agents (/tasks), /queue (/q), /topic.

🛡️ Security and compatibility

  • Tokens follow the active Hermes profile; webhook and callback checks fail closed. Media downloads retain host allowlisting and SSRF protection.
  • The bundled Russian Trusted Root CA extends trust only for MAX API/upload clients. Attachment downloads use standard TLS trust.
  • Local media stays under HERMES_HOME. No plugin telemetry or self-updating code. API endpoint: MAX_API_BASE (https://platform-api2.max.ru); official media hosts: *.max.ru, *.oneme.ru.
  • The pinned CI Core dependency audit reports 14 PyJWT 2.13.0 advisories. This remains an open upstream constraint; no audit exclusions or incompatible overrides are used.

Details: security, dated compatibility evidence and outstanding work. Changes since v2.10.2 are consolidated in v2.11.0; see the changelog.

License and credits

MIT · Built for Hermes Agent, based on the architectural starting point of hermes-max-platform.

README from the reviewed commit 50c7a9a; it updates when the author re-pins.

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section