News for hackers. Stuff that matters.
Re:Using LLMs and Cursor to finish side projects by jsnell on Saturday January 04, 2025 @02:24PM (#42596991)
I guess this is as good a place to ask this as any. Is there any good tooling for integrating LLMs into classic Unix developer workflows? So not an IDE plugin, not a new IDE, not copy-pasting code into chatbots, but something that composes with the command line and arbitrary editors.

Basically, what I'd like is to never copy-paste code to/from the LLM but for it to happen automatically when I ask the LLM a change. And I'd like an interaction model where all the changes are applied directly to the workspace and then use whatever tools I like to review them before committing. (But I guess anything that achieves the same effect would be fine as well, e.g. the changes being automatically git-committed in which case the outcome of a failed code review is a revert, or for the changes being provided as a unified diff.)

Re:Using LLMs and Cursor to finish side projects by zabi_rauf on Saturday January 04, 2025 @02:33PM (#42597062)
I think Aider (https://aider.chat/) is what you are looking for.
Re:Using LLMs and Cursor to finish side projects by jsnell on Saturday January 04, 2025 @08:34PM (#42599014)
Thanks, that's definitely directionally correct. (And if it turns out to not be quite what I'm looking for, it's probably enough to find alternatives.)
Re:Using LLMs and Cursor to finish side projects by vitorbaptistaa on Saturday January 04, 2025 @04:32PM (#42597846)
I think you're looking for simonw's llm python tool [1]. It allows you to do things like `cat script.py | llm -c 'describe what this python script does'`.

You're able to run LLM APIs, local models, multimodals, etc. It is great!

[1] https://llm.datasette.io/en/stable/