Herald Agent Documentation
Everything you need to deploy, customize, and manage your AI agents on Telegram. Powered by Nousresearch.
What is Herald Agent?
Herald Agent is a one-click AI agent deployer. It lets you create intelligent Telegram bots powered by Nousresearch — in under 60 seconds, with zero configuration and zero cost.
You bring a Telegram bot token from BotFather. Herald Agent handles the AI, the infrastructure, and the 24/7 uptime.
How it works under the hood
When you deploy an agent:
- Your Telegram bot token is validated via getMe
- A Telegram webhook is registered pointing to the Herald backend
- Every message your bot receives is forwarded to Nousresearch
- The AI response is sent back to the user automatically
Quickstart
Deploy your first agent in 3 steps.
Send /newbot and follow the prompts.
Copy the token — it looks like 7123456789:AAHxxxx...
Select a template, give your agent a name, optionally add a personality, and paste your token.
Find your bot on Telegram, send /start, and start chatting.
Getting Your Bot Token
Every Telegram bot has a unique token issued by BotFather. Here's exactly how to get one:
1. # Open Telegram, search for @BotFather 2. Send: /newbot 3. Enter a display name: My Herald Agent 4. Enter a username (must end in "bot"): myheraldagent_bot 5. BotFather replies with your token: 7123456789:AAHxxxxxxxxxxxxxxxxxxxxx 6. Copy that token → paste into Herald Agent form
Templates
Templates define your agent's core behavior and skills. You can always override behavior with a custom personality prompt.
Personality Prompts
The optional personality field lets you override or extend the default template behavior. This is a system prompt that gets injected into every conversation.
Examples
You are a sharp crypto researcher. Focus on DeFi and Layer 2 news.
Always cite your sources. Keep answers under 3 sentences unless asked
to elaborate. Speak like a Bloomberg terminal, not a chatbot.
You are the official support bot for $MYTOKEN.
Answer questions about tokenomics, staking, and the roadmap.
Be friendly but concise. Never speculate about price.
You are a Solana trading assistant named Phantom.
You only discuss Solana ecosystem projects.
Always remind users to DYOR before trading.
Use casual language, like a knowledgeable friend.
POST /api/agents/create
Deploys a new agent. Validates the Telegram token, deletes any existing webhook, and registers a new one pointing to the Herald backend.
Troubleshooting
Bot not responding after deploy
This usually means the webhook was not set correctly. Redeploy the agent using the form — this will delete the old webhook and register a fresh one.
Invalid Telegram bot token error
Check these things:
- Copy the full token including the colon: 7123456789:AAHxx...
- Do not add spaces before or after the token
- Make sure you're using a bot token, not a user account token
- Tokens from BotFather are always in format NUMBER:LETTERS
Bot responds with error message
If your bot replies with Sorry, I ran into an error, it usually means the Nousresearch API timed out. This is temporary — try messaging again.
Redeploy an existing bot
Simply go through the deploy form again with the same token. Herald Agent automatically clears the old webhook before setting a new one. No duplicate agents are created.
# Check what webhook Telegram has registered for your bot curl "https://api.mogra.site/herald-agent/webhook-info?token=YOUR_TOKEN"
FAQ
Is Herald Agent really free?
Yes. No subscriptions, no token purchases, no hidden fees. Herald Agent is free forever.
Do I need my own AI API key?
No. Herald Agent provides the Nousresearch API access. You only need a Telegram bot token from BotFather.
Can I deploy multiple agents?
Yes. Each Telegram bot token creates a separate agent. Deploy as many as you need.
What AI model powers the agents?
Agents are powered by hermes-3-llama-3.1-405b from Nousresearch — a fast, capable language model optimized for real-world assistant tasks.
Does my agent remember previous conversations?
Currently each message is processed independently. Conversation memory is on the roadmap.
Can I update my agent's personality after deploying?
Yes. Simply redeploy with the same token and a new personality prompt. The old webhook is replaced automatically.
Is my Telegram token stored?
Your token is encoded into the webhook URL and never stored in a database. Only Telegram holds the webhook URL, and it is never logged or persisted on our servers.
Discord support?
Coming soon. Discord is the next platform on the roadmap.