code agent
Devin
Connect your Devin organization to delegate autofix implementation to Devin cloud agents. Polylane investigates and proposes fixes; Devin opens the pull request on your GitHub. Bring your own Devin API key.
Connect
Connect Devin from the terminal. Pass --help for the flags Devin accepts.
Terminal
polylane integration connect --type devinService user token from the Devin API.
Connect Devin to delegate autofix implementation to Devin cloud agents. Polylane investigates and proposes the fix; Devin opens the pull request on your GitHub. Bring your own Devin API access.
Setup
- In Devin, go to Devin API → Service users and provision a service user.
- Copy its token (it starts with
cog_). - Paste the token into Polylane. The organization is detected automatically.
- Optionally turn on Use Devin for all autofixes to route every autofix through Devin instead of the Polylane executor. You can change this later.
Your token is encrypted before it is stored, and the agent never sees it. Your Devin plan must include API access.
Disconnecting
Disconnect Devin in Polylane, then revoke the service user token in Devin.
Automation actions
1Side effects an automation can perform with Devin.
Hand off to Devin
Delegates implementation to Devin: the agent writes the plan and Devin opens the pull request itself.
Automation templates
1Pre-built automations that use Devin. Open one to see its trigger, instructions, and actions.