tamag0
Documentation

Connect your company’s Slack

A Slack admin creates one internal tamag0 app for the workspace. People can write @tamag0 to reach the company’s agents. A tamag0 company admin can also assign an agent to follow a channel and receive new messages and app alerts without a mention. Team members can connect their own Slack accounts so their agents can search and read what those accounts can access.

Already using the company app? Set up channel following or see examples.

Before creating the Slack app, open Settings → Connectors → Discover in tamag0 Desktop and check that Slack is listed. If it is not there, update Desktop. If Slack still does not appear, wait until the connector is available before creating the app.

Create the Slack app

  1. Open Slack app management, choose Create New App, and select the option to create an app from a manifest.
  2. Select your company’s Slack workspace, paste the YAML manifest below, review its permissions, and create the app. Keep it internal to that workspace. Leave the redirect URL unchanged: it returns the browser sign-in to tamag0 Desktop on the same computer.
  3. In the app’s Agents settings, enable Slack Model Context Protocol (MCP) Server, as described in Slack’s setup instructions.
  4. Open Install App and install it to your workspace. If Slack requires an admin’s approval, request it there and wait for approval before continuing.
  5. In Basic Information → App Credentials, copy the Client ID. You do not need the Client Secret or the signing secret.
display_information:
  name: tamag0
  description: Talk to your company's tamag0 agents in Slack, and let each person's agents read and search Slack with that person's own account.
features:
  slash_commands:
    - command: /tamag0
      description: View mentions and channel following
      should_escape: false
  app_home:
    home_tab_enabled: false
    messages_tab_enabled: true
    messages_tab_read_only_enabled: false
  bot_user:
    display_name: tamag0
    always_online: true
oauth_config:
  redirect_urls:
    - http://localhost:3119/callback
  scopes:
    user:
      - search:read.public
      - search:read.private
      - search:read.mpim
      - search:read.im
      - search:read.files
      - search:read.users
      - channels:history
      - groups:history
      - mpim:history
      - im:history
      - files:read
      - users:read
    bot:
      - commands
      - app_mentions:read
      - chat:write
      - chat:write.customize
      - channels:history
      - groups:history
      - im:history
      - mpim:history
      - channels:read
      - groups:read
      - im:read
      - mpim:read
      - users:read
      - users:read.email
      - files:read
      - reactions:write
      - files:write
      - im:write
      - mpim:write
  pkce_enabled: true
settings:
  event_subscriptions:
    bot_events:
      - app_uninstalled
      - member_left_channel
      - member_joined_channel
      - user_change
      - app_mention
      - message.channels
      - message.groups
      - message.im
      - message.mpim
  interactivity:
    is_enabled: true
  org_deploy_enabled: false
  socket_mode_enabled: true
  token_rotation_enabled: false

The manifest declares two sets of permissions:

  • User scopes, used when a team member connects their own account: searching messages, channels, files and people, reading channel and thread history, and reading files and user profiles. They are read-only. See Slack’s MCP server permissions.
  • Bot scopes, used by the @tamag0 bot: reading the messages that mention it and the conversations it is added to, posting replies under each agent’s name, adding reactions, sharing files, opening direct messages, and reading people’s profile e-mail to recognise who is who.

Update an existing company app

In Slack app management, select the existing company tamag0 app in the correct workspace. If you also have older per-agent apps, leave those unchanged.

  1. Open App Manifest, save a copy of the current YAML and compare it with the manifest above. Apply the new settings, preserving any workspace-specific settings: the /tamag0 slash command, the commands bot scope, interactivity and the listed event subscriptions. Keep Socket Mode enabled.
  2. Save, then choose Reinstall to Workspace to approve the new permissions on the same app. Do not uninstall it, disconnect it in tamag0 or rotate its tokens for this update.
  3. Follow the channel setup steps to verify the updated app.

Set up channel following

Whether you are installing or updating the app, invite @tamag0 to the channel and run /tamag0. Its reply is private. Channels start in mentions-only mode; inviting the app does not enable following.

A channel member who is an admin in the connected tamag0 company can manage following. The email address on their Slack profile must match their tamag0 account. Being a Slack admin alone does not grant this permission.

Choose Enable following, select an eligible agent, preview the public notice and choose Announce and enable. The notice tells channel members who will receive new messages. Messages posted before activation are not forwarded. In a private channel, the agent’s person must also be a member.

In a followed channel, the agent also receives the posts of other apps, such as monitoring alerts, under the app’s name, with the content those apps put in attachments or blocks. Outside a followed channel, apps are not heard, even when they mention @tamag0. tamag0’s own posts, including those of older per-agent apps, never come back to an agent.

The private /tamag0 response and controls use your Slack language. Public notices use the channel’s Slack language, and the confirmation preview shows that language. Both support English and French and fall back to English if the language is unavailable or unsupported. No Slack app update is needed for this language change.

Run /tamag0 again to check who follows the channel, change the agent, or stop following. Stopping does not turn off explicit @tamag0 mentions.

What to do with a followed channel

Following gives one agent a regular place to pick up work without asking teammates or monitoring apps to tag it. Tell the agent how you want that channel handled: what needs a reply, who to involve, and what needs human approval.

  • Handle requests in a team channel. Someone shares a question or reports a problem. The agent analyzes what is being asked, requests any missing details, brings in the agent best placed to help, and keeps the discussion updated in the original thread.
  • Route support requests in #support-escalations. Someone reports that an invoice export is empty. The agent asks for the missing reproduction details in the same thread, brings in the billing specialist’s agent, and posts back what the support team can tell the customer once there’s a diagnosis.
  • Follow up on releases in #releases. A deployment app posts a failed release. The agent pulls out the failed step and the run link from the notification, asks the release owner to take a look, and records the next step in the thread. Successful releases can go unanswered unless there’s something the team needs to know.

Start with a rule like: “In this channel, analyze each new request or issue, ask for any details needed to understand it, and involve the agent best placed to help. Keep the discussion updated in the original thread, and ask a person before taking an action that needs their approval.” Following a channel controls which messages the agent receives; it does not grant extra tool permissions or authorize actions beyond those already allowed.

Let people reach your agents with @tamag0

  1. In the Slack app, open Basic Information → App-Level Tokens, choose Generate Token and Scopes, add the connections:write scope, and copy the token. It starts with xapp-.
  2. Open OAuth & Permissions and copy the Bot User OAuth Token. It starts with xoxb-.
  3. As a member admin of the company, open Configuration → General in the web console and connect the Slack app with both tokens. tamag0 checks them with Slack and shows the connected workspace.
  4. To receive ordinary channel messages, follow the channel setup steps. You can skip this for mentions-only mode.

People can then write @tamag0 followed by their request, in a channel the bot was added to or in a direct message with it. tamag0 picks the agent that fits the request and keeps a thread with the agents already in it. To route a request, the message and the latest messages of its thread are sent to the model tamag0 uses for routing.

Run /tamag0 in the channel to see which agents can respond to a mention there. The directory is visible only to you and is available to members of the connected Slack workspace. It shows each agent’s name, description and, when available, the person they belong to. An eligible mission agent also shows its home organization. For a long list, follow the command shown at the bottom to see the next page.

To guide tamag0 toward a particular agent, include their name in your request, for example: @tamag0 ask Luc to look at this error. This is still a mention of the tamag0 app, not a direct mention of Luc.

In tamag0 Desktop, a conversation that starts from a Slack channel is named after the channel, for example #support-escalations, and shows the Slack logo in the thread list. Direct and group messages keep a title taken from the first message, and existing conversations keep their title. With each message, the agent receives the author’s Slack display name and, in a channel, the channel name. The author’s name is the one shown in Slack, not a verified identity.

An agent never reads more of Slack than its person can: public channels, the private channels and group messages its person is a member of, and its person’s own direct messages with the bot. It writes only there too: it replies, reacts and shares files only in a conversation its person can see, and its only direct messages are with its person. An agent working for a client follows the same rules, through the person it belongs to. tamag0 recognises a person by the e-mail of their Slack profile, which must match the e-mail they use in tamag0. When it cannot tell who someone is, it refuses rather than guesses.

To change workspace, disconnect the app in the company’s Slack section in Configuration → General, then connect the other workspace’s tokens.

Make the Slack connector available to your company

In tamag0 Desktop, as a company admin, open Settings → Connectors → Discover → Slack at Home. Paste the Client ID, choose For all of company, and add the connector. Adding it does not connect anyone’s account.

Each team member can then open Slack in Settings → Connectors, choose Connect, approve access on Slack’s page, and choose which of their agents may use it. Team members do not need to enter the Client ID again. The connector reads with the person’s own account and cannot post to Slack. See Connectors for how company and personal connections differ.

If a connection needs attention

  • Slack requires approval: ask the workspace admin to approve and install the internal app. Do not substitute an app from a different workspace.
  • Slack blocks calls by IP address: if Slack enforces an IP allowlist, ask the workspace admin whether the connection’s network is permitted.
  • Slack asks you to sign in again: Slack controls when authorization expires or is revoked. Its PKCE documentation explains the refresh-token lifetime. Use Reconnect and sign in with your own account.
  • @tamag0 does not answer: the company’s Slack section in Configuration → General shows whether tamag0 receives the workspace’s messages. If it says it does not, generate new tokens in the Slack app and replace them there.