In Slack

Use /nairi slash commands to bind an agent to a channel, switch modes, and inspect running tasks.

Slack uses native slash commands. Type /nairi in any channel where the bot is installed and Slack will surface the subcommands inline.

All /nairi responses are ephemeral: only the user who ran the command sees them. Nothing is posted to the channel for other members.

Available commands

CommandWhat it does
/nairi helpPrint the full command reference.
/nairi agentsList every agent in your org. Use this to find the agent_id you want.
/nairi agentShow which agent is currently the default for this channel (if any).
/nairi agent=<agent-id>Set the default agent for this channel. Binds the channel so future @Nairi mentions route to this agent.
/nairi mode=<ask|execute>Set the default execution mode for this channel. See Modes below.
/nairi lsList active tasks in this channel only.
/nairi lsaList active tasks across every channel in this workspace.

Channel binding

Slash commands set per-channel defaults. The most common flow is:

  1. /nairi agents to see the IDs.
  2. /nairi agent=ag_… to bind the channel to one of them.
  3. @Nairi <prompt> to start using it.

A channel can be bound to one agent at a time. To switch, just rerun /nairi agent=<new-id>.

You can also override the bound agent for a single message by tagging it inline: @Nairi [agent=ag_…] <prompt>.

Modes

  • ask: the agent confirms before running irreversible or destructive actions (default for new channels).
  • execute: the agent runs without asking.

Set per channel with /nairi mode=ask or /nairi mode=execute.

Inspecting tasks

  • /nairi ls shows tasks created in the current channel.
  • /nairi lsa shows tasks across the whole workspace.

Both list queued, active, and recently idle tasks with the agent, the thread link, and a status. Tasks are scoped to the workspace, so a user in another Slack workspace won't see anything here.


Can't find what you're looking for? Email support@nairi.ai.

On this page