We raised $6M in Seed FundingRead more
HermesHermes + AgentMail

Give your Hermes agent its own inbox

AgentMail is the fastest way to give a Hermes agent its own email inbox. Your agent can send email, receive replies, and manage full conversation threads from a dedicated inbox.

[ Install ]

One command

AgentMail works with any agent runtime - including Hermes from Nous Research. Install the SDK, set your API key, and your Hermes-powered agent has a real inbox it owns.

Python SDK
pip install agentmail
TypeScript SDK
npm install agentmail
Set API key
export AGENTMAIL_API_KEY="am_us_your_key_here"
[ Demo ]

See it in action

Read the blog post ->
[ Why email ]

Why your Hermes agent needs its own inbox

Works with any model runtime

AgentMail is model-agnostic. Whether you are running Hermes locally, via API, or through an orchestration framework, the SDK integrates the same way.

Dedicated agent identity

Your Hermes agent gets its own inbox with its own address. It never sends from your personal email or shares credentials with other agents.

Full thread context

Every email sent and received is available via API. Your agent can read the full thread history and maintain context across multi-turn conversations.

[ Code ]

Working code

import os
from agentmail import AgentMail

client = AgentMail(api_key=os.getenv("AGENTMAIL_API_KEY"))

# Create a dedicated inbox for this agent
inbox = client.inboxes.create()
print(f"Agent inbox: {inbox.inbox_id}")
# agent-abc123@agentmail.to

# Send an email
client.inboxes.messages.send(
    inbox_id=inbox.inbox_id,
    to="user@example.com",
    subject="Hello from your Hermes agent",
    text="This was sent by a Hermes-powered agent via AgentMail.",
)

# Read replies and pass them back to Hermes
messages = client.inboxes.messages.list(inbox_id=inbox.inbox_id)
for msg in (messages.messages or []):
    # Feed reply content back into your Hermes prompt
    print(f"Reply from {msg.from_address}: {msg.text}")
[ FAQ ]

FAQ

Common questions about AgentMail and Hermes.

Does AgentMail work with Nous Research Hermes models?
Yes. AgentMail is model-agnostic. The SDK works with any Python or Node.js agent runtime. Use it with Hermes locally, via Ollama, or through any API wrapper.
Do I need to configure SMTP or an email provider?
No. AgentMail handles deliverability, domain management, and inbox provisioning. Your Hermes agent just needs an API key.
Can my Hermes agent receive emails too?
Yes. Every AgentMail inbox is a real email address. Incoming messages are available immediately via the API or webhooks.
How do I pass email replies back into my Hermes agent?
Call client.inboxes.messages.list() to retrieve incoming messages, then include the message text in your next Hermes prompt as user context.
Is there a free tier?
Yes. Free tier includes 3 inboxes and 3,000 emails per month. No credit card required to start.
Why not just use the Gmail API or SendGrid?
Gmail API requires OAuth and was built for human accounts, not programmatic agent use. SendGrid handles sending only - no receiving, no threading, no reply parsing. AgentMail gives your Hermes agent a dedicated inbox it can create on demand, send from, receive on, and read - with full thread context and no credential sharing.

Give your Hermes agent its own inbox

Free tier. No credit card required. Inboxes ready in under a second.

Start for free

© 2026 AgentMail, Inc. All rights reserved.

Privacy PolicyTerms of ServiceSOC 2Subprocessors