gateway

Start and stop the Telegram gateway for forwarding messages to the agent.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/coinvest518/deepagents-LANGCLAW --skill gateway-coinvest518
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gateway
Source: https://github.com/coinvest518/deepagents-LANGCLAW/tree/main/.deepagents/telegram/skills/gateway
Command: npx skills add https://github.com/coinvest518/deepagents-LANGCLAW --skill gateway-coinvest518

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Starts and stops the Telegram gateway that receives messages from Telegram and forwards them into this agent.

Core Features & Use Cases

  • Start/stop the gateway to enable message flow from Telegram to the agent.
  • SDK gateway supports command routing for different subagents.
  • Attachments (voice, photo, document) are downloaded for processing by the agent.

Quick Start

Start the gateway using the recommended scripts to begin handling Telegram messages.

Frequently Asked Questions about gateway

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I start and stop a Telegram gateway for my agent?

You can start and stop the Telegram gateway to control message flow from Telegram to your agent using recommended Python scripts for long-polling or the SDK gateway for automated routing.

What environment variables do I need to set up a Telegram bot gateway?

Setting up the Telegram bot gateway requires the environment variables BOT_TOKEN (or TELEGRAM_BOT_TOKEN) and TELEGRAM_AI_OWNER_CHAT_ID to authenticate the bot and identify the owner's chat for message forwarding.

Can the Telegram gateway route messages to different subagents?

Yes, the SDK gateway supports command routing, allowing you to direct incoming Telegram messages to different subagents for specialized processing within your automation workflow.

Does the Telegram gateway handle attachments like voice messages and photos?

The Telegram gateway automatically downloads attachments such as voice messages, photos, and documents, forwarding them to the agent so they can be processed alongside text messages.

What is the best way to automate Telegram-to-agent messaging in production?

Automating Telegram-to-agent messaging in production is best achieved by starting the SDK gateway, which provides real-time message forwarding and supports routing commands to subagents for complex workflows.

Why use Python scripts for the Telegram gateway instead of the SDK?

Python scripts enable long-polling for the Telegram gateway, offering a straightforward method to start and stop message flow when you do not need the advanced command routing features of the SDK gateway.