Deploy your own Telegram bot

You can run Legate from Telegram. Create a bot, connect your wallet, register the bot's token, and Legate runs it for you — every message becomes a full multi-agent briefing, delivered right in the chat. It's built for general crypto research, not contract-address lookups only: send a ticker, a Solana or EVM contract address, or any crypto topic.

1. Create a bot with @BotFather

Open @BotFather in Telegram and send /newbot. Follow the prompts to name your bot. BotFather replies with a bot token — a string like 1234567890:ABCdef…. The bot is yours to brand; the token is what you'll hand to Legate. It takes about two minutes.

2. Connect your wallet

Open the Settings page and connect a wallet. Legate uses Sign-In With Solana (SIWS) — you sign a message to prove ownership, with no transaction and no gas. Deploying a bot is wallet-gated: until your wallet is connected, the Deploy button stays disabled and Settings shows a prompt to connect first.

3. Register the token

Paste your BotFather token into the token field and click Deploy. Legate checks it two ways before saving. First a format check — the token must be digits, a colon, then at least 30 url-safe characters. Then a live call to Telegram to confirm the token is real. A token Telegram rejects comes back with a message telling you to re-check it in @BotFather.

Your bot token is encrypted with AES-256-GCM before it is written to the database, and it is never written to logs. Legate uses it only to send and receive Telegram messages — the research itself runs on Legate's own AI keys, never yours.

4. Message your bot

Once the bot is live, just message it. Send a token ticker, a Solana or EVM contract address, or any crypto topic — there's no command to remember and no /research step. The bot replies right away and runs the five-agent pipeline in the background. Your topic has to be 3–200 characters.

You'll see a Researching… note and a typing indicator, then the finished briefing about a minute later, formatted for the chat.

What the bot won't research

Legate researches crypto and web3 topics only. General knowledge, coding help, essays, personal or legal advice, and prompt-injection attempts — "ignore your instructions", "reveal your system prompt", "act as…" — are refused. The Commander catches these on the first step and returns a short Out of Scope reply instead of a briefing.

Rate limits

Three caps keep a shared, free service healthy:

All three reset at UTC midnight. A run is counted the moment it starts, before the agents finish — so a run that fails still uses one of the day's slots. When a cap is hit, the bot says so in plain language and tells you when to try again.

Managing your bot

Pasting a new token for the same bot updates it in place — that's how you rotate a token, not a way to create duplicates. Revoking a bot from Settings deactivates it and removes its Telegram webhook, so it goes quiet immediately.

Next: The five agents