Skip to content
KurrentDB

Ask kcap from Slack

Someone asks in a channel why the team dropped the Redis cache. The answer is in a session from two months ago, and nobody remembers which. Ask kcap in the same thread and it replies with a short answer and links to the sessions behind it. When a message needs work, not an answer, hand that one message to an agent and review its reply before anyone else sees it. Both need the kcap Slack app, which an admin installs for the workspace, and your Slack account connected

Ask in the channel, get a cited answer in the thread, and open the session behind it. Everything below stands on its own

Mention the app in a channel it is in:

@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. Each claim is marked [1], [2] and linked to its source, with a Sources list at the end, so anyone can open the session and read the turn where the decision was made

Where you ask decides what the answer may draw on:

  • In a channel, everyone there can read the reply, so it uses only what the whole organisation can already see
  • In your direct message with the app, it uses everything you can see, including sessions shared only with you

Ask in the direct message when the channel answer comes back thin. A few more examples:

@kcap who last worked on the billing webhooks, and what was left unfinished?
@kcap what did we decide about retrying failed exports?

Each question stands alone. kcap does not remember the one before, so put the whole question in one message

A bug report lands in a channel. Open the message’s More actions menu and choose Ask kcap:

  1. Add an Instruction if the message does not say what you want, such as “Find the cause and draft a reply with the fix”
  2. Pick the Repository, Agent and Model, then Start. The choices are the repositories you have a checkout of on a connected daemon
  3. A thread opens in your direct message with the app, with Open in kcap linking to the agent
  4. When 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 the draft:

Shorter, and say which release has the fix

Send posts the draft as a threaded reply to the original message, from the kcap app. Nothing is posted until you choose it. Sending or discarding stops the agent

The agent sees that one message and never the rest of the conversation. It is given the message as someone else’s text to work on, not as instructions to follow

  • A question is cut off at 1,000 characters
  • kcap does not answer in a channel shared with another Slack workspace
  • Where the app cannot post, such as a direct message between two people, the draft is shown as text for you to copy
  • Attached files reach the agent only in a conversation the app is a member of, up to 10 MB a file
  • The app ignores my question, or there is no Ask kcap shortcut: the workspace’s Slack app is out of date. Ask an admin to update 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 the repository. Start one with kcap daemon start and try again
  • The answer misses something I know is there: it may be visible only to you. Ask again in your direct message with the app