Features
Agent Sessions
@mention or assign Cotool in Linear issues to trigger agents with
real-time streaming responses.
Issue Management
Create, update, and comment on Linear issues programmatically from any
agent.
Live Progress
See agent reasoning, tool actions, and plan steps streamed directly into
the Linear issue thread.
Conversation Continuity
Follow up in the same thread — the agent picks up full context from
previous messages.
Setup
1
Navigate to Integrations
Go to Settings > Integrations in Cotool and find the Linear integration.
2
Connect Linear
Click Connect to authenticate. Cotool will register as an app-actor in your Linear workspace, enabling it to be assigned to and mentioned in issues.
3
Verify Permissions
The integration requires the following scopes:
- Read and write access to issues and comments
- App assignable (Cotool can be assigned to issues)
- App mentionable (Cotool can be @mentioned in issues)
If you previously connected Linear before the Agent Session feature was
available, you’ll see a prompt to Reconnect to upgrade your credentials.
This upgrades to app-actor credentials that support assignment and mentions.
How It Works
Linear Agent Sessions
Linear Agent Sessions are the primary way to interact with Cotool from within Linear. When you @mention or assign Cotool on a Linear issue, Linear creates an Agent Session and sends a webhook to Cotool. Cotool then processes the request and streams its response directly back into the issue thread.1
Trigger Cotool in Linear
@mention Cotool or assign it to an issue in Linear. You can include a
description of what you’d like the agent to do.
2
Agent Acknowledges
Cotool immediately responds with a “Thinking…” status so you know your
request was received.
3
Live Progress Updates
As the agent works, you’ll see real-time updates streamed into the
Linear thread:
- Thoughts — the agent’s reasoning process
- Actions — tool calls the agent makes (e.g., querying a SIEM, checking an EDR)
- Plan steps — if the agent creates a plan, each step and its status syncs to Linear’s Agent Plan UI
4
Final Response
When the agent completes, its final summary is posted as a response in
the thread, along with a link to view the full run in Cotool.
Agent Triggers vs. Personal Chats
Cotool supports two modes when receiving a Linear Agent Session event, similar to how the Slack integration handles channels vs. DMs: Agent Triggers (Recommended) One enabled Linear Agent Session trigger acts as the default for your organization. Its agent handles Agent Sessions created by @mentions and assignments from your Linear workspace. Only one Linear Agent Session trigger can be enabled at a time. External automation can use that trigger as the Linear transport while routing individual sessions to any agent in the organization. Personal Chats (Fallback) If no agent trigger is configured, Cotool falls back to creating a personal chat for the requesting user. The user’s Linear email must match a Cotool account. This is useful for ad-hoc queries without a dedicated agent.Conversation Continuity
When you send a follow-up message in a Linear Agent Session thread, Cotool continues the existing conversation with full context of the previous exchange. This enables multi-turn interactions:- @mention Cotool: “Investigate the suspicious login from IP 10.0.0.5”
- Agent responds with findings
- Follow up: “Can you also check if this IP appears in any other alerts?”
- Agent continues with the new request, retaining context from step 2
Stopping an Agent
If an agent is taking too long or you want to cancel a request, you can stop it directly from Linear. Cotool will:- Interrupt the running agent execution
- Acknowledge the stop in the Linear thread with a confirmation message
- Mark the chat as interrupted in Cotool
Setting Up an Agent Trigger
To route Linear Agent Sessions to a specific agent:1
Create or Edit an Agent
Navigate to the agent you want to trigger from Linear.
2
Add a Linear Trigger
In the agent’s Triggers tab, click Add Trigger and select
Linear.
3
Select Agent Session Mode
Choose Agent Session mode (the default). This uses Linear’s native
agent protocol instead of legacy issue-created webhooks.
4
Save the Trigger
Save the trigger. Cotool will now handle all Linear Agent Session events
for your workspace using this agent.
Legacy webhook mode is still available for backward compatibility.
Legacy triggers fire when a Linear issue is created and require manual
webhook configuration. New triggers should use Agent Session mode.
Routing Different Agents from External Automation
If an external system such as Tines already decides which agent should triage an issue, use the agent-specific endpoint to start the Linear Agent Session:Configure Multiple Agent Entry Points
- Configure one enabled Agent Session Linear trigger as the default for direct @mentions and assignments.
- Create or select the agents that external automation may invoke. These targeted agents do not need their own Linear triggers.
- In Tines, call the endpoint with the selected agent’s ID and the Linear issue ID or identifier.
Example response:
Available Tools
When an agent has the Linear integration enabled, it can use these tools:Example Use Cases
Security Alert Triage
Security Alert Triage
Create an agent that, when @mentioned on a Linear issue, automatically
investigates the referenced alert — querying your SIEM, checking EDR
telemetry, and summarizing findings directly in the issue thread.
Incident Response Coordinator
Incident Response Coordinator
Assign Cotool to an incident ticket in Linear. The agent gathers context
from Datadog, PagerDuty, and Slack, then posts a structured summary with
recommended next steps.
Access Review Assistant
Access Review Assistant
@mention Cotool on access review tickets to have it check Okta group
memberships, verify last login dates, and recommend whether access
should be renewed or revoked.
Detection Engineering Support
Detection Engineering Support
When creating a new detection rule ticket, @mention Cotool to have it
research similar detections, check MITRE ATT&CK mappings, and draft an
initial detection rule.