Hermes Agent Archive / Commands

Sending images and other media

From Official Docs · September 24, 2026

--file is for text bodies only. To deliver an image, document, video, or audio file as a native platform attachment, reference it inside the message text with the MEDIA:<local_path> directive:

By default, image files are sent as photos (platforms like Telegram recompress these). Add [[as_document]] to the message to deliver them as uncompressed file attachments instead:

Examples:

From the official Hermes Agent CLI reference.