Skip to content

Add Multi Agent Systems documentation to Linear integration page #1101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
May 28, 2025
Merged
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
30 changes: 28 additions & 2 deletions docs/integrations/linear.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ Connect your Linear workspace to Codegen to enable agent interactions.
</Card>

<Note>
API access allows agents to interact with issues and projects according to
your permissions in Linear.
API access allows agents to interact with issues and projects according
to your permissions in Linear.
</Note>

## Capabilities
Expand All @@ -31,6 +31,7 @@ The Linear integration provides read and write access, enabling agents to manage

- **Read Access:** Fetch issue details, read comments, view project status, list team members.
- **Write Access:** Update issue status (e.g., to "In Progress", "Done"), add comments, link GitHub PRs to issues, create new issues, assign tasks.
- **Multi Agent Systems:** Create sub-issues and assign child agents to break down complex tasks into manageable pieces. [Learn more](#multi-agent-systems).

## How Agents Use Linear

Expand All @@ -40,3 +41,28 @@ Agents use the Linear integration to streamline project management:
- **Link Code:** Connect implemented changes (GitHub PRs) directly to the relevant Linear issue.
- **Provide Updates:** Post comments on issues with progress reports, results, or questions.
- **Create Tasks:** Generate new issues for follow-up work, bugs discovered, or sub-tasks.

## Multi Agent Systems

### Overview

Once you've enabled linear self-assign in the settings [page](https://www.chadcode.sh/settings/permissions), a codegen agent, that has been assigned to a linear issue (or has been tagged in one), can spawn child agents
by creating sub-issues and assigning itself to those sub-issues. For each sub-issue that codegen assigns to itself a child agent will be spawned and tasked with completing the sub-issue. Once the child agents are
finished with their tasks they will notify their parent by sending it a message. The parent will then incorporate the child's work into its own as appropriate.

### Best Practices

#### Triggering the Child Agents

If you'd like to have codegen break up a linear issue into smaller issues and assign them to child agents you should instruct it to do so in the
description of the original linear issue.

#### Shared Context

Before creating sub-issues and assigning them to child agents the parent agent will produce scaffolding in the form of a git branch and include details
of this branch in the description of the sub-issues. The child agents will then work off of this scaffolding branch. If you have specific scaffolding requirements
or context you'd like the child agents to share, please include them in the description of the parent issue.

#### Availability

This feature is only available on the Team Plan.
Loading