YOUR AGENT · YOUR CHAT APP

Put an agent to work in Telegram

Connect your own Telegram bot to a TokenFlux agent. Work in private chats, groups and topics, and schedule tasks for a linked chat.

What it looks like in Telegram · ExampleTokenFlux Agent

Read this page and summarize the key points.

TokenFlux Agent

Here are the key points, with links to the source…

A draft appears in private chats. In groups, one message is edited as the reply grows. The final answer arrives as new messages.

01 / Telegram

How to connect

First, open Agents, select an agent, then select Manage and Channels.

  1. 01

    If Create bot is offered, open it in Telegram and confirm. TokenFlux gets the token, connects the bot and links your private chat automatically. Just send the bot a message.

  2. 02

    For the token path only: get a token from @BotFather with /newbot, paste it and select Connect and start. The bot must have no webhook and serve no other agent.

  3. 03

    For the token path, create a link, open it and press Start to link the private chat. To link a group, use Add @bot to a group. The auto-created bot’s private chat needs no link step.

Read the setup guide ↗

02 / Example

Three tasks to try

Example

A scheduled briefing

Every weekday at 9:00, summarize the top 10 Hacker News posts and send the summary to this chat.

Daily, weekdays, weekly, hourly or cron. Delivery can fail; check the run in the web app.

Example

Research a question

Search the web for this topic, read the source pages and give me a summary with links.

Web search and page reading.

Example

Work on files

Read the files in your workspace, run a script to check the data and save a report there.

Files and shell commands in the sandbox.

Read about automations ↗

Good to know

  • Text only. Images and files sent in chat are not read. Use the web app for images and workspace files for file tasks.
  • Your bot or app serves one agent. Every task spends your TokenFlux balance on model tokens.
  • By default, only the person who linked the chat can use the agent. It ignores other people. In groups, it reads messages that mention or reply to it.

Chat commands

CommandWhat it does
/newStart a new conversation with the next message.
/stopStop this chat’s running task.
/model [ID]List available models or set this conversation’s model.
/helpList all commands.
/members [on|off]In the whole group, the person who linked it sets who can use the agent. Read the warning above.

Frequently asked questions

Is it free?

The agent spends your TokenFlux balance on model tokens. Each scheduled run is also a normal agent task.

Can it send scheduled results to this chat?

Yes. Ask the agent in a linked chat to create an automation, or select that chat in the web app. Delivery can fail. The answer stays in the web app.

Can it read images or files sent in chat?

No. Chat apps send text only. Use the web app to send images. The agent can read and write files in its sandbox workspace.

Explore the other channels

Give your agent its next task

Create an agent, connect your chat and start with a text message.