Connect
- In the project’s Connections tab, choose Create Linear agent on the environment’s row and name it. Names can’t contain “Linear”.
- Choose Open Linear to create the app. The page is prefilled; create the app.
- Paste the app’s client ID, client secret and webhook signing secret.
- Choose Authorize in Linear. A workspace admin must approve.
- Delegate an issue to the agent. The panel shows First session received.
Talking to it
- Delegate an issue or mention it in a comment to start a session.
- Reply in the session’s thread to continue, even after it finished.
What it receives
Each message is a channel input withchannel.provider: "linear". text is the message; for the first one it is
Linear’s prompt context, or <identifier>: <title> without one. payload is a
LinearInputPayload:
What it writes
A GitHub pull request URL in the final message becomes the session’s link.
Ask before acting
input.answer. Linear holds
messages typed while the agent works and releases them only when it finishes,
so they arrive after the answer as ordinary turns and input.steering is
usually empty; a stop discards them. Say so in the question, so people send
constraints before answering.
Stop
Linear’s stop button interrupts the turn, discards queued messages and closes any open question. A later reply continues the same session.Call Linear
Declare the service in the agent and call Linear’s GraphQL API from a tool:POST /graphql is
allowed. Issues the agent delegates to itself start new
sessions with origin.createdByAgent: true. For code, connect the project’s
GitHub App.
Disconnect
Choose Disconnect in the Linear panel. The app stays in your Linear workspace; delete it there if you no longer need it.Limits
- One connection per agent per environment, and one per Linear app.
- No concurrency limit: every delegated issue runs its own session.
askisn’t available in sessions withexecutionMode: "microvm".- Stopping a session doesn’t stop issues it delegated.