All integrations
Linear logo

Run agents with Linear

Connect Linear once, and every run that names it works in Linear on the account you connected.

Read and update issues, projects, and comments.

What agents do with Linear

How it works

  1. Connect Linear once

    Sign in under Settings → Connections. Rush keeps the sign-in; no script or laptop holds a token.

  2. Hand an agent the work

    From the console, on a schedule, or with one API call that names linear.

  3. Get the result back

    Files, an answer or a PR, with a record of every step the agent took.

For developers: how Linear connects

Linear is a built-in app: you sign in on Linear's own page, through Rush's own app, so you register no OAuth app.

Connect it once in the console under Settings → Connections, or from your server with POST /me/connections. The sign-in finishes in a browser signed in to the console as the same person, and a link not finished within 10 minutes expires.

After that, a run that names linear in connections, or runs a saved agent that names it, gets it; your connections reach no run that does not name them.

POST https://api.phoenix.so/me/connections

{
  "type": "app",
  "name": "linear"
}

Whose Linear account the agent uses

Your Linear connection is personal: it belongs to the person who signed in. A run started in the console uses that person's Linear, and a run started with an API key uses the Linear of the member who created the key.

An agent made from a template for one of your app's users cannot hold a Linear connection: Linear connects only as a person's own account.

More Project Management integrations

Frequently asked questions

How do I connect Linear to Rush?

Open Settings → Connections in the console and connect Linear, or send POST /me/connections with {"type":"app","name":"linear"} and open the authorize_url it returns while signed in to the console. The connection reads pending until the sign-in finishes, then connected.

Does every run get my Linear account?

No. A run gets your Linear connection only when it names it in connections ("connections": ["linear"]), or runs a saved agent that names it. A saved agent names its connections once, and every run of it gets them.

What can an agent do in Linear?

Read and update issues, projects, and comments. 7 published jobs use it; this page lists them.

Keep reading