Hermes Agent + Instagram
Post to Instagram from Hermes Agent
Through iHatePosting, Hermes Agent can put pictures and carousels on your feed, share stories and reels, and add collaborators to a post. Install the iHatePosting skill for Hermes Agent and sign in once, then ask it for the post you want.
Setup takes about a minute. A caption can hold up to 2,200 characters.
Posting to Instagram from Hermes Agent
Add iHatePosting to Hermes Agent once, connect Instagram, and then describe the post. Setup takes about a minute.
Add iHatePosting to Hermes Agent once
Install the iHatePosting skill for Hermes Agent and sign in once. Then connect Instagram in iHatePosting if you have not already.
npx skills add iHatePostingOrg/iHatePosting-Agent
npm install -g ihateposting
ihateposting auth:loginAsk for the Instagram post
Describe the post in plain language. Hermes Agent writes it, applies the settings and schedules it.
> Share menu.jpg on Instagram tomorrow at 11:00 with a short caption that introduces our autumn dishes.
Hermes Agent: Done. Scheduled on Instagram.What Hermes Agent can do on Instagram
On Instagram, Hermes Agent can put pictures and carousels on your feed, share stories and reels, and add collaborators to a post.
Feed posts
Publish a picture or a carousel with a caption.
Stories
Publish stories: each picture or video you attach becomes a story of its own.
Reels
Publish a video as a reel, including a trial reel that is shown to non-followers first.
Collaborators
Invite other accounts as collaborators on a post.
Scheduling
Choose the time, and iHatePosting publishes it for you.
How Hermes Agent gets a post onto Instagram
You say what you want and Hermes Agent makes the calls. A typical conversation goes like this.
Find your Instagram channel
Which Instagram accounts do I have in iHatePosting?
What happens
- Hermes Agent lists your channels and finds Instagram
- It also reads the channel's rules and settings
Compose your content
Post sale.png as an Instagram story today at 17:00.
What happens
- Hermes Agent drafts the text for Instagram
- It uploads any media you mention
Schedule and publish
Yes, schedule it for tomorrow at 9:00.
What happens
- Hermes Agent schedules the post in iHatePosting
- iHatePosting publishes it to Instagram at that time
Instagram settings reference
Say the option in your own words and Hermes Agent fills in the matching field. This is every Instagram setting it can use.
| Field | Type | Required | Description |
|---|---|---|---|
| post_type | string | Yes | post or story |
| is_trial_reel | boolean | No | Publish the reel as a trial reel |
| graduation_strategy | string | No | How a trial reel graduates to followers: MANUAL or SS_PERFORMANCE |
| collaborators | array | No | Accounts to invite as collaborators, each as a label |
Common configurations
Each case below is a request Hermes Agent understands, followed by the Instagram options it sets.
A story
Post it as a story
- Applies:
post_type: story
A feed post
Post it to my feed
- Applies:
post_type: post
A trial reel
Publish the video as a trial reel that I will graduate by hand
- Applies:
is_trial_reel: true,graduation_strategy: MANUAL
What is Hermes Agent?
Hermes Agent is Nous Research's open-source terminal agent. It reads MCP servers from one YAML file and can also use skills.
What it writes stays a draft unless you ask for the post to go out now or at a set time.
How iHatePosting works with Hermes Agent
Installed as a skill, iHatePosting gives Hermes Agent a SKILL.md that teaches it the commands and how to shape a post for each platform, and the ihateposting command line does the work.
- iHatePosting skill (command line): npx skills add
iHatePostingOrg/iHatePosting-Agent - iHatePosting MCP server (sign in): Entry in
~/.hermes/config.yamlwith auth: oauth - iHatePosting MCP server (API key): Entry in
~/.hermes/config.yamlwith an Authorization header
# iHatePosting skill (command line)
npx skills add iHatePostingOrg/iHatePosting-Agent
npm install -g ihateposting
ihateposting auth:loginInstagram and the other platforms Hermes Agent reaches
Ask for Instagram and other channels in a single message; every channel still applies its own settings.
Instagram requests to try in Hermes Agent
A feed post
Share menu.jpg on Instagram tomorrow at 11:00 with a short caption that introduces our autumn dishes.
A story
Post sale.png as an Instagram story today at 17:00.
A reel
Publish demo.mp4 as an Instagram reel on Friday at 18:00 and invite @studio as a collaborator.
Instagram limits and gotchas to know
A few of Instagram's rules shape how Hermes Agent writes your request, so it helps to know them.
- A caption can hold up to 2,200 characters.
- Instagram takes no post without a picture or a video.
- Each file of a story becomes its own story, and a story takes no collaborators.
- A trial reel is a single video, and Instagram offers trial reels only to eligible accounts.
- Alt text on a picture can hold up to 1,000 characters.
post_typeis required on every post; the agent uses post unless you ask for a story.
Frequently asked questions
Start free for 30 daysInstall the iHatePosting skill for Hermes Agent and sign in once, connect Instagram in iHatePosting, then ask Hermes Agent for the post in plain language. It schedules the post and iHatePosting publishes it at the time you set.
A caption can hold up to 2,200 characters.
Hermes Agent can set post_type, is_trial_reel, graduation_strategy, collaborators. The settings reference on this page lists what each one does.
No. The command line signs in with ihateposting auth:login in your browser; IHATEPOSTING_API_KEY is only the alternative. The route that takes a key uses one from Settings → Agents / Dev in iHatePosting.
Yes. Name a day and a time and iHatePosting publishes the post then, whether or not Hermes Agent is still open. An agent that keeps running can also repeat a job on a routine you give it.