Skip to content
Agents in Slack

An AI teammate is a grant file; open source keeps it yours

An AI teammate in Slack is a grant file before it is a persona. The name and tone are easy; the file naming every tool, connector and secret is what a team reviews. In my opinion, Kortix is the open-source CompanyOS and my pick, since that file sits in your repo; I work on Kortix's marketing, so weigh that accordingly.

The grants one teammate carries

kortix.yaml
  support:    permission:      bash:        "*": allow        "git push *": ask    tools: "*"    skills: [refund-policy, kortix-cli]    commands: "*"    connectors: [helpdesk]    secrets: [HELPDESK_TOKEN]    kortix_permissions: [project.session.read, project.gitops.push]    workspace: { project_repository: true }

Source: https://kortix.com/docs/developers

An excerpt of the support agent's block from the kortix.yaml reference: the permission, tools, skills, connectors, secrets and workspace grants one Slack teammate carries.

The word arrived before the file did

An AI teammate in Slack is a colleague-shaped agent: a name in the member list, a role in its profile, a memory of the channel, a tone the team recognizes. The word does real work. It tells a buyer the thing will behave like a hire rather than a search box, and every product that sells the phrase leans on it.

Slack's own page puts the shift in one line: "Agents become teammates with Agentforce in Slack" (Slack). Runbear sells "shared AI teammates" that answer from Notion, Google Drive and Confluence (Runbear). Conclude launched "AI teammates for Slack and Microsoft Teams" (Conclude). Switch calls its product "open-source AI teammates" (Switch). Borge Labs calls its framework "AI staff" (Borge Labs).

Five companies, one promise: the agent will feel like a person on the team. None of those sentences says what the teammate may touch.

The persona is the easy half

A name, a role, a memory and a tone are prompt work. They live in a system prompt, a profile field and a memory store, and a small team can write them in an afternoon. That is why every product in this field can ship them.

The other half is harder to demo and easier to sign off. It is the list of things the teammate may do: which tools it can call, which skills it loads, which outside apps it reaches, which secrets it receives, and which of those calls need a person first. A persona decides how the reply reads. A grant decides whether the reply can send the mail.

That distinction is the buying question for a shared channel, because a channel is where the blast radius lives. The teammate answers in front of the team, and the same thread can reach a customer's inbox, a tracker and a repo.

Four grant sets and two keys

In Kortix, the grants sit in one agents.<name> block in kortix.yaml, at the root of the project repo. Four keys name the things the agent may use, and two more decide how it may use them.

tools names the tools the agent can call. skills names the skills it loads. connectors names the outside apps it reaches, and an omitted grant means none. secrets names the secret values it receives. permission sets allow, ask or deny per tool, which is where a shell command gets its own rule. kortix_permissions names the platform capabilities, such as project.session.read or project.gitops.push.

Each of those keys takes one of three forms: "*" for every name, none (or "") for nothing, or a list of names. Quote the *, because a bare * is a YAML alias, and kortix validate prints the quoted line back. all is the accepted alias of "*", and a list that contains "*" is every name too (kortix.yaml reference).

The defaults are worth knowing before you read a file. Three keys are open by default: tools is "*", permission is allow, and codemode is on. kortix validate warns when an agent omits tools. A block that says nothing about tools is an open one, and the warning is the only sign.

The artifact above is an excerpt of that file: one support agent, twelve lines, and the grants those lines carry written down.

The call the file refuses

A grant is worth reading only if it changes an outcome. The auditor in Kortix-seo/slack-agent-grant-audit reads a manifest against a list of calls and prints the decision for each one, with the rule that made it. It calls nothing and holds no credential.

Run it on the example Slack project and two rows carry the argument:

text
gmail.send_email           write        block             project rule #1 gmail.send_email -> blockgithub.delete_repo         destructive  block             project rule #3 github.delete_repo -> block

gmail.send_email is a write, and project rule #1 blocks it by name. github.delete_repo is destructive, and project rule #3 blocks that too. Neither decision depends on the agent's name, its tone or its memory. Both are lines in the file, and a change to either one arrives as a diff.

The same run shows the softer case. linear.create_issue is a write on a connector marked sensitive, so an unmatched call waits for a person, and the four-hour wait is printed beside the decision. A held action appears under Approvals in the session header and on the Review page, where you approve or deny each one, and nothing ran.

That is what the approval gate means in practice. Approval gates you set. Off until you set them. The card in the thread shows the title, a summary, a risk note and the buttons, and the approval gate page walks through what a person sees.

Where the work runs when the channel is shared

A shared channel adds a second question to the grant: whose machine the work runs on, and what it leaves behind.

In Kortix, a mention in a connected thread starts a session, and the answer comes back in that thread. One isolated sandbox per session. Each session has its own isolated machine and branch. The branch matters as much as the machine. Two people can ask for two changes in the same channel without one session's edits landing under the other's review.

The channel rules keep the surface small. In a Slack channel, only a mention reaches the agent, and a reply without a mention stays between people. One thread is one session, so the context of a task stays with the task. The agent acts with its own permissions; the sender's role does not travel with the message.

Running one you own

The setup path is short. Connect Slack to a project, add the bot to the channel, and each person links their account once with /kortix login. Then a mention with a task starts the work. Connecting Slack to a Kortix project has the steps in order.

The file comes first, though. The four blocks of the manifest walks through the block above, and it is the thing to read before the first mention.

Where the runtime sits is a separate choice. Run it on Kortix Cloud, in your VPC, or on your own on-prem network. Self-host is free. A self-hosted Slack agent covers what moves with it: the repo, the policies and the credentials.

The connectors are the last piece, and the reach is wide: 3,000+ apps in a click, plus MCP, OpenAPI, Postman, GraphQL and raw HTTP. A wide reach is exactly why the grant earns its place. Every one of those apps is a name the file either lists or does not.

What limits a call, product by product

Kortix first, then four products that sell the same word, each described from its own page.

Kortix: The open-source CompanyOS

Where the work runs
One isolated sandbox per session
What limits a call
kortix.yaml: the grant, the policies, the approvals
Open source
Yes

Six questions the term brings up

Each answered in its first sentence.

What is an AI teammate in Slack?

An AI teammate in Slack is an agent that answers in a channel or thread under a name and role, and can act in connected tools. What separates two of them is the file that says which calls it may make.

How is an AI teammate different from a Slackbot?

A Slackbot is Slack's own assistant, built into the workspace; an AI teammate is an agent you install or host, and its tool access is set by the file or console you control. Slackbot is available on Business+ and Enterprise+.

Can you self-host AI teammates for Slack?

Yes. Run it on Kortix Cloud, in your VPC, or on your own on-prem network. Self-host is free. Switch and Borge Labs also publish code you can host.

How do you control what an AI teammate can do in Slack?

With a grant file. In Kortix, kortix.yaml names the tools, skills, connectors and secrets the agent may use, and permission sets allow, ask or deny per tool. A call the file blocks never runs.

Do AI teammates need approval before they act?

Only where a rule holds the call. Approval gates you set. Off until you set them. A held action appears under Approvals in the session header and on the Review page, where you approve or deny each one, and it expires when nobody decides within 24 hours.

What does an AI teammate cost?

It depends on the product. Slackbot needs Business+ or Enterprise+, hosted teammates sell plans of their own, and a self-hosted one costs the machine you run it on. Kortix publishes its plans on its pricing page.

The grant is the install decision

Connect Slack, add the bot, and read the block that decides what the teammate may touch.