opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Support for Cursor?

Open ThallesP opened this issue 4 months ago • 21 comments

As Cursor has released their own CLI (https://cursor.com/cli), I'm wondering if Opencode could support it. It's just a thought, as I'm guessing the API for it is not made for public use or documented in any way, but it's worth a shot.

ThallesP avatar Aug 19 '25 17:08 ThallesP

This issue might be a duplicate of existing issues. Please check:

  • #216: Editor integrations - This is a general feature request for editor integrations similar to Claude Code's VS Code extension, which would include support for editors like Cursor
  • #1246: "Cursor extension installed" on each open up of opencode inside terminal in cursor - This issue discusses problems when running opencode inside Cursor's terminal

Feel free to ignore if none of these address your specific case.

github-actions[bot] avatar Aug 19 '25 17:08 github-actions[bot]

I don't know if they have a generic inference api, also I recall @thdxr mentioning he is friendly w/ CEO of cursor so would only do this if they gave the ok

rekram1-node avatar Aug 19 '25 17:08 rekram1-node

I'm not sure about tos/etc, but the cursor cli does have something that streams json output similar to claude code:

https://docs.cursor.com/en/cli/reference/output-format

justyns avatar Sep 09 '25 19:09 justyns

Could @thdxr ask the CEO of Cursor for the party favor?

samholmes avatar Sep 11 '25 05:09 samholmes

I need this :)

Nasseratic avatar Sep 16 '25 08:09 Nasseratic

This would be so awesome.

ivanp avatar Oct 03 '25 05:10 ivanp

That would be really cool 💯

bapjiws avatar Nov 03 '25 15:11 bapjiws

this would be amazing to have

wizardengineer avatar Nov 08 '25 05:11 wizardengineer

Plzzzzz @thdxr ❤️

Nasseratic avatar Nov 08 '25 17:11 Nasseratic

Would it be possible to have inline autocompletion on nvim through cursor cli?

wizardengineer avatar Nov 08 '25 17:11 wizardengineer

@wizardengineer we are thinking about how we could do something for completions

rekram1-node avatar Nov 08 '25 19:11 rekram1-node

we are thinking about how we could do something for completions

You don't know how many lives you'll improve with this one feature...it'd be a complete game changer!!

Let me know what you guys have cooking up. Really interested in the progress on completions

wizardengineer avatar Nov 08 '25 19:11 wizardengineer

@wizardengineer ill let u know once we have something coming rn it is still in the investigation / weighing options phase

rekram1-node avatar Nov 08 '25 19:11 rekram1-node

Would love this, with @wizardengineer on this, it would be a massive QoL improvement.

itse4elhaam avatar Nov 24 '25 11:11 itse4elhaam

@wizardengineer ill let u know once we have something coming rn it is still in the investigation / weighing options phase

Just curious, can the support for cursor be implemented via a custom plugin with the ability to select models under cursor (like we do for copilot) as well as auto support?

And what is the priority level of this feature?

itse4elhaam avatar Dec 01 '25 09:12 itse4elhaam

cursor models in general? Yeah probably

rekram1-node avatar Dec 01 '25 22:12 rekram1-node

Oh yeah would be great to be able to integrate Cursor inside Opencode CLI, the Cursor's CLI is clearly not their priority and currently far behind other agentic CLIs in terms of UX, they mostly focus on the Desktop IDE.

Would be cool to have the better CLI harness that is Opencode to use Cursor's features, they still seem to do very good on codebase indexing/retrieving for example, and their Auto and Composer1 models are very good and cheap for medium difficulty agentic multitasking.

petipoua avatar Dec 03 '25 13:12 petipoua

that would be great, a lot of employers are paying for Cursor nowadays

WilsonNet avatar Dec 11 '25 14:12 WilsonNet

This would be amazing, my company is paying for Claude Pro and Cursor. I can switch between Cursor models and Claude Pro when rate limited.

irshathcodes avatar Dec 15 '25 07:12 irshathcodes

Having cursor available as an upstream provider in opencode would be amazing :)

rerz avatar Dec 19 '25 09:12 rerz