Step-by-Step Development Environment Setup for AI-Assisted Coding

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024

Комментарии • 45

  • @nyacumo
    @nyacumo Месяц назад +2

    Great work! I've never come across such a clear and well-structured explanation before. It's extremely useful!

  • @chrisc9725
    @chrisc9725 Месяц назад +8

    Could you do it for Mac as well please? Thanks

    • @CodingtheFuture-jg1he
      @CodingtheFuture-jg1he  Месяц назад +5

      Hi @chrisc9725!
      I'll certainly try to do that soon. I know there are a lot of us on Macs. I have a Mac in addition to my Windows machine, but there are some conflicts preventing me from using it for this tutorial at the moment. I know this is important, so will see what I can do.
      I appreciate your patience.

    • @gunterstunter
      @gunterstunter Месяц назад +1

      @@CodingtheFuture-jg1hethis would be awesome! I also use a Mac and would like to follow your tutorials :)

    • @continuouslearner
      @continuouslearner 24 дня назад

      mac yes pls

    • @hamzaIVX
      @hamzaIVX 24 дня назад

      @@CodingtheFuture-jg1he love your work man! I’m a Mac user also so that will be awesome love the content!

  • @sunkwolf
    @sunkwolf 26 дней назад

    I was looking for this video, but you still dont show how to use it for noobs, really thx, you get a new subscription 😅

    • @CodingtheFuture-jg1he
      @CodingtheFuture-jg1he  24 дня назад

      Thank you so much @sunkwolf! Would you be willing to share a bit more of your background - in software dev and AI? I'm always looking for feedback on my audience. Now, I can't meet every person where they are. BUT, I can certainly help direct you to other resources to help you spin up a bit before returning here.

  • @darklen14
    @darklen14 20 дней назад +1

    Side note, if you are following along on a Windows machine and you get an error about recognizing the 'Source' term when installing aider, just leave out Source term.

  • @rapier8886
    @rapier8886 Месяц назад

    Thank you! This is just what I needed.

  • @continuouslearner
    @continuouslearner 24 дня назад +1

    i think camtasia allows you to zoom into (for example) the windows command prompt. Can you pls try doing that, for example the text at 7:18 is too small to read on laptops having small displays. So it would be helpful if you can (post recording, in the video editing phase) zoom in on whatever you the main topic of that current narration is.

    • @CodingtheFuture-jg1he
      @CodingtheFuture-jg1he  24 дня назад +1

      I really appreciate your feedback @continuouslearner! You're correct. Camtasia does let me zoom in and out. I originally had added zoom in/out for about half the IDE portion of the video. But, while reviewing the edited footage, I determined that I was moving between sections and screens so much that it distracted more than it helped. So, I decided for this particular video, where I was doing so much, to remove it. Apologies if that didn't work out this time for your viewing setup. I understand that it can be difficult to see what's going on sometimes. I try to remain mindful of that. But in this case, it was definitely more cons than pros. Plus, just adding all the zooming in/out for this type of video adds at least 2 hours to the editing process. Hope you understand and I do take this seriously.

    • @continuouslearner
      @continuouslearner 24 дня назад

      @@CodingtheFuture-jg1he ok understood. if its adding 2h to the process then skip it and just make more videos or use time to research further

  • @JunkMail-mn1ro
    @JunkMail-mn1ro Месяц назад +1

    Tim, thx for the nice presentation & encouragement. I came to these videos recently & appreciate your thoughtful and thorough coaching.
    I have 3 doctoral degrees, but never made time to learn coding (aside from a brief stent with BASIC back in the day). Is it realistic to use the Aider + tools to build Agentic systems without such knowledge; or, is that just a hopeless delusion? [Id really like to build my own medical transcription/coding system for my private practice.]
    Thx, on any account!

    • @timislaw5710
      @timislaw5710 Месяц назад +2

      Yes just read the docs and follow their tutorials. A lot of those tools will give you templates to go off of and from there if you need help you have their chatbots to assist

    • @CodingtheFuture-jg1he
      @CodingtheFuture-jg1he  Месяц назад +1

      I really appreciate your feedback @JunkMail-mn1ro! Funny you should ask about building agents using AI coding assistants. I have a tutorial topic on that in my backlog. Not sure whether you watched my video on using AI assistants to build AI apps (I built a basic RAG app there). In that video, I pointed aider at some online documentation for the LangChain framework that talked about developing a RAG app. I instructed aider to use the knowledge on that page to generate a RAG app. Worked great! If you 1) know and can describe to aider what you're trying to build and achieve and 2) locate a content source that can provide aider with QUALITY info on how to build it, it should work reasonably well. You can add more than one external content source to an aider session - it's just that aider's /web command only scrapes one URL at a time, so if you have more sources, you'll need to run that command more than once. Also, the sources need to be fairly complete and of high quality (e.g. not a lot of contradictory guidance, etc.).
      Now, let me make another suggestion: if you're not necessarily wanting to learn coding, but you want to build such AI-driven apps, I think you should look at something like Flowise (flowiseai.com/). This guy does an AMAZING job of teaching folks (even non-technical) to use this tool to build some sophisticated apps with NO coding: www.youtube.com/@leonvanzyl. Highly recommend you start there, unless you're really focused on learning to code.
      I'd love to hear about your journey with all this!

    • @JunkMail-mn1ro
      @JunkMail-mn1ro Месяц назад

      @@CodingtheFuture-jg1he TYVM for the consider reply. It reinvigorates me to give this another try. I’ve been playing around with this idea for about a year. I’ll fish for your previous video.
      Cheers & thx a lot!
      Doc

  • @miiihaaas
    @miiihaaas Месяц назад +1

    Hello again! 😊 I was wondering if you could elaborate on why you chose to install Cody AI. I have Codeium installed on my VSCode and was curious if it’s sufficient or if you would recommend Cody AI as a better alternative. Thanks!

    • @CodingtheFuture-jg1he
      @CodingtheFuture-jg1he  Месяц назад

      Hi @miiihaaas! I just happen to be using Cody AI as my VS Code coding assistant extension right now. I briefly experimented with Codeium a few months ago and it seems like a great coding assistant as well. You probably can't go wrong with choosing either. IMHO, as long as the assistant does a good job in a couple of key areas, it's probably a decent choice:
      1. Lets you choose among several different LLMs, including the latest ones, such as Claude 3.5 Sonnet.
      2. Provides the LLM with sufficient context of your codebase (versus only giving the LLM a narrow view or only the code you have open in tabs, which is rarely sufficient)
      From there, the best one for you depends on how the features map to your preferences. For example, some assistants will generate code for a new source file in a chat window, but force you to create the file by hand and the copy/paste its generated code into the new file. Others will generate the code AND ask if you'd like it to automatically create the new file and populate it with the code. Personally, this feature is a big deal to me. But, may not be for you.
      Anyway, if you're used to Codeium, I don't know of a compelling reason to switch. Probably best to get pretty good with one and get it integrated into your workflow and later experiment with others.

  • @sivakumarm3569
    @sivakumarm3569 Месяц назад

    Nice tutorial. Mac based tutorial would be great 😊. Suggestion - Please dont use mouse highlighter as its interfering the text and unable to see what you are typing sometimes. Also instead of doing screen recording the complete screen you can record a specific area so that it will be easy to read what you are typing from mobile as well.

    • @CodingtheFuture-jg1he
      @CodingtheFuture-jg1he  Месяц назад

      I really appreciate your feedback @sivakumarm3569! I agree. I'm adding all your suggestions to my "improvement" list. Expect to see these fixes in future videos. I appreciate you watching them, even with these annoyances.

  • @TreeLuvBurdpu
    @TreeLuvBurdpu Месяц назад +1

    `winget install python` works too, but you have to disable the Windows alias for python that points at the Store.

    • @CodingtheFuture-jg1he
      @CodingtheFuture-jg1he  Месяц назад +2

      Thank you for that tip @TreeLuvBurdpu! Lots of ways to skin a cat, eh 😆

  • @blueGround404
    @blueGround404 Месяц назад

    What are you spending on Claude for these projects?
    I understand it will vary, just a monthly estimate.
    Excellent content and presentation BTW

    • @CodingtheFuture-jg1he
      @CodingtheFuture-jg1he  Месяц назад

      Thank you for that @jhansen404b! My next video is going to be focused on explaining costs. I think I'm going to use one of the other aider/Claude tutorials I made, run back through the app creation and provide the actual metrics - token counts, Claude charges, etc. And then talk about how we might extrapolate to estimate costs, based on how we're using Claude. FWIW, if you look at the tutorial I did on using aider to create a RAG app, I believe (didn't track it), I spent between 75 cents and a dollar. That's a guess, but I didn't notice my Claude API bill going up by much after. Probably spent between $1-2 on the tutorial where I built a REST API and a UI. But, we'll see for sure when I rinse and repeat. Hoping to get that video out this weekend.

  • @DavidSeguraIA
    @DavidSeguraIA Месяц назад +1

    Great by the way how i can open on another time AIDER once instaled with GitBash?

    • @CodingtheFuture-jg1he
      @CodingtheFuture-jg1he  Месяц назад

      Hi @DavidSeguraIA!
      So, if you bring up a different git bash terminal or start a new one at some later time, do this:
      1) Navigate back to the directory in which you created the aider Python environment - the one where you ran the "python -m venv aider-venv" command. (If you didn't use "aider-venv" for the venv name, use whatever name you used)
      2) Type "source aider-venv2/Scripts/activate" (again, substitute whatever venv name you chose)
      3) type "aider --version" to test it out. If it prints the version, you're ready to use aider.
      Lemme know if that doesn't help.

  • @1techdave
    @1techdave Месяц назад

    Just curious, what does aider do beyond just what claude or gpt does? Other than run direct in vsc, which granted, not having to copy and paste is worth its weight in gold. 😊 great tutorial btw.

    • @CodingtheFuture-jg1he
      @CodingtheFuture-jg1he  Месяц назад

      Thank you so much @1techdave! aider does a ton of things that you don't get when directly using an LLM to generate/update code. Probably the most important thing it does is manage the context of your codebase, providing the info for your existing code to the LLM without you worrying about things like "do I have the info the LLM will need in my chat history?", as you do when doing this sort of thing in, say ChatGPT. Here's an overview of how aider handles this: aider.chat/2023/10/22/repomap.html.
      There are numerous advantages to using aider - or most any AI coding assistant really - over a pure chatbot like ChatGPT of even Anthropic's chat interfaces for coding support. But, the codebase context management is, IMHO, THE key.

  • @bambanx
    @bambanx 29 дней назад

    Have you tried cursor ai code editor? Please make a video of it , some People use it aing with aider . Thanks you for your well explained videos.

    • @CodingtheFuture-jg1he
      @CodingtheFuture-jg1he  29 дней назад

      Thank you so much @bambanx! I haven't used Cursor yet, but it's at the top of my list. I hear so many good things about it. I'm using a couple of other coding assistants to augment aider, but I'm finding those still have some limitations. I'll add Cursor to the list of topics. I appreciate your feedback 😀

  • @devGFontanez
    @devGFontanez 20 дней назад +1

    Wonder how much estimated will cost a month for the API consume on LLM? Just for regular day to day coding assist and using these API.

    • @CodingtheFuture-jg1he
      @CodingtheFuture-jg1he  18 дней назад +2

      Hi @devGFontanez! I published another video on this channel in which I shared what it cost me to develop the apps I created in the first couple of tutorials on the channel. Please check that one out if you haven't. Might shed a little light on this question.

    • @treblig_00
      @treblig_00 18 дней назад

      @@CodingtheFuture-jg1hethanks!!

    • @devGFontanez
      @devGFontanez 15 дней назад

      @@CodingtheFuture-jg1he thanks!

  • @T-rotten
    @T-rotten Месяц назад

    I know it can be a lot but if you ever set up a discord please let me/us know.

    • @CodingtheFuture-jg1he
      @CodingtheFuture-jg1he  Месяц назад

      Thanks for that @T-rotten! It's on my long list of "to dos". But now that you've asked for it... I've just moved it up the priority list 😆 I really appreciate your support and ideas.

  • @continuouslearner
    @continuouslearner 24 дня назад +1

    does one need BOTH claude ai and openai key for aider to work?

    • @CodingtheFuture-jg1he
      @CodingtheFuture-jg1he  24 дня назад +1

      Hi @continuouslearner! aider lets you choose between many different LLMs. But, my go to right now is Claude 3.5 Sonnet, because no other LLM I've tested comes close to its performance for code generation.
      If you want to follow this tutorial as I demonstrated it, then yes, you'll have to get an Anthropic API key and follow the aider LLM setup instructions at aider.chat/docs/llms/anthropic.html to set aider up to use it.

    • @continuouslearner
      @continuouslearner 24 дня назад

      @@CodingtheFuture-jg1he how to setup claude 35 as primary and gpt4o as backup? How does backup work? also be aware claude35 doesnt support images so adding images doesnt work. For example if you wanted to generate code based on a webpage layout in the form of a screenshot

  • @khanra17
    @khanra17 Месяц назад +1

    Please keep distance from the mic. Muffling lower frequencies are so annoying.

    • @CodingtheFuture-jg1he
      @CodingtheFuture-jg1he  Месяц назад

      I really appreciate your feedback @khanra17! I'm a work in progress on the video production front and I appreciate all the feedback I can get. I try to improve at least one aspect per video and will definitely pay more attention to this in the future. Hope you were able to get something out of the video despite the audio issues.