This guide walks through creating a managed Hermes agent on OpenComputer, connecting it to Telegram, and chatting with it. By the end you’ll have a personal AI agent running Claude via OpenRouter, reachable from your phone.Documentation Index
Fetch the complete documentation index at: https://opensandbox-feat-cf-dev-cutover.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- An OpenComputer API key from app.opencomputer.dev
- The oc CLI installed and configured
- Telegram installed on your phone or desktop (download here)
Install the CLI
Install theoc binary from the CLI installation guide.
Step 1: Create the agent
running before proceeding. Provisioning typically takes 20–30 seconds.
Step 2: Create a Telegram bot
Open this link to BotFather in Telegram (or search for@BotFather in the app). Then:
- Tap Start if it’s your first time
- Send
/newbot - Enter a display name when prompted (e.g. “My Hermes Agent”)
- Enter a username — must end in
bot(e.g.my_hermes_test_bot) - BotFather replies with a token like
110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw— copy it
Step 3: Connect Telegram
Step 4: Chat with your agent
Open Telegram, find your bot by its username, and send a message. The agent responds using Claude (via OpenRouter) with the full Hermes personality — memory, tool use, and multi-turn conversation. If the bot suggests setting a home channel (/sethome), do it — this is where Hermes delivers cron job results and cross-platform messages.
Shell access
You can shell into the agent’s sandbox at any time:Cleanup
Disconnect the channel and delete the agent:What’s next
- Install gbrain for persistent memory:
oc agent install my-hermes gbrain - Connect Slack instead of Telegram (planned)
- Create an OpenClaw Agent — same journey, different core: multi-channel gateway with plugin SDK and hot-reload config
- Custom cores — bring your own agent runtime with
oc shelland the raw sandbox API - Hermes docs — see the full Hermes documentation for skills, cron jobs, voice, browser tools, and more