Give your Hermes agent a phone number
Nous Research's Hermes agent reads MCP servers from config.yaml. Add AgentPhone there and Hermes can text, call and read replies from its own number, in the CLI and on the messaging gateway.

Hermes is Nous Research's self-improving agent: a CLI, a messaging gateway and a growing skill library. It already connects to MCP servers through its config file, so giving it a phone is a short YAML block and a restart. After that it can send a text, wait for the reply and place a call, from a number that belongs to it rather than to you.
Setup
Hermes reads MCP servers from ~/.hermes/config.yaml. The hosted AgentPhone server needs a URL and a bearer header, and Hermes resolves ${VAR} from the environment and from ~/.hermes/.env when it connects.
mcp_servers:agentphone:url: "https://mcp.agentphone.ai/mcp"headers:Authorization: "Bearer ${AGENTPHONE_API_KEY}"
Put AGENTPHONE_API_KEY=sk_live_... in ~/.hermes/.env, then run /reload-mcp in a session or restart Hermes. hermes mcp test agentphone confirms the connection and lists the tools. Only the env you configure explicitly is passed through, which is the behaviour you want for a key.
If you prefer a local process, the stdio form works too:
mcp_servers:agentphone:command: npxargs: ["-y", "agentphone-mcp"]env:AGENTPHONE_API_KEY: "${AGENTPHONE_API_KEY}"
You can limit what Hermes sees with a tools: { include: [...] } block under the server, for example to leave out number purchases on a shared gateway.
The skill
Hermes skills follow the agentskills.io standard and live in ~/.hermes/skills/. The AgentPhone skill installs with the standard installer and gives Hermes the REST and MCP reference behind a /agentphone command:
npx skills add AgentPhone-AI/skills
Hermes prompts for required environment variables in the CLI and never asks for them in a chat channel, so the key stays out of your Telegram history.
What to ask it
The phone numbers in the examples are placeholders from the reserved 555 range. Replace each with the number you actually mean: your own mobile for the text test, the real business for a call.
- "Text +1 415 555 0123: running ten minutes late, start without me."
- "Watch the support number and tell me when someone replies."
- "Call the pharmacy and ask if the prescription is ready." Hosted calls cost $0.22 a minute and open with an AI disclosure.
- "Buy a number in the 646 area code and attach it to the assistant." The purchase asks for confirmation since it spends $3; sends and calls do not.
On the messaging gateway, the same tools work from Telegram or Discord, so you can ask Hermes to make a call from your phone and read the transcript when it is done.
Things to know
- Inbound SMS works immediately. Outbound SMS on a US number needs 10DLC registration, which we submit for you; a personal assistant registers as a sole proprietor for $25 (sole proprietor or standard brand).
- The $5 signup credit covers the first number and about 100 one-segment texts. Outbound calls need a paid balance.
- A 401 from the server means the key did not resolve; check
~/.hermes/.envand reload.
FAQ
Where does the AgentPhone config go in Hermes? Under mcp_servers in ~/.hermes/config.yaml, with url: "https://mcp.agentphone.ai/mcp" and an Authorization header that reads the key from ${AGENTPHONE_API_KEY}.
How does Hermes get the API key? From the environment or ~/.hermes/.env, resolved when it connects. Hermes only passes through the variables you configure, and it prompts for required keys in the CLI rather than in chat.
Can Hermes use the phone from Telegram or Discord? Yes. The messaging gateway has the same tools as the CLI, so you can ask it to text or call from any connected channel and read the result there.
What does it cost? $3 a month for a number, $0.02 per SMS segment, $0.22 a minute for hosted calls, with $5 of credit on signup and no card required.
Is 10DLC registration required? For sending SMS from a US number, yes. Receiving is not gated. A personal assistant registers as a sole proprietor for $25 (sole proprietor or standard brand) and we handle the submission.


