Skip to content
KurrentDB

Slack

Surfaces: Slack (direct messages with the kcap app, channels the app is in, the Ask kcap message shortcut, /kcap) · web app (Chat accounts, an agent’s page)

The web app is at https://<your-workspace>.kcap.ai for a cloud workspace; on the local edition the same pages are served from your machine. The desktop app opens it from Help and support → Open dashboard, and kcap local open opens the local one from a terminal

One Slack app, installed once for the workspace by an admin, is how kcap reaches you in Slack: it delivers your notifications as direct messages, lets you answer and follow a hosted agent from a thread, answers questions about your team’s stored work, starts an agent on a message you point it at, and turns a pasted kcap link into a preview. An admin installs it under Administration → Workspace → Integrations, as Integrations describes. This page covers how you use it once it is installed

Notification delivery and following agents are behind the notifications switch your workspace may not have on. On the local edition they are off unless turned on in the server’s environment

Connect your Slack account. Open Chat accounts from your avatar menu and choose Connect Slack. kcap finds your Slack account by email; if it cannot, it asks for your Slack member ID (in Slack: profile → More → Copy member ID). Connecting opens your direct message with the app, where Send test posts a test message, and sends you a link in that message. Opening the link confirms the Slack account is yours, and the panel then reads Linked to your kcap account; until then it offers Send a new link. The link matters because anything you do from Slack, a button, a typed reply or a command, is carried out as you, with your permissions. An account that is not linked is told to link first and nothing happens

Get notifications as direct messages. Each notification kind with its Slack switch on arrives as a direct message from the app, with Open in kcap on it. That includes Work overlap, the collision alert sent when someone else’s live session touches the same files or work item as yours. You choose which kinds are sent to Slack in your notification settings. Turning a kind off for Slack does not change its Web or App setting

Answer an agent’s prompt. When a hosted agent you may answer stops on a permission request or a question, the Agent waiting on you message quotes what it asked and carries the answers:

  • Approve and Deny for a permission request
  • One button per option for a single-choice question with up to five options
  • Reply for a question that takes typed text

Your answer reaches the agent as if you had given it on the agent’s page, under your name. An approval kcap rates as irreversible can only be approved in kcap, so its message offers Deny alone; a multi-select question or a series of questions is answered on the agent’s page. Once a prompt is answered, by you, by someone else or in the agent’s terminal, its buttons say it is no longer waiting

Follow an agent in a thread. On the agent’s page choose Follow in Slack, or in Slack run:

/kcap follow agent <link or id>

kcap starts a thread in your direct message with the app. Each time the agent finishes a turn, what it said is posted there; Reply to the agent sends it a message, exactly as typing on its page would; and its prompts land in the same thread. Open in kcap goes to the agent’s page. The follow ends when the agent stops, when you choose Unfollow on the thread’s first message or Stop following in Slack on the agent’s page, or with /kcap unfollow agent <link or id>. You can follow an agent only if you could send it messages in kcap

Ask kcap a question. Ask about your team’s work in plain words, in either of two places: @mention the app in a channel it is in, or type the question in your direct message with it

@kcap why did we drop the Redis cache?

kcap searches the sessions, work items, memories, plans and pages it stores, and replies in a thread under your message: a short answer with each claim marked [1], [2] and linked to its source, then a Sources list. Where you ask decides what it may draw on. In a channel the reply is visible to everyone there, so it comes only from what the whole organisation can already see; in your direct message it comes from everything you can see. Each question stands alone, with no memory of the one before, and is cut off at 1,000 characters. kcap does not answer in a channel shared with another Slack workspace

Ask kcap to work on a message. The Ask kcap message shortcut hands one Slack message to a hosted agent on your own machine and brings back a reply for you to check before anyone else sees it:

  1. Open the message’s More actions menu and choose Ask kcap
  2. Add an optional Instruction, pick the Repository, Agent and Model, and choose Start. The choices are the repositories you have a checkout of on a connected daemon and what that daemon offers; your last choice is remembered
  3. A thread opens in your direct message with the app, with Open in kcap linking to the agent
  4. Each time the agent finishes a turn, its final message arrives there as a draft with Send, Edit and Discard. Reply in the thread to have the agent rework it; a newer draft replaces the earlier one

Send posts the draft as a threaded reply to the original message, from the kcap app rather than under your name. Where the app cannot post, such as a direct message between two people, the draft is shown as text for you to copy. Sending or discarding stops the agent. The agent sees that one message and never the rest of the conversation, and it is given the message as someone else’s text to work on, not as instructions. Attached files reach it only in a conversation the app is a member of, up to 10 MB a file

Paste a link. A kcap link pasted where the app can see it becomes a preview: a session or one of its subagents (title, repository and branch, status, model, duration, tokens, files changed and the pull request), a session’s evaluation, a page, a hosted agent or a work item. A channel has no single viewer, so a preview shows only what everyone in the organisation can already open. Anything else, private, shared with some people only, or a link that does not exist, gets the same lock card, such as Session not shown here, so a pasted link never reveals more than its reader could open

Where your Slack workspace supports them, the preview is a Slack Work Object: a card that opens a details panel. The panel is drawn for the person who opened it, so with a linked account you see an item you have access to even where the channel got the lock card. A page that is collecting answers shows Respond, which opens its form in Slack

Chat accounts says to ask my admin. The Slack app is not installed for the workspace yet. An admin sets it up under Administration → Workspace → Integrations

kcap tells me to link first. Your Slack account is connected but not confirmed. Open Chat accounts, choose Send a new link, and open the link it sends you in Slack

The panel shows Reconnect. The Slack app or its workspace changed. Choose Reconnect in Chat accounts

/kcap says following isn’t turned on. /kcap help also lists commands that make a channel follow a repository, project or work item, and ones that list sessions. Those need a switch your workspace may not have on. /kcap help, /kcap follow agent and /kcap unfollow agent work wherever the app delivers direct messages; the reply to any of them is shown only to you

There is no Ask kcap shortcut, or the app ignores my question. If the question was in a channel shared with another Slack workspace, kcap does not answer there; ask in your direct message with the app. Otherwise the workspace’s Slack app was probably created from an earlier manifest. Ask an admin to update the app and reinstall it. Integrations has the steps

Ask kcap says it has nowhere to run. The shortcut needs a running daemon of yours with a checkout of a repository kcap knows. Start one with kcap daemon start and try again