Channel

Talk to your AI agent from Telegram

Create a bot with @BotFather, paste the bot token, and the webhook is registered for you. An inbound message goes to the same runtime, through the same tool registry, policy engine and approval gate as web chat.

What you get

Telegram capabilities, under your rules

  • ✓ The same runtime, tool registry, policy engine and approval gate as web chat
  • ✓ A destructive request stops for approval exactly as it would in web chat
  • ✓ The allowed-senders list starts empty, meaning nobody
  • ✓ Senders are identified by the platform’s own id, never a display name
  • ✓ A channel run carries nobody’s permissions, so anything that needs one is refused
  • ✓ A repeated delivery of the same message is recognised and dropped

What you need to connect it

  • A bot created with @BotFather, and its token
  • The numeric Telegram user ids of the people allowed to message it
Read the Telegram guide

Human approval

Destructive work waits for a person

approval

waiting
delete_customers CRITICAL risk Destructive
Tool
delete_customers
Operation
DELETE
Runs against
Production PostgreSQL
Agent
Support Agent

Exactly these values

{
    "filters": {
        "id": 100
    }
}

Your decision applies to these values only. If anything about the call changes, it stops for approval again.

Asked for from Telegram. Connecting a channel does not create a second agent with different rules.

FAQ

Connecting Telegram: common questions

Something not covered here? Ask us directly.

Who can message the agent on Telegram?

Nobody, until you add them. The allowed-senders list starts empty, and a sender is identified by the platform’s own id, never by a display name anyone could change.

Is the Telegram agent different from the one in web chat?

No. An inbound message goes to the same runtime, through the same tool registry, policy engine and approval gate. Connecting a channel does not create a second agent with looser rules.

What happens if someone asks for something destructive from Telegram?

The call stops for approval exactly as it would in web chat. A channel run carries nobody’s permissions, so anything that needs a person’s permission is refused rather than guessed at.

Will a message be handled twice if Telegram delivers it twice?

No. A repeated delivery of the same message is recognised and dropped, so a retry from the platform does not run the request again.

Connect Telegram to your first agent

Connect one system and read the agent Caterfli writes from it. There is a demo connection too, if you would rather look before you wire anything up.