
Research
/Security News
Malicious Chrome and Firefox Extensions Steal Crypto Traders’ Session and Wallet Data
Malicious Chrome and Firefox extensions target Axiom Trade and Padre users, stealing session tokens and wallet data.
@agentick/connector-telegram
Advanced tools
Telegram plugin for Agentick gateway — bridge Telegram bots to agent sessions
Telegram platform adapter for the Agentick connector system. Bridge a Telegram bot to an agent session.
pnpm add @agentick/connector-telegram grammy
grammy is a peer dependency.
import { createConnector } from "@agentick/connector";
import { TelegramPlatform } from "@agentick/connector-telegram";
const connector = createConnector(
client,
new TelegramPlatform({
token: process.env.TELEGRAM_BOT_TOKEN!,
allowedUsers: [parseInt(process.env.TELEGRAM_USER_ID!)],
}),
{
sessionId: "main",
contentPolicy: "summarized",
deliveryStrategy: "debounced",
debounceMs: 2000,
},
);
await connector.start();
interface TelegramConnectorOptions {
token: string;
allowedUsers?: number[];
chatId?: number;
confirmationStyle?: "inline-keyboard" | "text";
}
token — Telegram bot token from @BotFather.
allowedUsers — Whitelist of Telegram user IDs. Empty array allows all
users. Get your ID from @userinfobot.
chatId — Specific chat to use. If omitted, auto-detects from the first
incoming message.
confirmationStyle — How tool confirmations are presented. Default:
"inline-keyboard".
Sends a message with Approve/Deny buttons. The user taps a button, the confirmation resolves.
Sends a text prompt. The next message from the user is parsed as the confirmation response. Supports natural language — "yes but skip tests" is approved with the full text as reason.
For a conversational bot experience:
{
contentPolicy: "summarized", // collapse tool calls into brief summaries
deliveryStrategy: "debounced", // wait for a pause before sending
debounceMs: 2000,
}
For a long-running agent that reports results:
{
contentPolicy: "text-only", // only deliver text, no tool noise
deliveryStrategy: "on-idle", // deliver only when execution completes
}
TelegramPlugin connects a bot directly to the gateway without a separate
connector process:
import { createGateway } from "@agentick/gateway";
import { TelegramPlugin } from "@agentick/connector-telegram";
const gateway = createGateway({
apps: { myApp },
defaultApp: "myApp",
plugins: [
new TelegramPlugin({
token: process.env.TELEGRAM_BOT_TOKEN!,
allowedUsers: [12345678],
}),
],
});
The plugin receives messages from Telegram, routes them to sessions, and
delivers responses back. Registers a telegram:send method for outbound
messaging from tool handlers.
With the gateway config system, Telegram
options live in agentick.config.json:
{
"connectors": {
"telegram": {
"token": "${env:TELEGRAM_BOT_TOKEN}",
"allowedUsers": [12345678],
"chatId": 987654321
}
}
}
Read it from the config store:
import { getConfig } from "@agentick/gateway";
const telegram = getConfig().get("connectors")?.telegram;
if (telegram) {
gateway.use(new TelegramPlugin(telegram));
}
Importing @agentick/connector-telegram augments the gateway's
ConnectorConfigs type, so get("connectors")?.telegram is fully typed.
export { TelegramPlugin, type TelegramPluginOptions } from "./telegram-plugin.js";
export { escapeMarkdownV2 } from "./telegram-format.js";
export { parseTextConfirmation, formatConfirmationMessage } from "./confirmation-utils.js";
FAQs
Telegram plugin for Agentick gateway — bridge Telegram bots to agent sessions
We found that @agentick/connector-telegram demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.

Research
/Security News
Malicious Chrome and Firefox extensions target Axiom Trade and Padre users, stealing session tokens and wallet data.

Security News
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.