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,把自动修复的实现委托给Conductor云端工作区中的编程智能体。Polylane调查并提出修复;一个Conductor智能体在云端工作区中实现它并推送拉取请求。使用你自己的Conductor API访问权限。
设置
- 在Conductor中,进入app.conductor.build → Users → API keys并创建一个用户级API密钥(以
sk_开头)。 - 确保Conductor账户的GitHub连接可以访问你的目标仓库。
- 把密钥粘贴到Polylane中。
连接后,Conductor成为工作区创建的每个自动修复的执行器。要把自动修复重新路由回Polylane执行器,在Settings中Conductor集成页面上关闭Use Conductor for all autofixes。
你的密钥在存储前加密,智能体永远看不到它。你的Conductor套餐必须包含云端工作区访问权限。
给Conductor提供Polylane的MCP工具
Conductor会话使用底层编程框架的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>