Skip to documentation
multicodeaiDocs
Browse documentation

Give the AI tasks from Slack or Discord

Ask the Multicode AI bot for a task in a Slack or Discord channel; it runs as you, on your computer, and replies in a thread.

On this page

How it works

One bot serves your whole organisation's Slack workspace or Discord server, and it works the same on both. In a channel linked to a project, anyone who has linked their account can give it a task. The task runs as you: as a new chat in your own room of that project, on the project's repository, on your own computer, with your own AI account. The bot replies in a thread with how it's going and the result, and links to the chat. Only people with access to the room can open that link.

Tasks from Discord run with Auto approvals: the agent runs commands, opens links and uses connectors on your computer without asking. Your organisation's admin and you each agree to this before any task runs.

Set it up (organisation admins)

  1. Open Connections and find Give the AI tasks from Slack or Discord.
  2. Select Add the bot to Slack or Add the bot to Discord, and choose a workspace or server you manage. It then belongs to this organisation.
  3. Tick the Auto approvals box and select Turn on tasks. Nothing runs before this.
  4. Under Link a channel, choose a channel, the project it works on, the project's repository (when it has several), and whether a finished task posts a summary or also the AI's reply.

The same section lists who has linked their account, with Revoke, recent tasks (their status, never their text), an Activity log, and Turn off. Removing the bot from the server, or the app from the Slack workspace, turns it off too.

Give it a task

  • /multicode ask prompt: … in a linked channel. If something is missing (you aren't linked, or can't edit the project), only you see why. Otherwise the bot posts a short headline and opens a thread for the task.
  • On Slack, /multicode add a README works too.
  • Or mention the bot: @Multicode AI add a README. The thread starts from your message. If something is missing, Slack shows you why privately; Discord replies briefly in the channel.
  • Reply in the thread to add to the task while it works, or to continue the same chat after it ends. Others replying there are asked to start their own.
  • Cancel in the thread, or /multicode cancel, stops it. /multicode status lists your recent tasks.

The thread's status message changes as the task waits, works and ends. When it ends, the bot pings you, and only you, with a link to the chat. You can have up to 3 tasks waiting or working at once.

When your computer is off

Agents run only on your own computer. If the desktop app isn't open and online, the task waits and the thread says so. It starts by itself as soon as your computer is back, and expires after 24 hours. You can cancel it while it waits.

If your computer is online but no AI tool is signed in, the thread says that instead; set one up from Set up your AI tools.

What the bot never does

  • It uses only your own message as the task, never the rest of the channel, and leaves synced Slack and Discord messages out of the AI's context.
  • It never pings @everyone, roles or anyone but the person who asked.
  • It checks your membership again when each task starts. Leaving the organisation, being suspended, or losing edit access cancels your waiting tasks, and leaving or being suspended also ends your link.
  • In a channel set to post summaries, the AI's reply stays in Multicode AI.