code agent
Conductor
Connect your Conductor account to delegate autofix implementation to coding agents running in Conductor cloud workspaces. Polylane investigates and proposes fixes; Conductor implements them and pushes the pull request. Bring your own Conductor API key.
連接
從終端機連接Conductor。傳入--help可查看Conductor接受的旗標。
Terminal
polylane integration connect --type conductor來自你Conductor帳戶的API金鑰。
連接Conductor,把Autofix的實作委派給Conductor雲端工作區中的程式碼代理。Polylane調查並提出修復;Conductor代理在雲端工作區中實作它並推送pull request。請自備Conductor API存取權。
設定
- 在Conductor中前往app.conductor.build → Users → API keys並建立一把使用者範圍的API金鑰(以
sk_開頭)。 - 確認Conductor帳戶的GitHub連接可以存取你的目標儲存庫。
- 把金鑰貼到Polylane。
連接會讓Conductor成為工作區建立的每個Autofix的執行器。要把Autofix導回Polylane執行器,請在Settings中Conductor整合頁面上關閉Use Conductor for all autofixes。
你的金鑰在儲存前會先加密,代理永遠看不到它。你的Conductor方案必須包含雲端工作區存取。
給Conductor使用Polylane的MCP工具
Conductor工作階段使用底層程式碼harness的MCP設定,所以提交到儲存庫的伺服器會自動被採用。在Polylane的Settings → Coding agents底下建立一把API金鑰(一鍵,帶有MCP工具所檢查的每個讀取範圍),然後把.mcp.json(Claude Code格式)提交到儲存庫:
{
"mcpServers": {
"polylane": {
"type": "http",
"url": "https://mcp.polylane.com/mcp",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}
中斷連接
在Polylane中斷Conductor的連接,然後在Conductor中撤銷該API金鑰。
中斷連接
中斷連接會停止所有同步與檢查,並刪除Polylane持有的憑證。 Polylane在Conductor中建立的一切也會一併移除;不會留下任何東西。
Terminal
polylane integration disconnect <id>