10 ms·
Cursor CLI
- ksynwa 1y agoWhy are all these coding agents being created as terminal applications? Feels like the kind of thing that the tech industry would publish as an electron app.
- andai 1y agoCursor minus CLI is already that.
- daliusd 1y agoBecause you can script terminal app (ideally, at least you can do that with opencode.ai) and that opens some amazing opportunities.
- ksynwa 1y agoHow and why would one script things like this? I thought the process was basically just talking to the agent and telling it what you want to do and reviewing the changes before they are committed.
- daliusd 1y agoWell. Agents use context and context window has limit. If you add too much to context you will get poor result. You can split your task in smaller ones and in result you might get much better result. E.g. migration of tests to new version of library.
- easeout 1y agoShell commands and files on disk are the classic narrow waist, and this type of tool, exemplified by Claude Code, locates a coding agent down in that ecosystem. Why shouldn't you be able to use the abilities of this tool as a batch command, connected with all your other basic tools, in addition to interactive sessions? Cursor's chat being locked in an IDE sidebar has felt like driving with a trailer attached. For some tasks the editor is secondary or unnecessary, and as a papered-over VS Code fork, Cursor has a lot of warts that you just had to accept. Now you can just use your favorite editor. Companies make apps but want to be platforms, so they try to put everything in one app and help you forget about everything else. VS Code and Figma, for example, make their own extension ecosystems rather than connecting outward, because it makes them platforms-as-apps and harder to leave. But a desktop task workflow spans many apps and windows. You compose it yourself to your needs. We are computer users more than app users. To me as a computer user, a tool that's compact and has compatible outward extension points feels good.
- unsupp0rted 1y agoWhat's the benefit of this compared to the IDE? To be more like Claude Code?
- sblawrie 1y agoYou can spin up the Cursor CLI inside the terminal of your IDE of choice and not be tethered to Claude's models.
- zaphirplane 1y agoIs there a better agent than the anthropic one
- NitpickLawyer 1y agoDepends how you define "better". Quality/breadth of tasks/capabilities? Probably not (TBD how gpt5 will fare, colleagues were saying that it was better at some frontend tasks than claude4 in the alpha/beta horizon tests). But if you take speed/availability/cost into account, there might be "better" offers out there. I did some tests w/ windsurf when they announced their swe1 and swe1-lite models, and the -lite could handle easy tasks pretty well. I also tested 4.1-mini and 4.1-nano. There are tasks that I could see them handle reliably enough to make sense (and they're fast, cheap and don't throttle you).
- alwillis 1y agoYou can already use non-Anthropic models with Claude Code with tools like Claude Code Router [1]. [1]: https://github.com/musistudio/claude-code-router https://github.com/musistudio/claude-code-router
- rvnx 1y agoNo
- jstummbillig 1y agoI am so curious to know. Why is Cursor not just putting whatever this supposedly does better into... Cursor?
- phren0logy 1y agoHoly moly. I did not see that coming, but it makes sense. I’m enjoying the terminal-based coding agents way more than I ever would have expected. I can keep one spinning in the background while I do #dayjob, and as a bonus I feel like a haX0r. 2025 is the year of the terminal, apparently? For my prototype purposes, it’s great, and Claude code the most fun I’ve had with tech in a jillion years.
- LeoPanthera 1y agoThat's funny. I was really hoping that Anthropic would make a "Claude GUI".
- consumer451 1y agoIn one of their Claude Code talks they said it didn’t seem worth it, given their expectation that all IDEs will become obsolete by next year.
- kridsdale3 1y agoXcode pretty much hung up their hat this year, and threw in with Claude.
- SwiftyBug 1y agoWhat do you mean? I've been patiently waiting for the death of Xcode for a long time. Do you think it's near?
- sunnybeetroot 1y agoNo idea what the user meant, Xcode is releasing IDE AI this year
- didibus 1y agoIsn't that Claude Desktop?
- pizza 1y agoIf I'm not mistaken, it may be feasible to build one with the Claude Code sdk
- amclennon 1y agoAt this point, there are more AI coding agents announced every week than Javascript frameworks, but to be honest, I'm here for it.
- wilg 1y agoThink how many JavaScript frameworks can be vibe coded now!
- kylecordes 1y ago(This is an exaggeration:) Sure, you can have your LLM code with any JavaScript framework you want, as long as you don't mind it randomly dropping React code and React-isms in the middle of your app.
- throwup238 1y agoIt’s not a real JS framework without JSX support and Typescript types that generate page long errors.
- stavros 1y agoWhy would we create a framework to make coding easier when nobody writes code by hand any more?
- tayo42 1y agoMake one that's optimal for Ai somehow
- irrationalfab 1y agoLike convex.dev
- fullstackwife 1y agoThe concept of JS framework which allows you to rapidly develop an app has the same underlying vibe as coding agent
- asadm 1y agoseems pretty basic. I don't see anything unique here. I am happy with my Gemini CLI.
- deleted 1y ago[deleted]
- twapi 1y agoClaude Code finally has a serious competitor.
- asdfologist 1y agoNot sure. So far Reddit seems largely negative on Cursor CLI + GPT-5 https://www.reddit.com/r/cursor/comments/1mk8ks5/discussion_in_cursor_ai_is_chatgpt5_really_better/ https://www.reddit.com/r/cursor/comments/1mk8ks5/discussion_...
- wahnfrieden 1y agoThey are all using mid-tier gpt-5 variants (not the "-high" one that's hidden by default, not gpt-5-thinking) and don't realize it
- blitzar 1y agoPivot to CLI
- cpursley 1y agoThere are certainly some lessons here that go beyond coding agents (when it comes to shipping products).
- afro88 1y agoClaude Code but can use GPT-5 built in. Not a bad selling point
- huydotnet 1y agoand access to Cursor's background agent on the web as well, like ChatGPT Codex. So to this point, I'm regret cancelling my Cursor subscription already
- deleted 1y ago[deleted]
- jasonjmcghee 1y agoClaude Code can use GPT-5 via LiteLLM https://docs.anthropic.com/en/docs/claude-code/llm-gateway#litellm-configuration https://docs.anthropic.com/en/docs/claude-code/llm-gateway#l... https://docs.litellm.ai/docs/tutorials/claude_responses_api https://docs.litellm.ai/docs/tutorials/claude_responses_api
- jameskraus 1y agoI wonder if this will support directly interfacing with OpenAI's APIs vs. going through Cursor's APIs (and billing).
- joshmlewis 1y agoI would highly doubt it. Even when you BYOK inside of Cursor they still say it's routed through their servers.
- htrp 1y agoThey are all clones of gemini cli at this point?
- hollerith 1y agoSince Gemini CLI was released under the Apache license, a clone is easy to make.
- alessandrorubio 1y agoWouldn't be better to just use the Warp AI solution at this point?
- coconut08 1y agois there a way to get it to display more information? its stuck not doing anything and i cant tell if that's because it timed out or it is running a script or it is thinking or what is even happening. sometimes it just does things without even giving any feedback at all. i dont know what it is thinking or what it is trying to do and i cant really see the output of the terminal commands it is running. it just pauses every once in a while and asks to run a command. is there a way to make it more verbose?
- joshmlewis 1y agoI noticed it was taking awhile on the first large-ish task I gave it. I'm assuming it was just a bit overloaded at the moment.
- thehamkercat 1y agoI wonder when all of them will adopt AGENT.md and stop using gemini.md/claude.md/crush.md/summary.md/qwen.md https://agent.md https://agent.md [redirect -> https://ampcode.com/AGENT.md https://ampcode.com/AGENT.md] https://agent-rules.org https://agent-rules.org
- js2 1y agoThat's a more obvious (but less fun) name than what I've been using: ROBOTS.md with symlinks.
- thehamkercat 1y agohttps://ampcode.com/AGENT.md#migration https://ampcode.com/AGENT.md#migration they also suggest using symlinks for now
- sneak 1y agoWhen they stop getting desperate for differentiation by spamming their brand advertising in your repo against your will. Claude Code likes to add "attribution" in commit messages, which is just pure spam.
- striking 1y agoYou can turn it off: https://docs.anthropic.com/en/docs/claude-code/settings#available-settings https://docs.anthropic.com/en/docs/claude-code/settings#avai... `includeCoAuthoredBy: false`
- arcanemachiner 1y ago5 years from now: Subscribe to the Ultra plan for the ability to prevent the LLM from putting ads for Coca-Cola into your code comments!
- what 1y agoIt’s not spam, it lets people know it was written by an LLM and maybe you should look closer at it.
- tsvetkov 1y agoFascinating to see how agents are redefining what IDEs are. This was not really the case in the chat AI era. But as autonomy increases, the traditional IDE UI becomes less important form of interaction. I think those CLI tools have pretty good chance to create a new dev tools ecosystem. Creating a full featured language plugin (let alone a full IDE) for VSCode or Intellij is not for a faint-hearted, and cross IDE portability is limited. CLI tools + MCP can be a lot simpler, more composable and more portable.
- cheschire 1y agoIDE UI should shift to focusing on catching agentic problems early and obviously, and providing drop dead simple rollback strategies, parallel survival-of-the-fittest solution generation, etc
- __loam 1y agoMy fundamental worry with this technology is that you all are going to seriously fuck up the development experience for those of us who feel the technology at the core of this stuff is not sufficient. Development efforts will focus on this work flow at the expense of good software.
- cheschire 1y agoYep, that's why my priority would be in pushing the weaknesses to the forefront and enabling us with maximum control over those weaknesses. Old IDEs were built for the same purpose generally, but prioritized different weaknesses.
- blurbleblurble 1y agoHopefully this one is as good as Claude code. None of them that I've tried have come close yet.
- lvl155 1y agoHave you tried opencode?
- blurbleblurble 1y agoYeah, opencode and crush. I'm gonna give Claude code router a good try soon.
- vmt-man 1y agoIt's not ready yet :) p.s: looking forward for crush :3
- deleted 1y ago[deleted]
- cheema33 1y agoMy first thought was, "meh, I already have Claude Code". But then I remembered my primary frustration with Claude Code. I need other LLMs to be able to validate Claude Code's assumptions and work. I need to do this in an automated way. Before Cursor CLI, I did not have a way to programmatically ask Cursor do this. It was very manual, very painful. But, now I can create a Claude Code agent that is a "cursor-specialist" that uses cursor cli to do all of that in an automated way.
- good8675309 1y agoInteresting, are you saying you would setup a Stop Hook in Claude Code that calls the Cursor CLI to have it validate and prompt Claude Code with further instructions?
- thornewolf 1y agoThey realized that CLI is the much better interface for these kinds of tasks.
- sofal 1y agoI don't think this is why. I listened to a recent podcast with Michael Truell and he made clear they think the TUI is an inferior form factor. This feels more like a reactionary move than a visionary one.
- lherron 1y agoWith all the frontier labs competing in this space now, and them letting you use your consumer subscription through the CLI, I don’t understand how the Cursor products will survive. Why pay an extra $X/mo when I can get this functionality included in the $Y/mo I’m already paying OAI/Anthropic/GOOG?
- impulser_ 1y agoBecause you can always use the best model. Yesterday is was Claude Opus 4.1, today it's GPT-5. If you just were paying Anthropic you will be stuck with Claude.
- lherron 1y agoYeah but I still want a general purpose chatbot subscription also. So I’d have to buy Cursor + something else. I guess Cursor makes sense for people who only use LLMs for coding.
- vineyardmike 1y agoI agree that cursor has to take an aggressive and differentiated approach to succeed, but they have the benefit of pushing each lab into a commodity. I pay for Cursor and ChatGPT. I can imagine I’d pay for Gemini if I used an android. The chat bots (1) won’t keep the subscription competitive with APIs because the cost and usage models are different and (2) most chat bots today are more of a UX competition than model quality. And the only winners are ChatGPT and whatever integrated options the user has by default (Gemini, MSFT Copilot, etc).
- didibus 1y agoI'm actually starting to think the opposite. If Cursor can build the better UX for all the use-cases, mobile/desktop chatbot, assistant, in IDE coding agent, CLI coding agent, web-based container coding agent, etc. In theory, they can spend all their resourcing on this, so you could assume they could have those be more polished. If they win the market-share here, than the models are just commodity, Cursor lets you pick which ever is best at any given time. In a sense, "users" are going to get locked in on the tooling. They learn the commands, configuration, and so on of Cursor, it's a higher cost for them to re-learn a different UX. Uninstalling and re-installing another app, plugin, etc. is annoying.
- deleted 1y ago[deleted]
- daft_pink 1y agoIs the pricing any good?
- rtuin 1y agoIt seems they haven’t implemented MCP client features in Cursor CLI yet
- Rhubarrbb 1y agoDoes it work with local LLMs like through Ollama or llama.cpp?
- lvl155 1y agoSeriously Cursor. You can’t just write wrappers all your life. VSCode wrapper and now Gemini CLI wrapper. Can you make something from scratch for once? It’s as if they want an exit and they’re putting in minimum effort until that materializes.
- cyounkins 1y agoCould anyone compare this with Claude Code and aider?
- ribeyes 1y agoi'm betting on cursor being the long-term best toolset. 1. with tight integration between cli, background agent, ide, github apps (e.g. bugbot), cursor will accommodate the end-to-end developer experience. 2. as frontier models internalize task routing, there won't be much that feels special about claude code anymore. 3. we should always promote low switching costs between model providers (by supporting independent companies), keeping incentives toward improving the models not ui/data/network lock-in.
- ramoz 1y agoHappy to short that bet as I think agentic harnesses will be molded along the RL training of the actual model. Tony + the suit created together. Why Claude in Claude Code became existential for Cursor, why cursor moved quick to go agentic and build up with OpenAI in big header line way here. Unless they pair up with OpenAI or Meta.
- postalcoder 1y agoi’d respectfully bet against this. cursor and 3rd party tools will, unless they make their own superior foundation model, will always have to fight the higher marginal cost battle. This is particularly bad insofar that they offer fixed pricing subscriptions. That means they’re going to have to employ more context saving tricks which are at odds with better performance. If the cost economics result in Cursor holding, say, 20% fewer tokens in context versus model-provider coding agents, they will necessarily get worse performance, all things equal. Unless Cursor offers something dramatically different outside of the basic agentic coding stack it’s hard to see why the market will converge to cursor.
- blueblisters 1y ago> we should always promote low switching costs between model providers (by supporting independent companies), keeping incentives toward improving the models not ui/data/network lock-in You’re underestimating the dollars at play here. With cursor routing all your tokens, they will become a foundation model play sooner than you may think
- 1y ago
- ankit219 1y agoI think CLI is a good idea for now. Next abstraction seems to be Github PRs where someone (likely me) files an issue/feature, then I click a button, and the agent fixes the issue/feature. Github has talked about something similar, but surely it were a pain to figure out if it was GA and I had access to it given so many different variations they have called gh copilot. (PS: it exists, but not as smooth as I described: https://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/assign-copilot-to-an-issue https://docs.github.com/en/copilot/how-tos/use-copilot-agent... )
- imp0cat 1y agoYou can already have that with Jules. It's quite impressive. https://jules.google/ https://jules.google/
- kamatour 1y agoSo we’re all just waiting for AGENT.md to become the new README, huh? I’m ready when the agents are.
- byronic 1y agoI'm having trouble finding a use for this outside of virtualized unused environments. Why not instead give me a virtual machine that runs this in a confined storage space? I would _never_ give an LLM access to any disk I own or control if it had anything more than read permissions
- extr 1y agoWhy not? Have you ever actually used these things? The risk is incredibly low. I run claude code with zero permissions every day for hours. Never a problem.
- byronic 1y agoI have (not an exhaustive list) SSH keys and sensitive repositories hanging out on my filesystem. I don't trust _myself_ with that, let alone an LLM, unless I'm running ollama or similar local nonsense with no net connectivity. I'm a few degrees removed from an air gapped environment so obviously YMMV. Frankly I find the idea of an LLM writing files or being allowed to access databases or similar cases directly distasteful; I have to review the output anyway and I'll decide what goes to the relevant disk locations / gets run.
- Touche 1y agoThey don't have arbitrary access over your file system. They ask permission for doing most everything. Even reading files, they can't do that outside of the current working directory without permission.
- mark_undoio 1y agoI'm pretty comfortable with the agent scaffolding just restricting directory access but I can see places it might not be enough... If you were being really paranoid then I guess they could write a script in the local directory that then runs and accesses other parts of the filesystem. I've not seen any evidence an agent would just do that randomly (though I suppose they are nondeterministic). In principle maybe a malicious or unlucky prompt found somewhere in the permitted directory could trigger it?
- deleted 1y ago[deleted]
- daviding 1y agoCan you pick thinking models with this or is that implied? GPT-5 seems a bit slow so far (in terms of deciding and awareness). I’ve gone from waiting for a compiler, to waiting for assets to build to now waiting for an agent to decide what to do - progress I guess :)
- mrcwinn 1y agoI went from years of vscode to "Cursor is the future" to never using Cursor at all. Claude Code, even with new limits, is just too good. If I were to switch to gpt-5, why wouldn't I just use Codex? I'm struggling to understand the value of what they're presenting.
- teaearlgraycold 1y agoWhy is Claude Code better than Cursor?
- fastball 1y agoIn my experience, it is much better at tool-calling, which is huge when we're talking about agentic coding. It also seems to do a better job of keeping things cleaning and not going off on tangents for anything that isn't accomplished in one shot.
- benbayard 1y agoI have had the exact opposite experience. Claude Code in any meaningful codebase for me gets stuck in loops of doing the wrong thing. Then when that doesn't work it deletes files and makes its own that don't have the problem it's encountering. Cursor on the other hand, especially with GPT-5 today but typically with Sonnet 4.1, has been a workhorse at my company for months. I have never had Claude Code complete a meaningful ticket once. Even a small thing like fixing a small bug or updating the documentation on the site. Would love any tips on how to make Claude Code not a complete waste of electricity.
- AdieuToLogic 1y agoWhen I saw this, the question which immediately came to mind was: Who would turn loose arbitrary commands (content) generated by an LLM onto their filesystem? Then I saw the installation instructions, which are: curl https://cursor.com/install -fsS | bash And it made sense. Only those comfortable with installing software by downloading shell commands from an arbitrary remote web site and immediately executing them would use it. So what then is the risk of running arbitrary file system modifications generated from a program installed via arbitrary shell commands? None more than what was accepted in order to install it. Both are opaque, unreviewed, and susceptible to various well known attacks (such as a supply chain attack[0]). 0 - https://en.wikipedia.org/wiki/Supply_chain_attack https://en.wikipedia.org/wiki/Supply_chain_attack
- adhamsalama 1y agoI couldn't even install Cursor on Ubuntu . The issue still exists. Why didn't they ask the AI to fix it?
- teaearlgraycold 1y agoI’m mostly going to use this as a convenient way to run ffmpeg. Previously I’d need to open Cursor and ask for commands in the terminal there.
- ayerajath 1y agohas to be, given the hype surrounding claude code, a few of them are using claude code just cause it's terminal based.
- eagerpace 1y agoI really like the IDE. It makes enough mistakes that I need to be constantly testing and catching little errors. I’ll interrupt the flow often when it’s going down a path I don’t want it to. When using Codex, for example, it’s doing too much in the background that is harder to correct afterwards. Am I doing this wrong?
- treve 1y agoPeople have preferred either the terminal or chunky IDEs for decades. Neither are wrong.
- _betty_ 1y agoI like that I can use the ide while a cli is working, keep an eye on git changes and interrupt where needed. I find in ide they like opening documents/changing tabs too much and it means j can't do other things.
- snthpy 1y agoWhat differentiates the CLI tools at this point and makes you prefer one over the other? opencode and Crush can use any model, so apart from a nicer visual experience, are there any aspects that actually make you more productive in one vs the other?
- g42gregory 1y agoBoris Cherny was a (main?) creator of Claude Code at Anthropic. He moved over to Cursor about a month ago. I hope Cursor CLI is an Claude Code Agent port to the Cursor. Hopefully, the code quality would be comparable, modulo Cursor's abridged model access. We will know shortly.
- mliker 1y agoHe actually returned to Anthropic shortly after joining Cursor
- g42gregory 1y agoInteresting. I did not know that.
- sylware 1y agoHow do you make work those terminal AI prompts? Are those for the anonymous accesses of the AI prompts? If those are for the authenticated AI prompts, how to create a "non-anonymous" account with a noscript/basic (x)html browsers (not to mention I am self-hosted without paying the DNS mafia, namely my emails are with ip literals, ofc I prefer IPv6).
- ukblewis 1y agoWhat is the benefit of this over Codex CLI?
- mrcwinn 1y agoIt is definitely to Cursor's benefit.
- doppelgunner 1y agoIt is good, but I still prefer thir code editor, which is perfect for building applications such as my new startup at https://vipli.st/ https://vipli.st/
- k4rli 1y agoDaily self-promotion isn't really for HN, is it? AI generated startup + AI generated blog (https://www.nxgntools.com/ https://www.nxgntools.com/) doesn't have much to do with HN
- welder 1y agoDisappointed it didn't launch with Hooks. [0] I know this is a Beta launch, but I thought they would learn from Claude and copy. Hooks enable plugins, like https://wakatime.com/claude-code https://wakatime.com/claude-code [0] https://docs.anthropic.com/en/docs/claude-code/hooks https://docs.anthropic.com/en/docs/claude-code/hooks
- submeta 1y agoExcited to see competition. The UX is not as polished as Claude Code though. For instance, missing a command to fire shell commands (in CC done via `! {commmand}`. And has less commands overall. But will catch up I hope.
- markbissell 1y agoDespite it saying that it supports MCP tools, I haven't found that the CLI is actually an MCP client
- messixukejia 1y ago[dead]
- raicem 1y agoThey are realling moving away fromt he VSCode-forked editor as their business model. Makes sense.