doodle top mobile

Post to Lemmy from Hermes Agent

Hermes Agent can post to Lemmy communities through Postiz. After you add the Postiz skill, you tell Hermes which community, title, and link you want from Telegram, Discord, Slack, or the CLI. It resolves the community ID on your Lemmy instance, builds text or link posts, targets several communities in one request, and schedules them.

Setup GuideGitHub

Please make sure there is always a human in the loop.

Last updated: September 2026

doodle left mobiledoodle right mobile

Post to Lemmy in Seconds

Setup, then just ask

# One-time setup
npx skills add gitroomhq/postiz-agent
export POSTIZ_API_KEY=your_api_key

# Then just ask Hermes Agent:
> Post our update to the technology
  Lemmy community tomorrow at 9am

Hermes Agent: Done! Your Lemmy post is scheduled.

Lemmy-Specific Features

🏘️

Community Posting

Post directly to any Lemmy community. Target specific communities by name and ID for precise content distribution.

🔗

Link Posts

Share URLs alongside your post content. Perfect for sharing articles, resources, and external content with your communities.

🌐

Federated Network

Reach users across the entire fediverse. Your posts on one Lemmy instance are visible to federated instances automatically.

🔀

Cross-Community Posting

Post to multiple Lemmy communities in a single request. Share content across related communities to maximize reach.

📝

Custom Titles

Set unique titles for each community post. Tailor your headlines to match the culture and expectations of each community.

📅

Scheduled Posting

Schedule posts with precise timestamps. Plan your community engagement ahead of time and post at peak activity hours.

How to post to Lemmy from Hermes Agent

You describe what you want in plain language and Hermes Agent handles the Postiz calls for you. Here is how a typical conversation goes.

1

Find Your Lemmy Integration

Ask Hermes Agent whether your Lemmy account is connected. It also checks which options the platform supports.

Example conversation

> Is my Lemmy account connected to Postiz?

Hermes Agent: Yes — your Lemmy account is connected
  and ready. Want me to post something?
2

Choose Your Communities

Identify the Lemmy communities you want to post to. Each community requires a name, ID, and a post title. You can optionally include a URL for link posts.

Example conversation

> Draft a Lemmy post about our new
  feature launch

Hermes Agent: Here's a draft for Lemmy:
  "We just shipped something big..."
  Want me to add media and schedule it?
3

Create Your Post

Schedule a Lemmy post with your content, target communities, and optional link URL. Posts can target one or multiple communities at once.

Example conversation

> Yes — add screenshot.png and schedule
  it for tomorrow at 9am

Hermes Agent: Done! Scheduled on Lemmy for
  tomorrow at 9:00 AM.

Lemmy Settings Reference

Mention any of these in plain language and Hermes Agent sets them for you. These are the Lemmy options it can apply to any post.

FieldTypeDescription
__typestringMust be "lemmy"
subredditarrayArray of community objects: [{value: {subreddit, id, title, url?}}]
subreddit[].value.subredditstringCommunity name (min 2 characters)
subreddit[].value.idstringCommunity ID on the Lemmy instance
subreddit[].value.titlestringPost title (min 2 characters)
subreddit[].value.urlstringOptional URL for link posts

Common Configurations

Ask Hermes Agent for any of these common Lemmy scenarios and it applies the matching settings.

Simple Text Post to One Community

Just ask

> Post it with: Simple Text Post to One Community

Hermes Agent: Got it. Applying:
  subreddit: {'subreddit': 'technology', 'id': 'comm-123', 'title': 'Interesting discussion on AI agents'}

Link Post with URL

Just ask

> Post it with: Link Post with URL

Hermes Agent: Got it. Applying:
  subreddit: {'subreddit': 'artificial', 'id': 'comm-456', 'title': 'New AI social media scheduler', 'url': 'https://postiz.com'}

Cross-Post to Multiple Communities

Just ask

> Post it with: Cross-Post to Multiple Communities

Hermes Agent: Got it. Applying:
  subreddit: {'subreddit': 'technology', 'id': 'comm-123', 'title': 'AI-powered social media automation'}, {'subreddit': 'SaaS', 'id': 'comm-789', 'title': 'Let an AI agent run your social media'}, {'subreddit': 'artificial', 'id': 'comm-456', 'title': 'An agent-first alternative to Buffer'}

What is Hermes Agent?

Hermes Agent is an open-source AI agent from Nous Research, released under the MIT license. It runs on your own machine or server, you talk to it from Telegram, Discord, Slack, WhatsApp, Signal, or the CLI, and it executes tools such as the Postiz skill to post to Lemmy and other channels. It works with Nous Portal, OpenRouter, OpenAI, or your own model endpoint.

💬

Message From Anywhere

Talk to Hermes from Telegram, Discord, Slack, WhatsApp, Signal, email, or the terminal. Ask for a Lemmy post from whichever app you already have open.

⏰

Built-in Cron Scheduler

Create recurring jobs in plain language, such as weekdays at 9am. Hermes drafts and schedules Lemmy content through Postiz and reports back to your chat.

🔧

Open Source, Any Model

Hermes Agent is MIT licensed and self-hosted. Run it on Nous Portal, OpenRouter, OpenAI, or your own endpoint, and extend it with MCP servers or skills like Postiz.

How Postiz Works with Hermes Agent

Postiz ships as an agent skill in the agentskills.io SKILL.md format that Hermes Agent reads. The skill documents every Postiz CLI command, the credentials it needs, and the Lemmy settings, so Hermes knows how to list your channels, upload media, and create posts without any custom code.

  • ✓Install the Postiz CLI (npm install -g postiz) and add the skill with npx skills add gitroomhq/postiz-agent
  • ✓Hermes loads skills from ~/.hermes/skills and shows them with hermes skills list
  • ✓Authenticate with POSTIZ_API_KEY, or run postiz auth:login for an OAuth device flow
  • ✓Every Postiz command returns JSON, so Hermes can chain discovery, upload, and posting
  • ✓Prefer MCP? Add https://mcp.postiz.com/mcp-oauth-dynamic under mcp_servers in ~/.hermes/config.yaml

Install Postiz

# Install the Postiz CLI and skill
npm install -g postiz
npx skills add gitroomhq/postiz-agent

# Authenticate: API key or OAuth device flow
export POSTIZ_API_KEY=your_api_key
# or: postiz auth:login

# Confirm Hermes can see the skill
hermes skills list

Lemmy Posting with Hermes Agent

Hermes Agent reads Postiz commands through its tool system, discovers your integrations, and handles the entire posting workflow — from content creation to scheduling.

🧠

From Any Chat App

Telegram, Discord, Slack, WhatsApp, Signal

Send a message to Hermes Agent from your favorite chat app. Its gateway runs in the background, so it picks up your message, discovers your Lemmy account via Postiz, composes the post, and publishes it to your chosen communities.

Hermes Agent

You: Post to Lemmy about our new
  feature launch, schedule for tomorrow
  at 9am

Hermes: I'll handle that! Let me:
  1. Find your Lemmy integration
  2. Compose your post content
  3. Schedule for tomorrow 9:00 AM

  Done! Post scheduled successfully.
  Post ID: abc-123
🧠

Scheduled & Proactive

Built-in Hermes cron jobs

Hermes Agent has a built-in cron scheduler. Create a recurring job in plain language and Hermes drafts and schedules your Lemmy content through Postiz on that schedule, then reports back to whichever chat you use.

Hermes cron job

# From the terminal
hermes cron create "weekdays at 9am" \
  "Check ~/content/lemmy for new posts.
   Upload any media with postiz upload,
   then schedule each one to Lemmy
   for noon today via Postiz. Move posted
   files to ~/content/published."

# Or from any chat with Hermes
/cron add "weekdays at 9am" "Schedule
  today's Lemmy post via Postiz"

Why Hermes Agent + Postiz for Lemmy

Hermes Agent makes Postiz a natural fit for your Lemmy workflow. The agent discovers all available commands and autonomously chains them together.

  • ✓Hermes Agent is MIT licensed and Postiz has a public API, so nothing is locked in
  • ✓Chat-first: ask for a Lemmy post from Telegram, Discord, Slack, WhatsApp, or Signal
  • ✓Cron jobs in plain language for hands-free recurring Lemmy posts
  • ✓Cross-post to Lemmy and other channels in one request, each with its own settings
  • ✓Model-agnostic: run Hermes on Nous Portal, OpenRouter, OpenAI, or your own endpoint
  • ✓Credentials stay in Postiz; Hermes only holds a Postiz API key or OAuth session

SKILL.md (what Hermes reads)

---
name: postiz
description: Postiz is a tool to schedule
  social media and chat posts to 28+
  channels including Lemmy
homepage: https://docs.postiz.com/public-api/introduction
---

# Commands Hermes can run
postiz auth:status
postiz integrations:list
postiz integrations:settings <id>
postiz upload <file>
postiz posts:create -i <id> -c "..." -s <iso>
postiz posts:list
postiz analytics:platform <id>

# Lemmy settings
subreddit

Using a different agent for Lemmy?

Postiz works with any AI agent that can run CLI commands or call MCP tools, and the Lemmy settings on this page are the same for every agent. Read the same guide for Claude Code, OpenClaw, Codex. Or see the guide for any AI agent and the Postiz MCP server.

Lemmy + Other Platforms

Schedule the same content to Lemmy and other platforms in a single request. Each platform gets its own settings.

Example

> Post "Excited to announce our new feature!" to
  Lemmy and LinkedIn tomorrow at 9am, then schedule
  a daily tip on Lemmy every weekday at 10am

Hermes Agent: Done! Scheduled:
  - Lemmy + LinkedIn: tomorrow 9:00 AM
  - Daily tips on Lemmy: Mon-Fri 10:00 AM

What can you ask Hermes Agent to do on Lemmy?

You can ask Hermes Agent to create, schedule, cancel, and measure Lemmy posts in plain language. These are the kinds of requests it handles through Postiz.

Ask Hermes Agent

> Post our agent setup guide to the technology community on Lemmy as a link post titled "Running Postiz with an AI agent", tomorrow at 9am.

Hermes resolves the community ID, sets title and url, and schedules the post.

Ask Hermes Agent

> Cross-post this announcement as a text post to the technology and programming communities.

Hermes builds one community entry per target and creates the post.

Ask Hermes Agent

> Which Lemmy communities can I post to from my connected instance?

Hermes fetches communities through postiz integrations:trigger and lists them.

Lemmy rules Hermes Agent has to follow

Postiz validates every Lemmy post before it is scheduled, so these limits and required settings decide whether a request succeeds.

  • ▸Each community entry needs an id, the community name (minimum 2 characters), and a title of at least 2 characters.
  • ▸Add url only for link posts. Leave it out and Hermes creates a text post from the post content.
  • ▸Community IDs are specific to the Lemmy instance you connected in Postiz. Hermes resolves them by name.
  • ▸Lemmy is federated, so moderation rules differ per community. Vary titles when cross-posting and respect each community's rules.

Hermes Agent and Lemmy: frequently asked questions

Can Hermes Agent post to Lemmy?

Yes. With the Postiz skill installed, Hermes Agent creates and schedules text and link posts in Lemmy communities on the instance you connected. It can target several communities in one request and give each its own title. You ask in plain language from any chat Hermes is connected to and it runs the Postiz commands.

How do I connect Lemmy to Hermes Agent?

Connect your Lemmy account and instance in the Postiz dashboard, then install the Postiz skill in Hermes with npx skills add gitroomhq/postiz-agent and set POSTIZ_API_KEY. Hermes finds the Lemmy channel with postiz integrations:list. Your Lemmy password stays in Postiz; Hermes only holds the Postiz API key.

Can Hermes Agent post to multiple Lemmy communities at once?

Yes. The Lemmy settings accept an array of community objects, each with an id, name, title, and optional url. Ask Hermes to cross-post and it fills one entry per community. Give each a distinct title so moderators do not see identical posts across communities.

How does Hermes Agent create a Lemmy link post?

Include a URL in your request and Hermes sets the url field on the community entry, which makes Lemmy render it as a link post with the post content as the body text. Omit the URL and Hermes creates a plain text post with the same title and body.

Can Hermes Agent post to Lemmy on a schedule?

Yes. Hermes Agent has a built-in cron scheduler. Run hermes cron create "every monday 9am" with a prompt such as "summarize last week's release notes and post them to the technology community via Postiz". Hermes runs it unattended and confirms in your chat.

Start posting to Lemmy

Install Postiz Agent and automate your Lemmy community engagement with AI-powered scheduling and publishing.