# AI use cases for Astr Bot (AstrBotDevs/AstrBot)

Repo: [AstrBotDevs/AstrBot](https://github.com/AstrBotDevs/AstrBot) | Use cases: 3 | Page: https://dedupedai.com/use-cases/astrbotdevs-astrbot/

AstrBot is an open-source, all-in-one agent chatbot platform that plugs LLMs into instant messaging apps such as QQ, WeChat Work, Feishu, DingTalk, Telegram and Slack. It supports multimodal chat, agents, MCP, skills, a knowledge base, personas and auto context compression, integrates with Dify, Alibaba Cloud Bailian and Coze, offers 1000+ one-click plugins, an agent sandbox and a WebUI.

This file holds every use case of this repo. Each one starts with a "## " heading and ends with its URL.

- Deploy an AI assistant into Telegram, Slack or Feishu: https://dedupedai.com/use-cases/astrbotdevs-astrbot/deploy-an-ai-bot-to-telegram-or-slack/
- Build a team knowledge base bot inside your chat app: https://dedupedai.com/use-cases/astrbotdevs-astrbot/build-a-team-knowledge-base-bot/
- Extend your chat bot with plugins, MCP and a code sandbox: https://dedupedai.com/use-cases/astrbotdevs-astrbot/extend-astrbot-with-plugins-and-mcp/

## How to deploy an AI assistant into Telegram, Slack or Feishu with Astr Bot

Repo: [AstrBotDevs/AstrBot](https://github.com/AstrBotDevs/AstrBot) | Difficulty: Beginner | Time: 30 minutes | Basis: From the README

Install Astr Bot, connect an LLM and a messaging platform, and chat with your bot there.

**Who it is for:** A developer or community manager who wants an AI assistant inside the team's chat app.

**The problem:** Building and hosting a chatbot for each messaging platform separately is a lot of glue code.

**The outcome:** One Astr Bot instance answering in your chat apps, managed from a WebUI.

### Steps

1. Run `uv tool install astrbot --python 3.12`
2. Initialize once with astrbot init, then start it with astrbot run
3. Open the WebUI and add your LLM provider
4. Connect a messaging platform such as Telegram or Slack with its bot credentials
5. Send the bot a message to test, and update later with `uv tool upgrade astrbot --python 3.12`

### Prompt to paste into your agent

```text
Install AstrBotDevs/AstrBot with uv, connect it to <LLM provider> and a <Telegram or Slack> bot, set a persona for <purpose>, and verify it replies in a test chat.
```

### Caveat



Risk, credentials: Bot tokens and LLM API keys are stored in Astr Bot; protect the WebUI and the server it runs on.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/astrbotdevs-astrbot/deploy-an-ai-bot-to-telegram-or-slack/

## How to build a team knowledge base bot inside your chat app with Astr Bot

Repo: [AstrBotDevs/AstrBot](https://github.com/AstrBotDevs/AstrBot) | Difficulty: Intermediate | Time: 1 hour | Basis: From the README

Load documents into Astr Bot's knowledge base so the bot answers team questions in chat.

**Who it is for:** A team lead whose colleagues keep asking the same questions in group chats.

**The problem:** Answers live in scattered docs and people ask in chat instead of searching.

**The outcome:** A chat bot that answers from your knowledge base in group chats and DMs.

### Steps

1. Install and run Astr Bot
2. Upload your docs to the Knowledge Base in the WebUI
3. Connect the team's messaging platform
4. Set a persona that tells the bot to answer only from the knowledge base
5. Turn on auto context compression for long conversations

### Prompt to paste into your agent

```text
Set up AstrBotDevs/AstrBot as a knowledge base bot for <team>: load <docs>, connect it to <chat app>, and write a persona that answers only from the docs and says when it does not know.
```

### Caveat



Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/astrbotdevs-astrbot/build-a-team-knowledge-base-bot/

## How to extend your chat bot with plugins, MCP and a code sandbox with Astr Bot

Repo: [AstrBotDevs/AstrBot](https://github.com/AstrBotDevs/AstrBot) | Difficulty: Intermediate | Time: 45 minutes | Basis: From the README

Install plugins with one click and connect MCP tools, with code running in the agent sandbox.

**Who it is for:** A developer who wants the bot to do real tasks such as search, run code or call internal tools.

**The problem:** Chat bots that only talk cannot take actions, and letting them run code is risky.

**The outcome:** A bot with plugins and MCP tools whose code and shell calls run isolated in the agent sandbox.

### Steps

1. Install and run Astr Bot
2. Browse the plugin marketplace in the WebUI and install what you need
3. Add MCP servers for your internal tools
4. Enable the Agent Sandbox so code and shell calls run isolated
5. Test from the Web ChatUI, which has the sandbox and web search built in

### Prompt to paste into your agent

```text
In AstrBotDevs/AstrBot, install plugins for <needs>, add the MCP server for <tool>, enable the agent sandbox, and test a task that runs code from the Web ChatUI.
```

### Caveat



Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/astrbotdevs-astrbot/extend-astrbot-with-plugins-and-mcp/
