Cody: the AI assistant that actually knows your codebase

Поділитися
Вставка
  • Опубліковано 15 тра 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
    ----

КОМЕНТАРІ • 64

  • @rampandey191
    @rampandey191 5 місяців тому +1

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

  • @codypchristian
    @codypchristian 5 місяців тому +18

    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  5 місяців тому +5

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

    • @codypchristian
      @codypchristian 5 місяців тому +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.

  • @princejohnsantillan
    @princejohnsantillan 5 місяців тому

    This is awesome! Thanks Aaron.

  • @hans-joergwahmkow2621
    @hans-joergwahmkow2621 4 місяці тому +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.

  • @ahmad-murery
    @ahmad-murery 5 місяців тому +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 28 днів тому

    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 5 місяців тому

    Will definitely give it a try

  • @Radiosabines
    @Radiosabines 17 днів тому

    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 !

  • @ElrondMcBong86
    @ElrondMcBong86 4 місяці тому +3

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

  • @MauriceKindermann
    @MauriceKindermann 5 місяців тому +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 5 місяців тому

    its really super helpfull✅✅

  • @Alice8000
    @Alice8000 2 місяці тому

    I love your interviews with those kids "recess therapy"

  • @ivanbarta2821
    @ivanbarta2821 5 місяців тому +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  5 місяців тому +1

      Gotta try em all!

    • @patricknelson
      @patricknelson 4 місяці тому

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

  • @ryanb509
    @ryanb509 5 місяців тому +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  5 місяців тому

      Yup same!

    • @damirrekic4271
      @damirrekic4271 5 місяців тому

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

  • @user-dh6gw9wj9h
    @user-dh6gw9wj9h 2 місяці тому

    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?

  • @tomasma4896
    @tomasma4896 5 місяців тому

    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  5 місяців тому +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!

  • @wobsoriano
    @wobsoriano 5 місяців тому +5

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

    • @ahmad-murery
      @ahmad-murery 5 місяців тому +1

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

    • @ado
      @ado 5 місяців тому +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  5 місяців тому +1

      Looks like @ado beat me to it 😂

    • @wobsoriano
      @wobsoriano 5 місяців тому +1

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

    • @wobsoriano
      @wobsoriano 5 місяців тому

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

  • @ylynfatt
    @ylynfatt 5 місяців тому

    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  5 місяців тому

      I haven't! Is it any good?

    • @ylynfatt
      @ylynfatt 5 місяців тому

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

  • @damiencuillery1734
    @damiencuillery1734 2 місяці тому

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

  • @OtterSwims
    @OtterSwims 4 місяці тому +1

    Have you tried codeium? It's also pretty good

  • @alkadoHs
    @alkadoHs 5 місяців тому +2

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

  • @martg0
    @martg0 3 місяці тому

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

  • @cringeberry3027
    @cringeberry3027 4 місяці тому

    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.

  • @muhdkamilmohdbaki7054
    @muhdkamilmohdbaki7054 5 місяців тому +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.

  • @campionpesate4647
    @campionpesate4647 4 місяці тому

    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

  • @patricknelson
    @patricknelson 4 місяці тому

    PhpStorm bros ❤

  • @shinobi_coder88
    @shinobi_coder88 4 місяці тому

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

    • @aarondfrancis
      @aarondfrancis  4 місяці тому

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

  • @spectr__
    @spectr__ 5 місяців тому +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  5 місяців тому

      Did you enable the enhanced context thingy?

  • @ezp721
    @ezp721 5 місяців тому +1

    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. 5 місяців тому +2

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

    • @aarondfrancis
      @aarondfrancis  5 місяців тому +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 5 місяців тому

      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 Місяць тому

      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 ...

  • @jesseleite
    @jesseleite 5 місяців тому

    TEEEEEEEJ

  • @LearnAvecAmeen
    @LearnAvecAmeen 5 місяців тому

    Great video. All the best insh'Allah

  • @NoahNobody
    @NoahNobody 19 днів тому

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

  • @roz1
    @roz1 4 місяці тому +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

  • @marklong2060
    @marklong2060 4 місяці тому +1

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

    • @aarondfrancis
      @aarondfrancis  4 місяці тому +1

      Dang, sorry to hear that 😞

    • @cp_pdn
      @cp_pdn 4 місяці тому +2

      Could u explain yr problem ?

  • @CatDevz
    @CatDevz 5 місяців тому

    No I'm Cody

  • @joelkuijper
    @joelkuijper 4 місяці тому

    Have you ever heard of mac and cheese?

  • @CapitalCommander
    @CapitalCommander 2 місяці тому

    this ai is stupid