Overview
Picks up a Linear issue and proposes the corresponding code change as a pull request against the repository (or repositories) you connect.Setting It Up
1
Create the agent task
From the Agent use cases section when creating a new service, pick Linear Coding Agent (see Creating an Agent).
2
Configure Linear access (optional)
The template ships with one environment variable for connecting to Linear: an API key. If you don’t need Linear access for your workflow, remove it and adapt the instructions accordingly.To create the API key:
- Click your workspace name in the top left of Linear, then Settings
- Go to Security & access
- Under Personal API keys, create a new key
3
Connect the repository
Add the Git repository, or repositories, this agent should code against as its Context. You can also add a Qovery service as Context, alongside its repository.
4
Choose a Provider
Enter your Anthropic API key, the only provider supported today.
5
Add MCP Servers (Optional)
Not required for this use case by default, add any if your workflow needs them. See Add MCP Servers.
6
Add a trigger
Select From a webhook, and copy the generated webhook URL from the agent task’s overview page, you’ll need it next.
7
Point Linear at the webhook
In Linear, go to Settings > API > Webhooks and create one: add a description, paste the webhook URL from the previous step, and under Data change events, select Issues.
8
Add an output (optional)
To have the agent post to Slack when it’s done, add a webhook output pointing to a Slack Incoming Webhook URL. See Outputs for the setup steps.