YOUR AGENT · YOUR CHAT APP

Put an agent to work in Feishu

Connect a TokenFlux agent to your own Feishu app. Use private chats, groups and topics, with replies that fill a card and tasks that run on a schedule.

What it looks like in Feishu · ExampleTokenFlux Agent

Read this page and summarize the key points.

TokenFlux Agent

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

A card fills in as the reply grows. The completed card is the answer.

01 / Feishu

How to connect

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

  1. 01

    Select Show QR code, or enter an App ID and App Secret.

  2. 02

    Scan with Feishu and choose or create an app. For manual setup, follow the setup guide for the bot capability, message and card permissions, long-connection events and the message subscription.

  3. 03

    Reply in the private chat, or create a code and send link CODE to bind a chat. Mention the bot in a group.

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.
  • In Feishu and Slack, a topic started by mentioning the bot in a top-level message follows by default when the platform permits it. Later messages from authorized users can start paid tasks without a mention. Send /follow off to require mentions again. To turn follow back on, send @bot /follow on; a plain /follow on is ignored while follow is off.

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.
/follow [on|off]Feishu and Slack topics only. Use /follow off to require mentions. To turn it back on, send @bot /follow on.

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.