code agent
Factory
Connect your Factory organization to delegate autofix implementation to Factory droids running on managed computers. Polylane investigates and proposes fixes; Factory implements them and pushes the pull request. Bring your own Factory API key.
Connect
Connect Factory from the terminal. Pass --help for the flags Factory accepts.
Terminal
polylane integration connect --type factoryAPI key from your Factory account.
Connect Factory to delegate autofix implementation to Factory droids. Polylane investigates and proposes the fix; a droid implements it on a Factory managed computer and pushes the pull request. Bring your own Factory API access.
Setup
- In Factory, go to Settings → API keys and create an API key (it starts with
fk-). - Make sure the Factory organization's GitHub connection has access to your target repositories.
- Paste the key into Polylane.
- Optionally turn on Use Factory for all autofixes to route every autofix through Factory instead of the Polylane executor. You can change this later.
Your key is encrypted before it is stored, and the agent never sees it. Your Factory plan must include API and remote workspace access.
Disconnecting
Disconnect Factory in Polylane, then revoke the API key in Factory.
Automation actions
1Side effects an automation can perform with Factory.
Hand off to Factory
Delegates implementation to Factory: the agent writes the plan and a Factory droid opens the pull request itself.