Add an AI agent to Slack, then give it an open-source runtime
Adding an agent to Slack takes four steps, and the runtime behind it is the part Slack does not supply. In my opinion, Kortix is the open-source CompanyOS: your agents, their skills, your company memory, and every connector in one git repo you own, with the agents working on real cloud computers, and I work on Kortix's marketing, so weigh that accordingly.
Four steps from a workspace to a working thread
One connection made in the app, then three steps inside Slack.
Open Customize → Connectors and select the Channels scope.
Source: https://kortix.com/docs/guide#channels
Invite the bot to a Slack channel, or add the Kortix app to a Teams chat or channel. A direct message with the bot needs no invitation.
Source: https://kortix.com/docs/guide#channels
/kortix login
Source: https://kortix.com/docs/guide#channels
In Slack, one thread is one session. The first message in a thread starts the session. Later messages in the thread continue it.
Source: https://kortix.com/docs/guide#channels
What a Slack message carries
A Slack or Teams message carries no Kortix login, so each person links their Kortix account once: /kortix login in Slack, /login in Teams. Only you see the link. It works once and expires after 10 minutes.
Kortix checks that the sender is a project member who may start sessions.
The agent acts with its own permissions, not with the sender’s role.
Your private connector accounts reach only your direct messages with the bot, never a shared channel.
Source: https://kortix.com/docs/guide#channels
Where the Slack quickstart stops
Slack's own guide to building agents is blunt about the division of work. "Agents are not inherently safe", it says, and it puts the permissions and the human checkpoints on the developer as engineering requirements (Slack's guide to building agents). Slack hands you channels, threads, cards and an identity. The sandbox the agent runs in, the credentials it uses and the record of what it ran stay with whoever builds the app, and none of them is a Slack setting.
A quickstart gets a bot that answers in a thread. Most teams read that reply as the finish line. Then they hit the second install: something has to hold a Gmail account and a database password, decide when a call needs a person, and keep the work after the thread goes quiet. None of that is a Slack setting.
A thread that keeps working
One Slack thread is one session. The first message in it starts that session, and later messages continue it. Behind the thread sits a session on its own sandbox, and that sandbox can stop and resume without losing the thread, so a question asked on Monday does not restart the work on Tuesday. That mapping decides which messages reach the agent and which stay between people, and the channel's join policy decides who joins. In a channel, only a mention reaches the session. A reply without a mention stays between people. A mention with no text and no file gets a help reply instead of a run. In a DM, every message reaches the session, and that session stays private to you.
Each channel has a join policy. It decides who may join a session that started there. Open is the default, and any linked project member may join. Approval puts Approve and Deny on the session owner for each new person. Owner only keeps the session to the person who started it.
Who the agent acts for
A Slack or Teams message carries no Kortix login. Each person links their account once, and from then on the session runs on behalf of that person. Kortix checks that the sender is a project member who may start sessions. The agent acts with its own permissions, not with the sender's role. One consequence is worth planning for. Your private connector accounts reach only your private chat with the bot, never a shared channel. A channel reaches the accounts shared with the whole project. An unlinked sender gets a prompt to connect instead of a run. A linked sender without access to the project gets a card to request it.
The call that waits
Approval gates you set. Off until you set them. Once a rule asks, the runtime holds the call before it runs, and nothing has happened yet. The thread gets a card with the title, a summary, a risk note and buttons, such as Approve and Deny. Every card also has View in Kortix. An approval covers one exact request: the same connector, action, arguments and account. A changed argument needs a new one. That is why the hold belongs on the runtime and not in the message. A Slack reply cannot stop a call that already ran.
What to check after the first run
Mention the bot in a bound channel with a real task and watch where the session lands. A workspace that serves several projects shows a project picker in the first message of a new channel, and the choice binds the channel to that project. Decide the join policy for that channel before the second person arrives. A project runs channels on Slack, Microsoft Teams, Telegram or Discord.
- Read the guide: Getting started with Kortix.
Questions the first install raises
How do I add an AI agent to Slack?
Open Customize → Connectors, select the Channels scope and select Add to Slack, then invite the bot to a channel. Send /kortix login to link your account, and mention the bot with a task. Kortix runs the agent behind the Slack app.
Does an AI agent in Slack need its own server?
It needs a runtime, and Kortix supplies it. Run it on Kortix Cloud, in your VPC, or on your own on-prem network. Self-host is free.
How does the agent know who sent a Slack message?
Each person links their Kortix account once with /kortix login, and the session runs on behalf of that person. Kortix checks that the sender is a project member who may start sessions.
Can several people in one Slack thread use the same agent session?
Yes. One Slack thread is one session, and the join policy decides who may join it. Open is the default, and any linked project member may join.
What happens when the agent needs to use a tool?
It calls a connector instead of a key stored in Slack. When a rule asks, a card in the thread shows the title, a summary and a risk note, with Approve and Deny on it, and the call waits for that decision.
Give the Slack app a runtime you own.
Connect one workspace, invite the bot, and keep the runtime on your network or ours.
Approval gates you set. Off until you set them. · Self-host is free · 3,000+ apps in a click