Uh oh!
There was an error while loading. Please reload this page.
feat: Adds support for Cursor provider and other ACP backends - #5095
feat: Adds support for Cursor provider and other ACP backends#5095aweis89 wants to merge 43 commits into
Conversation
rekram1-node
commented
Dec 5, 2025
we already have acp support, whats this for |
rekram1-node
commented
Dec 5, 2025
okay i see |
aweis89
commented
Dec 5, 2025
Been using this all morning. It's pretty awesome to be able to use my Cursor subscription with OpenCode's best-in-class TUI! |
8641762 to
d94185fCompareImplemented a Proxy for the tools record when an ACP provider is active. This dynamically provides pass-through tool definitions for unknown tool calls, allowing them to be correctly proxied to the ACP.
aweis89
commented
Dec 21, 2025
aweis89
commented
Dec 21, 2025
Any chance this is something we can merge @rekram1-node? |
jensenojs
commented
Dec 25, 2025
same ask here |
Resolved conflicts in: - transform.ts: Added @ai-sdk/google-vertex fall-through case while keeping ACP context logic - llm.ts: Merged ACP tool/jsonSchema imports with extractReasoningMiddleware from dev
Nasseratic
commented
Jan 2, 2026
Awesome work @aweis89 ❤️ |
NazmiAltun
commented
Jan 5, 2026
@rekram1-node any plans to have this feature ? |
Removed future enhancements section from README.
I hope this PR gets merged soon! |
- update normalization to handle 'path' for both read and edit tools
Treat wrapped "ConnectError: ... ECONNRESET" (common via ACP subprocess backends) as retryable by unwrapping cause/message, and add a regression test.
LeonMueller-OneAndOnly
commented
Jan 16, 2026
Here is another interesting approach for getting cursor to work in opencode |
aweis89
commented
Jan 18, 2026
Were you able to get this working? |
It's super cool what you've made but unfortunately this isn't something we have bandwidth to maintain at the moment, this may be better suited to be written as a plugin, if you did make one we are happy to add to ecosystem page |
Nomadcxx
commented
Jan 19, 2026
Noooooooooo |
kaan-zeroday
commented
Jan 19, 2026
@aweis89 Can you publish as plugin? |
oraclian94
commented
Jan 20, 2026
Noooooooooo!!!! |
aweis89
commented
Jan 22, 2026
I've been using this recently published plugin lately and it actually works quite well |
RespectMathias
commented
Mar 19, 2026
Upvoting this. These Oauth plugins aren't the solution due to TOS. Would love ACP Client support for OpenCode. Especially since it is also a desktop app now. |
MRDGH2821
commented
Mar 29, 2026
Would be really cool if this gets revived! |


Summary
IDE/ACP-> OpenCode -> LLM), this adds support to use ACP as a backend LLM provider (OpenCode -> ACP)Resolves
Implementation Details
Core Components
client.ts) - Manages subprocess lifecycle and ACP protocol communicationmodel.ts) - Implements LanguageModelV2 interface with streaming supportconverters.ts) - Bidirectional conversion between Vercel AI SDK and ACP message formatsmcp-converter.ts) - Converts OpenCode MCP configurations to ACP formatfactory.ts) - Creates ACP provider instances from configurationKey Features
Testing
Documentation