In short.
This Mistral tutorial guides developers through building a Slack-to-Linear feedback bot, but its shared Linear credential needs safeguards beyond prompt instructions for production use. The example reviews top-level channel messages, requests clarification, searches for duplicates and creates issues or adds comments. It demonstrates structured replies, thread-specific sessions, message idempotency, event recovery and stopping a running turn. Both processes initially run locally, while Mistral and Linear remain external service dependencies. The page provides detailed setup and expected scenarios, but complete example files, prices and licence terms are not included. Nothing was executed, so operational reliability and triage quality are not assessed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage is limited to the complete documentation page at [https://docs.mistral.ai/studio/agents/examples/slack-feedback-triage-bot.md], including its code excerpts, setup, deployment notes, security warnings, limitations and troubleshooting. Linked pages, the referenced README, full example files and dependency lockfiles are excluded. No explicit licence notice is present. Documented scenarios and outputs are expectations rather than observed results; nothing was executed, and operational behavior, security enforcement, compatibility and costs remain unverified.
The overview
Identity
Build a Slack feedback triage bot is a tutorial in Mistral's agent documentation. Its source address is [https://docs.mistral.ai/studio/agents/examples/slack-feedback-triage-bot.md]. It teaches an integration between a Slack channel, a Mistral agent and Linear.
The example has two Python projects: an agent in agent/ and a Slack bot at the example root. The page contains code excerpts and setup instructions; it references complete implementation files and a README that are not reproduced in full.
Assessment
The tutorial is useful for understanding a feedback workflow that spans chat, an AI conversation and an issue tracker. It goes beyond a basic model call by covering follow-up context, duplicate searches, credentials, session recovery and failure messages.
Its main constraint is authority: the model can access the Linear tools permitted by one shared API key. A project named in the agent's instructions is not an access boundary. The page itself recommends additional controls for production; it does not establish production readiness, duplicate-detection accuracy or reliable completion rates.
Users
The intended audience is developers connecting product feedback in Slack to a team's Linear backlog. Beginners get a step-by-step account of app permissions, environment variables and process startup, but still need to manage credentials, Python projects and workspace installation.
Experienced developers can study typed model replies, asynchronous session events, concurrent messages and restart recovery. The documented example handles one public Slack channel and one Linear project; broader routing and attachment-based feedback require additional work.
Capabilities
The intended flow reviews every new top-level message, removes its temporary status when no response is needed, asks one short question for vague feedback and classifies specific feedback as a question, idea, bug or feature request. It searches the target Linear project before writing, adds useful evidence to a strong duplicate or creates a new Triage issue.
Thread replies without a mention are buffered while a session remains active. Mentioning the bot sends the accumulated context to that conversation. The guide also documents progress messages, a stop command and inspection of session messages, tool calls and status in Mistral Studio. These are documented behaviors, not observed results.
Using it
Requirements
The stated prerequisites are Python 3.12, uv, a Mistral API key with a workspace role granting Workflows access, permission to create and install a Slack app, and a public test channel. The Linear API key needs read access, issue creation and comment creation on the target team.
The Slack app requires Socket Mode, an app token with connections:write, a bot token with channels:history and chat:write, and the message.channels event subscription. It must be invited to the configured channel. Socket Mode removes the need for a public request URL.
The local arrangement needs both the agent process and bot process running. Each uses a Mistral API key for its own service calls. A model-capable key alone may lack permission to register the served agent.
Mechanism
Slack events reach bot.py through Socket Mode. Each top-level message opens a Mistral session, and subsequent mentions continue that thread's session. The locally served agent uses mistral-medium-latest and reaches Linear through its hosted MCP server at [https://mcp.linear.app/mcp]. Local serving therefore still depends on external services.
The agent requests a Pydantic TriageReply containing a respond boolean and message text. The bot parses the same schema, suppresses replies when respond is false and returns an error message when a completed usable reply is unavailable.
Slack timestamps serve as message idempotency keys. The bot stores session identifiers, buffered replies, handled messages and event cursors in threads.json. A follower reads session events and resumes from the saved cursor after interruption. This addresses message handling and recovery; it does not establish exactly-once Linear writes or Slack replies.
Setup
The documented sequence creates the Linear key and Slack app, sets the target team and project in agent/instructions.py, and replaces your-id with a unique lowercase identifier. The bot's AGENT_NAME must exactly match the served agent name.
In the agent project, configure MISTRAL_API_KEY and LINEAR_MCP_TOKEN, install dependencies with uv sync, inspect the declared configuration with agents info, then run check_linear_mcp.py. The page distinguishes configuration inspection from an actual connectivity check: agents info alone does not prove Linear is reachable.
LINEAR_MCP_TOKEN must contain the complete Authorization value, including Bearer and its following space, quoted in the environment file. Start agents serve with that environment loaded. Then configure the root project's Slack tokens, channel ID, Mistral key and agent name. The documented bot command is uv run --frozen --env-file .env python bot.py.
For Mistral-managed agent hosting, the page describes creating a workspace secret and binding it to LINEAR_MCP_TOKEN during deployment. This deploys the agent; the Slack bot remains a separate process.
Example
One documented scenario begins with a vague complaint about Managed Agents setup. The expected response is a short clarification question without searching Linear. A user then adds detail in an unmentioned reply; the bot should stay silent until a later mention forwards that buffered detail.
For a duplicate, the expected outcome is a search of the target project, one useful evidence comment and a reply containing the existing issue identifier and link. For a new request, the expected outcome is one Triage issue containing the Slack thread link.
The guide also proposes checking irrelevant messages, mention gating and stopping an active turn. Duplicate and new-request scenarios write real Linear data; the page advises using genuine feedback rather than synthetic evidence in a production backlog. None of these scenarios was executed here.
Assessment & evidence
Limitations
Anyone who can post in the configured channel can trigger the agent under the shared Linear identity. Linear's MCP server exposes tools beyond the intended workflow, including deletion, merging and administration. Credential scopes provide the enforceable boundary; project targeting and some tool restrictions depend on instructions. The save_issue tool can both create and update issues.
The example ignores text attachments, screenshots and edited messages. Its local threads.json storage supports one bot process per file. Sessions expire after inactivity or their lifetime limit, after which the thread mapping is forgotten and feedback may need to be reposted.
The event follower retries after failures and can post an answer again. Reliability under crashes, concurrent activity and downstream failures is not assessed. The page recommends a database, allowlists, attachment support, observability and independent validation of every Linear write for production.
Reasoning
The design fits a narrow workflow where discussion already happens in one Slack channel and actionable feedback belongs in one Linear project. A session per thread gives follow-up messages a shared conversation history, while mention gating limits unsolicited responses. Structured output gives the bot an explicit decision about whether to post.
These design choices explain the example's educational value, but they do not establish classification accuracy, sound duplicate matching or safe write decisions. Those outcomes depend on model behavior, instructions and permissions. The complete instructions are referenced rather than reproduced, which limits assessment of their safeguards.
Alternatives
The page offers two agent-hosting paths: agents serve runs the agent on the developer's computer while registering it with Mistral, and agents deploy moves agent execution to Mistral with a bound workspace secret. The Slack bot still needs separate operation in either arrangement.
For stronger control over issue changes, the page proposes an integration layer that validates Linear writes independently of the model. It provides no comparison with competing triage products or agent frameworks, so comparative capabilities and pricing are unknown.
Evidence
The evidence consists of the complete Mistral documentation page at [https://docs.mistral.ai/studio/agents/examples/slack-feedback-triage-bot.md]. It includes architectural explanations, code excerpts, setup commands, expected scenarios, security warnings and troubleshooting.
The referenced README, full Python files, dependency lockfiles and linked documentation are outside the available evidence. Error messages and expected outputs are examples supplied by the documentation, not independent execution records. No code was executed; end-to-end operation, performance and security enforcement remain unverified.
Access & freshness
Costs
The page gives no prices, required paid subscription tiers, usage measurements or operating-cost estimates. Mistral, Slack and Linear access are required, but the applicable charges are unknown.
Local execution is documented without any claim that the overall workflow is free. API usage, managed deployment charges, infrastructure expenses and cost per feedback message cannot be determined from this page.
Rights
The supplied page contains no explicit licence for its prose or code excerpts. Permission to copy, modify or redistribute the complete example is unknown from this evidence.
The page also does not provide service terms or data-retention policies for Slack, Mistral or Linear. It does explain that a personal Linear API key attributes the bot's issues and comments to the key's owner, and suggests a service-account key when that attribution is undesirable.
Freshness
The page was captured on 15 November 2026 at 04:25:50.770 UTC. Its source revision is sha256:72c17c85a8d93a6e1c52c5917212218429f867177b0f98005003123b7e2416ef. The capture date does not establish when the tutorial was published or last updated.
The page specifies Python 3.12 but does not identify a fixed SDK release or an immutable model version. The model name mistral-medium-latest is an alias. Current dependency compatibility, model behavior and maintenance history are unknown from the supplied page.
Actions
For an evaluation, obtain the complete referenced example, confirm its dependency and licence information, and configure a test channel with a narrowly scoped Linear key. Include comment creation permission so the duplicate path can work. Review the shared credential's authority before allowing channel members to trigger writes.
Follow the documented read-only Linear validation before enabling issue or comment creation. Then check silent handling, clarification, buffered context, duplicates, new requests, mention gating and stopping. Inspect the actual Linear records as well as Slack replies; a plausible response alone does not establish a correct write.
Before production use, address the page's database, access-control, observability and independent write-validation recommendations. Establish applicable service costs and data-handling terms separately, since this page does not supply them.
