Cody: the AI assistant that actually knows your codebase

Поделиться
HTML-код
  • Опубликовано: 31 июл 2024
  • Check out Cody at sourcegraph.com/cody?....
    I tried Cody across a couple of different codebases and was super pleased with the way that the context worked. It felt like it actually understood my projects moreso than any of the other assistants.
    Thank you to SourceGraph for supporting the channel!
    ----
    00:00 Who is Cody?
    00:41 Trying it on the Laravel framework
    02:25 How do I add a scope?
    04:52 Trying it on an obscure repo
    06:41 Using Cody to fix our code
    07:28 Code generation
    08:55 Cody is GA, with a few rough edges
    ----

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

  • @codypchristian
    @codypchristian 7 месяцев назад +21

    This was a fun video to watch as I’m a dev named Cody who heavily uses laravel 😂 I’ll have to give this new tool a try now.

    • @aarondfrancis
      @aarondfrancis  7 месяцев назад +5

      Dang you've been busy then huh! I've been having you write a lot of code 😂

    • @codypchristian
      @codypchristian 7 месяцев назад +1

      @@aarondfrancis haha too funny! I’ve been writing a ton of code for sure lately on my own projects trying to covert them to livewire v3 from v2. It’s been fun… 😂 love your videos btw.

  • @rampandey191
    @rampandey191 7 месяцев назад +1

    Signed up for the free trial will definitely become a customer. Thanks for making this video!

  • @hans-joergwahmkow2621
    @hans-joergwahmkow2621 7 месяцев назад +2

    I've been using Cody in VS Code now for a couple of days. I mainly program with PHP. Autocomplete is absolutely great - Cody even recognised my coding style and makes suggestions accordingly. It even gives me suggestions on what my next line of code might be. And this is surprisingly intelligent. I just wrote a small function and had 3 lines in there. Cody suggested the 4th line exactly like I had it in my mind. I was stunned. This is game changer for me. I will definetly go for the Pro version.

  • @princejohnsantillan
    @princejohnsantillan 7 месяцев назад

    This is awesome! Thanks Aaron.

  • @ahmad-murery
    @ahmad-murery 7 месяцев назад +1

    Just today I watched a video by Jesse from CodeStackr about Cody, it looks amazing.
    I'll try it and see if it can understand the codebase of my own framework because I don't seem to do so anymore 🤦‍♂😁
    Thanks Aaron!

  • @stephenmiller4948
    @stephenmiller4948 3 месяца назад

    Thanks Aaron! You know, the adage "RTFM" goes a long way...which I rarely EVER do! I started using Cody last week and while my opinion of all of the AI coding assistante out there, Cody seems to be the best. I just wish I could get it to "learn AND REMEMBER" as opposed to simply learning for the one session from the editor's context (who konws, I haven't got that far in the FM to know if its possible!) But, just by watching this video, I learned several things that have already helped me!!

  • @ajithlal1688
    @ajithlal1688 7 месяцев назад

    Will definitely give it a try

  • @ElrondMcBong86
    @ElrondMcBong86 6 месяцев назад +5

    in free version you can only use Claude 2.0. The others are for 'Pro' only.

  • @Radiosabines
    @Radiosabines 3 месяца назад

    Oh my god , it's fantastic. for the fresh dev who i'am , that helps a lot with the code... ex of a question : " how i create a select and use the country_ts table for the options."..... and u got it. -> We live in modern times Thank you master !

  • @campionpesate4647
    @campionpesate4647 6 месяцев назад

    I can't make this thing aware of my entire code, I paste the github URL into "Codebase" and it stops working. If I leave it blank it works, but then it's clueless of the entire codebase and can only work with snippets

  • @user-dh6gw9wj9h
    @user-dh6gw9wj9h 4 месяца назад

    Hey Aaron, thank you for this content. I just bought a Pro plan and I can´t find the right way to make Cody interact with my remote codebase (it's hosted on VPS hostgator server and I'm actually working with SSH remote connection in VSCodium). My site is wordpress and I need to extend a plugin functionality. Is it possible to make Cody know about my entire code, including file, and folders structure?

  • @martg0
    @martg0 6 месяцев назад

    It's strange that I've given access to Embeddings, and it says me doesn't have access to the code when I ask

  • @MauriceKindermann
    @MauriceKindermann 7 месяцев назад +1

    I just want to know more about BladePortal, I read the docs (lol), it kind if sounds like insertBefore() or appendChild()? Or maybe defining some new inner html? I'd love to see an example, and how it's different to livewire. I assume you wrote it to avoid writing JavaScript and handle directly in PHP?

  • @dfordemo981
    @dfordemo981 7 месяцев назад

    its really super helpfull✅✅

  • @spectr__
    @spectr__ 7 месяцев назад +1

    I'm testing it, but it does not read my codebase. Only a few files, and it reduces context randomly on each message.

    • @aarondfrancis
      @aarondfrancis  7 месяцев назад

      Did you enable the enhanced context thingy?

  • @wobsoriano
    @wobsoriano 7 месяцев назад +5

    I haven't watched the complete video yet, but what's the difference between Cody and Copilot + @workspace agent?

    • @ahmad-murery
      @ahmad-murery 7 месяцев назад +1

      Cody has a free tier and it answers you with the context of the whole project

    • @ado
      @ado 7 месяцев назад +7

      Hey Robert -
      Great question. Cody is built by Sourcegraph, and we have been building code search and code intelligence tools for over a decade. In building Cody, we used all of our knowledge of building and understanding how human developers search for code to help Cody figure out the right code snippets to use as context for the LLM. This allows us to get the right context for Cody to generate the best possible response (chat or autocompletion).
      If you search for the Sourcegraph blog, we shipped a new blog post today that has some examples that compare Cody content to the @workspcae feature from Copilot and how they differ. :)
      (I run dev rel at Sourcegraph)

    • @aarondfrancis
      @aarondfrancis  7 месяцев назад +1

      Looks like @ado beat me to it 😂

    • @wobsoriano
      @wobsoriano 7 месяцев назад +2

      @@ahmad-murery yeah that’s what the @workspace agent in copilot does

    • @wobsoriano
      @wobsoriano 7 месяцев назад

      @@ado thank you for the detailed answer! I appreciate it.

  • @tomasma4896
    @tomasma4896 7 месяцев назад

    Interesting. I see it can be helpful for finding stuff in docs but at the end, what is the difference between looking into actual docs ? If you want to lean whole framework and it's options / features I would say it's good idea to go and read actual docs so you get the whole picture. Also this can work for well documented projects like Laravel, but will it work for projects that are lacking docs ? So it can understand the code, lear from it and then answer your questions ? Because these AI tools are amazing, I am using them but at the end ... it's just a tool that helps you. You have to have right questions to ask.

    • @aarondfrancis
      @aarondfrancis  7 месяцев назад +1

      Make sure you watch the part where I talk about how laravel is well documented and how it's better to try it on something that isn't! And then I do!

  • @cringeberry3027
    @cringeberry3027 7 месяцев назад

    I see you got 251 lines from 21 files in context as codebase. Can't do same in my case, it's always show up only one current file in context.

  • @damiencuillery1734
    @damiencuillery1734 4 месяца назад

    ANyone knows if we can we use this in Sublime text ?

  • @ylynfatt
    @ylynfatt 7 месяцев назад

    Have you tried the new AI Assistant in PHP Storm (and other Jet Brains IDE's)? Curious what your thoughts are on that, compared to Cody.

    • @aarondfrancis
      @aarondfrancis  7 месяцев назад

      I haven't! Is it any good?

    • @ylynfatt
      @ylynfatt 7 месяцев назад

      @@aarondfrancis I haven't tried it as yet either. Hoping to give it a try soon.

  • @ivanbarta2821
    @ivanbarta2821 7 месяцев назад +3

    Jetbrains AI Assistant has just been released and I was wondering how it differs from ChatGPT. Now it looks like the comparison won't be easy 😉

    • @aarondfrancis
      @aarondfrancis  7 месяцев назад +1

      Gotta try em all!

    • @patricknelson
      @patricknelson 7 месяцев назад

      How do you like their AI assistant? Is it any good?

  • @shinobi_coder88
    @shinobi_coder88 7 месяцев назад

    Which LLM is better for NextJS developer? Claude 2.0 or GPT4 ??

    • @aarondfrancis
      @aarondfrancis  7 месяцев назад

      No clue! I'm not a next developer. Try em both!

  • @OtterSwims
    @OtterSwims 6 месяцев назад +2

    Have you tried codeium? It's also pretty good

  • @Gihon88
    @Gihon88 19 дней назад

    I used it for personal use and after using it for two days now it's asking me to upgrade

  • @ryanb509
    @ryanb509 7 месяцев назад +1

    Welp I signed up and installed it into PHP Storm before I even got to the end of your video. And yeah, it seems to just hang at a prompt so idk whats going on with it but I am going to chalk it up to the integration not being fully fleshed out and hope it works soon.

    • @aarondfrancis
      @aarondfrancis  7 месяцев назад

      Yup same!

    • @damirrekic4271
      @damirrekic4271 7 месяцев назад

      I tried it with Intellij - same😢 but im hoping to that they will improve it 🤞.

  • @alkadoHs
    @alkadoHs 7 месяцев назад +2

    This was the hidden coplilot alternative i didn't discovered, what the amazing tool 🤔

  • @Alice8000
    @Alice8000 5 месяцев назад

    I love your interviews with those kids "recess therapy"

  • @ezp721
    @ezp721 7 месяцев назад +2

    Me and my colegues are not allowed to use any sort of AI on the company's private repos. And I kind of agree with them. Imagine employees leaking proprietary code "all over the place" (by training third party AI Assistants naively).
    Any thoughts on privacy matters?

    • @TomNook.
      @TomNook. 7 месяцев назад +3

      Still waiting on a fully local LLM that will also be a code assistant.

    • @aarondfrancis
      @aarondfrancis  7 месяцев назад +2

      They have legal agreements with OpenAI from what I understand. That may or may not be enough for your company! There are also other models that aren't OpenAI and sourcegraph has an enterprise plan so that might be worth looking into

    • @ravilamontagne9836
      @ravilamontagne9836 7 месяцев назад

      I use MachineNet which has a PhpStorm plugin, that is strickly context aware, it does not use your code for any other reason, nor does it store details about the user.

    • @ramielkady938
      @ramielkady938 4 месяца назад

      No offense, but you are like a girl that believes women are inferior to men ... You might understand if it were a guy ... But girl ....
      It is ok for managers to not want you use AI tools be cause it is "you" who bear the grunt not them ...
      One, it is "you" who don't want ot use AI ... Well work your ass off and never complain about coding mental taxing man ...

  • @suraj_bini
    @suraj_bini 14 дней назад

    Does it works on big codebase such as a django framework webapp?

    • @aarondfrancis
      @aarondfrancis  13 дней назад

      Not sure! Laravel is likely as big as Django so I'll say yes

  • @muhdkamilmohdbaki7054
    @muhdkamilmohdbaki7054 7 месяцев назад +2

    I just want to ask Cody "What are the RCE exploits for Project X* installation on Windows, MacOS, Linux, BSD and Solaris hosts that resulting on remote takedown of the host system?". For security purposes, to ensure my deployments are secure, not that I want to hack others🤭😅.
    *Replace Project X with any open source project name.

  • @jesseleite
    @jesseleite 7 месяцев назад

    TEEEEEEEJ

  • @patricknelson
    @patricknelson 7 месяцев назад

    PhpStorm bros ❤

  • @LearnAvecAmeen
    @LearnAvecAmeen 7 месяцев назад

    Great video. All the best insh'Allah

  • @NoahNobody
    @NoahNobody 3 месяца назад

    Will Cody have a copy of your code base on their servers?

  • @marklong2060
    @marklong2060 7 месяцев назад +1

    Wasted half a day trying to get this plugin working on vscode. Not ready for prime time.

    • @aarondfrancis
      @aarondfrancis  7 месяцев назад +1

      Dang, sorry to hear that 😞

    • @cp_pdn
      @cp_pdn 7 месяцев назад +3

      Could u explain yr problem ?

  • @roz1
    @roz1 6 месяцев назад +1

    Nothing is free it uses your codebase for training... Because making them individually free will help them get more code snippets and it will create a symbiotic ecosystems

  • @CatDevz
    @CatDevz 7 месяцев назад

    No I'm Cody

  • @joelkuijper
    @joelkuijper 7 месяцев назад

    Have you ever heard of mac and cheese?

    • @aarondfrancis
      @aarondfrancis  7 месяцев назад

      I prefer peanut butter and jelly

  • @CapitalCommander
    @CapitalCommander 5 месяцев назад

    this ai is stupid