Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions agent/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ The agent can only access repositories that you connect through the Mintlify Git
<Card title="Connect Slack" horizontal icon="slack" href="/agent/slack">
Add the agent to your Slack workspace.
</Card>
<Card title="Connect Linear" horizontal icon="list-check" href="/agent/linear">
Delegate Linear issues to the agent.
</Card>
<Card title="Customize behavior" horizontal icon="wrench" href="/agent/customize">
Configure the agent with an `AGENTS.md` file.
</Card>
Expand Down
59 changes: 59 additions & 0 deletions agent/linear.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
title: "Connect the agent to Linear"
description: "Delegate Linear issues to the agent to automatically update your documentation."
keywords: ["Linear integration", "issue tracking", "agent integration", "documentation automation"]
---

<Info>
The agent is available on [Pro and Enterprise plans](https://mintlify.com/pricing?ref=agent).
</Info>

The Linear integration lets you delegate issues directly to the Mintlify agent. When you assign an issue to the agent in Linear, it reads the issue details, reviews your documentation, and opens a pull request with the relevant changes.

## How it works

1. You delegate a Linear issue to the Mintlify agent or `@mention` it in an issue thread.
2. The agent reads the issue title, description, and any comments for context.
3. It reviews your existing documentation and determines what needs to change.
4. If documentation changes are needed, the agent opens a pull request and moves the issue to **In Review**.

Check warning on line 18 in agent/linear.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

agent/linear.mdx#L18

In general, use active voice instead of passive voice ('are needed').
5. If no changes are needed, the agent explains why.

Check warning on line 19 in agent/linear.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

agent/linear.mdx#L19

In general, use active voice instead of passive voice ('are needed').

You can continue the conversation by sending follow-up messages in the agent thread on the issue. The agent reuses its existing session, so it remembers the context from previous interactions on the same issue.

## Connect your Linear workspace

Check warning on line 23 in agent/linear.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

agent/linear.mdx#L23

'Connect your Linear workspace' should use sentence-style capitalization.

1. Open the [Agent](https://dashboard.mintlify.com/products/agent) page in your dashboard.
2. Click the **Settings** button.
3. In the Linear integration section, click **Connect**.
4. Follow the Linear prompts to authorize the Mintlify app in your workspace.
5. Once connected, the dashboard shows your Linear organization name.

## Use the agent in Linear

### Delegate an issue

To trigger the agent, delegate a Linear issue to it. The agent picks up the issue, analyzes the title and description, and determines what documentation changes are needed.

Check warning on line 35 in agent/linear.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

agent/linear.mdx#L35

In general, use active voice instead of passive voice ('are needed').

If the issue description includes specific instructions, the agent follows them. Otherwise, it uses its judgment to decide what documentation updates are appropriate.

### Send follow-up messages

After the agent processes an issue, you can send follow-up messages in the agent thread to:

- Ask for additional changes to the pull request.
- Provide more context or clarify your request.
- Request a different approach to the documentation update.

The agent picks up each follow-up in the same session, so it has full context of the conversation.

### Stop the agent

If the agent is processing an issue and you want to stop it, use Linear's stop signal. The agent stops its current work and marks the run as complete.

Check warning on line 51 in agent/linear.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

agent/linear.mdx#L51

Did you really mean 'Linear's'?

## Disconnect Linear

Check warning on line 53 in agent/linear.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

agent/linear.mdx#L53

'Disconnect Linear' should use sentence-style capitalization.

1. Open the [Agent](https://dashboard.mintlify.com/products/agent) page in your dashboard.
2. Click the **Settings** button.
3. In the Linear integration section, click **Disconnect**.

You can also revoke access from your Linear workspace settings. Revoking the app authorization in Linear automatically removes the integration from Mintlify.
1 change: 1 addition & 0 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
"root": "agent/index",
"pages": [
"agent/slack",
"agent/linear",
"agent/workflows",
"agent/customize",
"agent/effective-prompts",
Expand Down
Loading