【笔记】IDEA的AiAssistant使用自定义的Agent

前言

IDEA的AiAssistant使用自定义的Agent

使用OpenCode作为Agent

下载依赖

1
brew instal opencode

修改配置

~/.jetbrains/acp.json
1
2
3
4
5
6
7
8
9
{
"default_mcp_settings":{},
"agent_servers": {
"OpenCode": {
"command": "/opt/homebrew/bin/opencode",
"args": ["acp"]
}
}
}

切换Agent

完成