Copy library / What got built / OpenAI Dots
Talking to an OpenAI dot from an in-house chat app via a Slack mirror
# 通过 Slack 镜像在自家聊天应用里和 OpenAI dot 对话 Source: https://github.com/MLAI-AUS-Inc/mlai-backend/pull/1332 Author: drsamdonegan 这个 PR 让主人能在 MLAI Chat 里像在 Slack 里一样和自己的个人 agent bot 对话,比如通过 OpenAI 官方 Slack 应用安装的 dot「Maek」。主人的消息用其本人的 Slack 授权发出,bot 在 Slack 里回答,回复经私有 Slack 镜像传回。配置默认关闭,只按精确的 Slack ID 匹配,只接受调用者自己的 bot,发送前需要 AI 同意。
- What it does
- This PR lets an owner talk to their personal agent bot, such as an OpenAI dot ("Maek") installed through OpenAI's Slack app, from MLAI Chat exactly as in Slack. The owner's messages go out with their own Slack authorization, the bot answers in Slack, and replies come back through the private Slack mirror. It is off by default, matches exact Slack IDs only, accepts only the caller's own bot and requires AI consent before sending.
- Scenarios
- Watch PRs / repos Code & ship
- What the source covers
- Author & original linkYes
- What it doesYes
- Verbatim source excerptYes
- Screenshots / mediaNot in source
- Steps / chaptersYes
- Verbatim prompt / configNot in source
- Results / numbersNot in source
- Risk notesYes
- Related entriesYes
— means the source doesn't say; we don't fill it in.
- Verbatim source excerpt
Reach personal agent bots (OpenAI dots) through the Slack mirror
<!-- claude-projects-attribution: {"github_login":"drsamdonegan"} -->
_Requested by **Tech MLAI**_
## What
Lets an owner talk to their personal agent bot, for example an OpenAI dot ("Maek") installed through OpenAI's own Slack app, from MLAI Chat exactly as in Slack. The owner's messages go out with their own Slack authorization, the bot answers in Slack, and its replies come back through the private Slack mirror. This generalises the existing Public Roo bot exception.Show full post
Plan: `mlai-chat/docs/mlai/MAEK_SLACK_DOT_PLAN_2026-11-13.md`. Runbook: `docs/slack-agent-bots.md`.
## Changes
- `integrations/services/slack_agent_bots.py`: a registry backed by settings. `SLACK_AGENT_BOTS` (JSON) and `SLACK_AGENT_BOTS_ENABLED` are **off by default**. It matches exact Slack IDs and never names, and attributes user-less bot replies only by a configured `bot_id`.
- DM open: only the caller's own configured bot is accepted, after a fresh `users.info` check (workspace, `is_bot`, app/bot IDs). AI consent is required.
- Live events, edits, deletes and history accept a configured bot in the owner↔bot `D…` DM, and in mirrored private channels where the owner and the bot are both members. Other bots stay filtered.
- Private-channel `mention_targets` include member agent bots. The desktop client already renders these generically.
- The AI-consent send gate now covers Roo and configured bots.
- New `GET /api/v1/community-chat/slack/agents/` lists only the caller's own bots.
- Deploy plumbing: GitHub vars → `deploy.sh` → host upsert, with `scripts/validate_slack_agent_bots_config.py`.
- **No migration.**
## Tests
- `python scripts/test_without_database.py community_chat.tests.test_slack_agent_bots community_chat.tests.test_roo_slack_dm community_chat.tests.test_roo_channel_mentions.RooChannedrsamdonegan · · Open original ↗ From the project README, verbatim and untranslated.
- Steps / points from the source
- Authentication, users, organisations, and browser session contracts
- Founder Tools, startup updates, content workflows, and integrations
- Hackathon APIs for eSafety, Watt The Hack, HealthHack, and MedHack
- Roo points and internal service endpoints
- Account, membership, and Slack bridge APIs used by MLAI Chat
- Organisational memory ingestion, retrieval, review, and publication services
- Scheduled jobs and background workers
- Python 3.11
Verbatim from the source, untranslated.
- Prompt
The source does not include a prompt you can copy verbatim.
- How to copy
- Open the repo: github.com/MLAI-AUS-Inc/mlai-backend/pull/1332 ↗
- Read the README, send the repo link to your Bot and have it reproduce it
- Get it working small first, then add a routine
- Risks and limits
- Involves payments, orders or bookings: let the bot draft first and act only after you confirm
- Deletes, unsubscribes or cancels things: get a list first and confirm each item
- Uses a browser or website login: the costliest kind of step, so prefer a connector where one exists
- The author's result may not reproduce for you; the original post is the reference
- Usage estimate
- Estimate with the metal calculator