I would like to sincerely suggest anyone who uses this wonderful tool to install it using `pipx` instead of just globally installing it with `pip`. This way, it is installed safely within its own virtual environment while still being available anywhere. `pipx` can also upgrade it without either messing with or being hampered by your other (user) globally installed packages, which is a big plus for such an important tool.
oh snap! you made the plugin for nvim? very cool! i actually havent used it like that yet just in terminal...do you need aider installed already on system or can i uninstall it and delete the venv and then just reinstall as nvim plugin?
@@JoshuaVial yea i see i was literally just looking at it and the pull request for working with lazy.nvim...its a great effort tho and hopefully you can get it running good appreciate your work bro i may try adding/helping with issues ive been trying to get my feet wet working with open source projects its just.....ALOT lol
yeah, a lot of people would like to use this with a local LLM. I've tried a bunch and they aren't good enough (for me) yet, but I reckon we'll get there eventually.
that's kind of you to say - I'm pretty new to making videos for youtube and have only been at it for a few months. I'm also only partially focused on subscribers and reach, a lot of the videos I make knowing they won't get much attention just because I know a handful of my students are interested.
Great video! I was wondering how you could use Aider if you already had an existing codebase. The code changes or new code should adhere to our coding standards and architecture. How could you influence Aider for that?
I would suggest adding a file which demonstrates the things you care about to the context window. I find that nudges the LLM in the right direction pretty effectively. Another approach would be to formally document them in a standards.md and then just add that to the context. Working well with existing code bases is where I think aider really stands out.
I've only played a little with gpt-engineer but my take is that it is a bit more of a 'build this project for me from scratch' and less of a 'help you develop faster' which is what Aider does. If you know nothing (or very little) about coding then using GPT-engineer might be a better bet as it will ask you clarifying questions and then spit out a whole bunch of code that *might* work. Aider on the other hand is built around the concept of the user adding and removing the files from the context and prompting it each step of the way, so it's more about supercharging people who can code than giving a non-coder a coding AI agent.
@LearnCodeWithJV yesterday I tried gpt-engineer I had a complex and lengthy prompt but it failed miserably and couldn't generate the project although it did explain in the logs how it would do it but still...after 5 attempts I decided to do it with aider and wow 👌 wow aider nailed it created the git repo and all the files for the project...aider is the one
holy crap the friggin hoops I had to jump through just to get universal-ctags installed in a container on a windows machine.... someone needs to take a baseball bat to the Microsoft offices and explain to them WHY a package manager is pretty much a MUST HAVE in 2023.
@@LearnCodeWithJV Win 10 is up this year I think, support drops in the middle of the year, I won't be going to 11, I think my windows days are now done! Microsoft and I will be parting company I think to be honest. Hard though cos obviously here comes a learning curve of new OS. So since I'm familier with Ubuntu I think thats where I will slink off to!
If Aider can successfully generate a Base63 Decoder in JS, I'll eat my computer chair!. .. even ChatGPT couldn't get it right... 40 minutes of back and forth. Perhaps I'm just prompting incorrectly... But I've created many similar tools before... so I'm not sure why it's struggling with Base63.
I asked paul (project creator) and he mentioned being inspired by aiders from outdoor rockclimbing "The name "aider" has a lot of relevant interpretations, but the one I like best is from rock climbing. Climbers use equipment called aiders to get through the hardest sections of a big wall climb, often helping to move quickly past the least aesthetic parts of the endeavor." Given the french penchant for climbing, perhaps I need to brush up on my pronunciation :)
I don't agree with the title, for me production ready would also require privacy. Any serious company won't allow programmers to send their proprietary code to OpenAI's servers. This assistant is more like open source/private projects "production ready".
That's a fair point, there are a lot of companies that won't allow folks to use OpenAI apis. I expect that will be solved reasonably soon though as companies stand up enterprise friendly AIs or the open models get good enough with fine tuning. The main thing I was surprised with Aider was that the quality of the code + the dev workflow was good enough for production use.
I would like to sincerely suggest anyone who uses this wonderful tool to install it using `pipx` instead of just globally installing it with `pip`. This way, it is installed safely within its own virtual environment while still being available anywhere. `pipx` can also upgrade it without either messing with or being hampered by your other (user) globally installed packages, which is a big plus for such an important tool.
Great sugggestion
thankyou
Great video Josh. would love to see an update video on Aider! just tried it this week and it's quite mindblowing.
yeah, lots has changed since the original. It's on my list.
can't wait!@@LearnCodeWithJV
this is how programming should have been from the beginning
oh snap! you made the plugin for nvim? very cool! i actually havent used it like that yet just in terminal...do you need aider installed already on system or can i uninstall it and delete the venv and then just reinstall as nvim plugin?
Yeah, but it’s been a bit neglected and needs some time put into it.
@@JoshuaVial yea i see i was literally just looking at it and the pull request for working with lazy.nvim...its a great effort tho and hopefully you can get it running good appreciate your work bro i may try adding/helping with issues ive been trying to get my feet wet working with open source projects its just.....ALOT lol
it would be cool to have this compatible with local LLMs or use it with the web version of gpt
yeah, a lot of people would like to use this with a local LLM. I've tried a bunch and they aren't good enough (for me) yet, but I reckon we'll get there eventually.
What about now with DeepSeek-Coder-V2 vs gpt 3.5? great video, liked and subscribed.
also Josh, subscribed and I can't work out why you haven't got tens of thousands of subscribers.
that's kind of you to say - I'm pretty new to making videos for youtube and have only been at it for a few months. I'm also only partially focused on subscribers and reach, a lot of the videos I make knowing they won't get much attention just because I know a handful of my students are interested.
Really quite stoked about the neovim plugin. Thanks, insta-sub.
Nice - feel free to shout out if you have ideas for improvements.
Great video! I was wondering how you could use Aider if you already had an existing codebase. The code changes or new code should adhere to our coding standards and architecture. How could you influence Aider for that?
I would suggest adding a file which demonstrates the things you care about to the context window. I find that nudges the LLM in the right direction pretty effectively.
Another approach would be to formally document them in a standards.md and then just add that to the context.
Working well with existing code bases is where I think aider really stands out.
name also sounds kinda like Ada (as in Lovelace). it'd be cool if they meant that
yeah, I agree.
Actually "Aider" means "to help" in french.
Fantastic video thanks
cheers
How does it compare with gpt-engineer?
I've only played a little with gpt-engineer but my take is that it is a bit more of a 'build this project for me from scratch' and less of a 'help you develop faster' which is what Aider does.
If you know nothing (or very little) about coding then using GPT-engineer might be a better bet as it will ask you clarifying questions and then spit out a whole bunch of code that *might* work. Aider on the other hand is built around the concept of the user adding and removing the files from the context and prompting it each step of the way, so it's more about supercharging people who can code than giving a non-coder a coding AI agent.
@LearnCodeWithJV yesterday I tried gpt-engineer I had a complex and lengthy prompt but it failed miserably and couldn't generate the project although it did explain in the logs how it would do it but still...after 5 attempts I decided to do it with aider and wow 👌 wow aider nailed it created the git repo and all the files for the project...aider is the one
Please make the code easier to read, it looks kind of blurred
very cool plugin, will have to check it out
It is indeed, I'm still loving it and using it every day
Nice video! Thanks for putting it together :)
Glad you liked it!
All of this is amazing.
Isn't it quiet similiar to Copilot X Chat ?
There are a few differences, I’ll be going through them in an upcoming comparison.
Great Content JV! :)
Thanks!
holy crap the friggin hoops I had to jump through just to get universal-ctags installed in a container on a windows machine.... someone needs to take a baseball bat to the Microsoft offices and explain to them WHY a package manager is pretty much a MUST HAVE in 2023.
oof, I can imagine the pain. The only way I can even think about developing on windows is with wsl
@@LearnCodeWithJV Win 10 is up this year I think, support drops in the middle of the year, I won't be going to 11, I think my windows days are now done! Microsoft and I will be parting company I think to be honest. Hard though cos obviously here comes a learning curve of new OS. So since I'm familier with Ubuntu I think thats where I will slink off to!
If Aider can successfully generate a Base63 Decoder in JS, I'll eat my computer chair!. .. even ChatGPT couldn't get it right... 40 minutes of back and forth. Perhaps I'm just prompting incorrectly... But I've created many similar tools before... so I'm not sure why it's struggling with Base63.
Fascinating, the community is pretty supportive of you jump into the discord and share more details.
@@LearnCodeWithJV ok cool... I'll do that
would be better if you compared with others like Codewhisperer, Copilot, etc
I agree. I'm planning to do a comparison with copilot and the new stack overflow AI, I'm not sure how many folks are using code whisperer though.
aider is french for "to help" and pronounced "eh-day"
I asked paul (project creator) and he mentioned being inspired by aiders from outdoor rockclimbing
"The name "aider" has a lot of relevant interpretations, but the one I like best is from rock climbing. Climbers use equipment called aiders to get through the hardest sections of a big wall climb, often helping to move quickly past the least aesthetic parts of the endeavor."
Given the french penchant for climbing, perhaps I need to brush up on my pronunciation :)
I do believe Gauthier is likely French too. "Here's a little help with coding. Aider."
I don't agree with the title, for me production ready would also require privacy. Any serious company won't allow programmers to send their proprietary code to OpenAI's servers. This assistant is more like open source/private projects "production ready".
That's a fair point, there are a lot of companies that won't allow folks to use OpenAI apis. I expect that will be solved reasonably soon though as companies stand up enterprise friendly AIs or the open models get good enough with fine tuning. The main thing I was surprised with Aider was that the quality of the code + the dev workflow was good enough for production use.