Self-Correcting AI Coding Agent + Prompting Deep Dive

2024 ж. 19 Мам.
12 767 Рет қаралды

Self Correcting AI Coding Agent + Prompting Deep Dive
👊 Become a member and get access to GitHub:
/ allaboutai
🤖 AI Engineer Course:
scrimba.com/?ref=allabtai
📧 Join the newsletter:
www.allabtai.com/newsletter/
🌐 My website:
www.allabtai.com
In this video we are gonna dive deep into a self correcting AI coding agent i create. We look deep into how i prompted this system to work pretty good. Using the Clause 3 Opus API + ChatGPT 3.5 Turbo and some custom python code.
00:00 Self-correcting AI Coding Agent Intro
00:18 Flowchart
01:22 Prompting Deep Dive
09:43 AI Coding Agent Testing
17:06 Conclusion

Пікірлер
  • Thank you for putting the time into figuring this out. It gives me a good idea on how to approach something like this! Keep on giving the great content!

    @AlvinEvangelista@AlvinEvangelista2 ай бұрын
  • Keep it up Kris! Thank you for all you do. Fingers crossed for this contest!

    @CypherDND@CypherDND2 ай бұрын
  • I really enjoy all your creative and innovative AI implementations. Thanks for always sharing the code in your member section.

    @softvision3000@softvision30002 ай бұрын
  • Insane! Can't believe I'm alive to see AI that can self correct code. Kris is the guy to learn from. I've been a member for a while now and definitely feel that it's worth it!

    @JasonBevel@JasonBevel2 ай бұрын
  • Kiris, your videos are always so informative! This one was especially helpful, thank you.

    @shahzadasghar6475@shahzadasghar64752 ай бұрын
  • Thanks for making this approachable. Really appreciate it!

    @JoulestheOrc@JoulestheOrc2 ай бұрын
  • Another amazing video!Thank you for putting this together and helping us understand all the processes involved

    @lorenzocastro2048@lorenzocastro20482 ай бұрын
  • I wanted to ask you if it's possible to create an entire system with the description of a project and the creation of various files for that project just by using a context window of one million tokens. And after creating this complete system with various functionalities, would it be possible to do something like what you did in this video retroactively, improving the system by fixing bugs and adding new features until it becomes exactly as it was written in the initial project? This would be revolutionary and wonderful, and I'd like to know if you could be the first on KZhead to do it

    @devfromthefuture506@devfromthefuture5062 ай бұрын
    • Dude, you have access to different llms. You ask them how to do it. Tell it to break it down into steps. Then break down those steps down because it will likely give you steps that to high level. Anything you don't understand, you ask it to explain it to you at 7th grade level. It's more important for you to learn how to use the tools. Tell it what you want to do and ask it if it's possible. Then tell it to give you an example of what it explained. Also you going to have to go into more detail than just a description of a project. You need to go down to user story level for the system to plan. Then even deeper to write the code.

      @jeffsteyn7174@jeffsteyn71742 ай бұрын
  • Let's goo! Amazing content as always! Keep it up Kris

    @ghosting-cm7zf@ghosting-cm7zf2 ай бұрын
  • These step by step & high level logic overviews are really helpful.

    @OutstandingLife@OutstandingLife2 ай бұрын
  • You're making great content, so much fun trying out there projects!

    @djdilluzional1@djdilluzional12 ай бұрын
  • Keep up the great content Kris! Learning a lot from you:)

    @ColinPantin1@ColinPantin12 ай бұрын
  • I’ve been learning alot thanks man!

    @_def@_def2 ай бұрын
  • Great video! Love the deep dive. Trying it out now!

    @daveverheyen3777@daveverheyen37772 ай бұрын
  • You're terrific Kriss, keep going with your amazing content, thank you

    @MugenMangekiou@MugenMangekiou2 ай бұрын
  • Great video Kris. I always learn a lot with your experiments. Thanks!

    @jmonge777@jmonge7772 ай бұрын
  • great video! have been looking for this!

    @user-ne8kj2hx3j@user-ne8kj2hx3j2 ай бұрын
  • awesome content. soaking it in! Thanks for the work

    @EricWatyekele@EricWatyekele2 ай бұрын
  • Thank you Kris. Amazing new video as always.

    @iokinpardoitxaso8836@iokinpardoitxaso88362 ай бұрын
  • Great workflow. Thanks for sharing

    @djjeffgold@djjeffgold2 ай бұрын
  • Thank you Kris, Good job as always!

    @mr_grucha@mr_grucha2 ай бұрын
  • Your videos always make my day. Keep shining!

    @MyCodingDiarie@MyCodingDiarie2 ай бұрын
  • I;ll definitely try this, it looks quite useful, thanks Kris !

    @acampton1@acampton12 ай бұрын
  • Thank you so much for this!! 😊

    @konceptochannel@konceptochannel2 ай бұрын
  • absolutely blown away, great job!

    @MarcusNeufeldt@MarcusNeufeldt2 ай бұрын
  • You are one of the very few content creators who balance the sensationalism around AI progress with dev based content. Thanks for your efforts

    @techmadeazy@techmadeazy2 ай бұрын
  • You've got a natural talent for connecting with your audience. Impressive!

    @Buy.YT.Views.479@Buy.YT.Views.4792 ай бұрын
    • thnx mate =)

      @AllAboutAI@AllAboutAI2 ай бұрын
  • Glad i found your YT channel, already learned a bunch, thanks :)

    @OdinsTechAndGaming@OdinsTechAndGaming2 ай бұрын
    • :D

      @AllAboutAI@AllAboutAI2 ай бұрын
  • I'm addicted to your channel. Can't wait for the next upload!

    @MyCodingDiarie@MyCodingDiarie2 ай бұрын
  • You rock, Kris! Thanks for your content and experiments.

    2 ай бұрын
    • thnx :)

      @AllAboutAI@AllAboutAI2 ай бұрын
  • Great video, I know the snake game has been one of the tests we all try at some stage, but I have never seen it work first time and then iteratively improve. Awesome!

    @3-deez@3-deezАй бұрын
  • Thank you Kris! loving the channel more Tutorials and walkthroughs please

    @AEnoob@AEnoob2 ай бұрын
  • Great video! Looking forward to implementing agents in my workflow.

    @ArtTurnerMusic@ArtTurnerMusic2 ай бұрын
  • Thank you for this video!

    @py_coder_fpv@py_coder_fpv2 ай бұрын
  • Always enjoy the content, and continually, learning

    @ututanimations3322@ututanimations33222 ай бұрын
    • thnx :)

      @AllAboutAI@AllAboutAI2 ай бұрын
  • Very interesting. Thank you for this great content!

    @jeremylau11@jeremylau11Ай бұрын
  • Interesting approach, gotta try this. Thanks!!

    @verence333@verence3332 ай бұрын
  • Super cool video on mixing Clause 3 Opus API, ChatGPT 3.5 Turbo, and Python to create a self-correcting AI coding buddy. The walkthrough is insightful and shows some neat tricks.

    @darrylrogue7729@darrylrogue77292 ай бұрын
  • Thanks Kris! You mentioned vision model to deal with screenshots. And the results were not so good. I recommend to try some OCR API. I tested one of them and it worked great even with photos of monitors.

    @trashchenkov@trashchenkov2 ай бұрын
  • Great video Kris!

    @mitchellmyers9983@mitchellmyers99832 ай бұрын
  • Keep up the good work!

    @Kisuke686@Kisuke6862 ай бұрын
  • Super video, will try this out 👌🏽👌🏽

    @Rensbril@Rensbril2 ай бұрын
  • This is awesome! Thanks Kris!

    @nerding_io@nerding_io2 ай бұрын
  • Great video, great shirt 😅. Thanks, mate!

    @christianweyer74@christianweyer742 ай бұрын
  • Wow again Kris! You mentioned in passing about the video or possibly screen shots overread. I think what you did with Elden Ring combined with this style of agents could really open some amazing use cases. Guided education for new software or games of course. But, possibly a broader automation/RPA method for almost any current software available. Examples: Quickbooks to do your taxes, video editing automation, spreadsheet visualizations. Thx!

    @gramnegrod@gramnegrod2 ай бұрын
  • Love this channel

    @r3v3r3nd_2@r3v3r3nd_22 ай бұрын
  • Great video.very informative

    @BlastingNeurons@BlastingNeurons2 ай бұрын
  • Really cool, thank you!

    @Kasyx@Kasyx2 ай бұрын
  • It looks interesting - thank you for sharing:)

    @micbab-vg2mu@micbab-vg2mu2 ай бұрын
  • This was going to be my next project but using local LLM's. Anthropic Opus is really good though, so I may have to use it for code writing and self correction. Nice work!

    @lakesidewiseman@lakesidewiseman2 ай бұрын
    • thnx :)

      @AllAboutAI@AllAboutAI2 ай бұрын
  • I can't believe you made this. future of AI coding Agent! wow!

    @tomtyiu@tomtyiu2 ай бұрын
  • Useful, once again

    @avgplayer@avgplayer2 ай бұрын
  • Great video. Thank you!

    @lucianoc9443@lucianoc94432 ай бұрын
  • This is very interesting and should be fun to explore

    @EinarPetersen@EinarPetersen2 ай бұрын
  • thanks for sharing this , Keep it up!

    @STRIKE01@STRIKE012 ай бұрын
  • As always great Video 😁

    @schakuun1995@schakuun19952 ай бұрын
  • Thanks for quality content

    @JacquesvanWyk@JacquesvanWyk28 күн бұрын
  • This is pretty awesome!

    @silentphil77@silentphil772 ай бұрын
    • thnx :)

      @AllAboutAI@AllAboutAI2 ай бұрын
  • great content!

    @LeonardoSapucaia@LeonardoSapucaia2 ай бұрын
  • Great video!

    @SvalikDMT@SvalikDMT2 ай бұрын
  • Great content.

    @sircaju@sircaju2 ай бұрын
  • Thank you!

    @ShakkiChess@ShakkiChess2 ай бұрын
  • thanks for another useful video

    @JuanOlCr@JuanOlCr2 ай бұрын
  • Great project and cool to see how it works. What's the initial setup for this?

    @apisdn@apisdn2 ай бұрын
  • Nice content thx

    @moritz473@moritz4732 ай бұрын
  • Thanks!

    @EricWatyekele@EricWatyekele2 ай бұрын
  • I really like the self correct objective - Is this going up on the repo?

    @CHNLTV@CHNLTV2 ай бұрын
  • Another great video.

    @carstenli@carstenli2 ай бұрын
  • You can make this more efficient by getting the llm to output the code in json. Then deserialise it into a variable. That way we dont need to use a llm to clean the code. { "Code":"" }

    @jeffsteyn7174@jeffsteyn71742 ай бұрын
    • will def try that again, struggled with this before

      @AllAboutAI@AllAboutAI2 ай бұрын
  • Again I have the feeling to dive deeper in coding

    @klangmasseur@klangmasseur2 ай бұрын
  • I am curious to know which improvements this code would suggest whilst looking at itself (to have it analyze the code from which it is made) Perhaps it would build a friendly GUI and such .. who knows really. Very useful code solving real issues elegantly! - The compliment! 🖖

    @electrolab2624@electrolab26242 ай бұрын
    • thnx a lot, i am gonne try that for sure:P

      @AllAboutAI@AllAboutAI2 ай бұрын
  • Fun to watch. How much did this cost you?

    @kritikusi-666@kritikusi-6662 ай бұрын
  • Recent member here. Hello!

    @nicolashuve3558@nicolashuve3558Ай бұрын
    • hey :)

      @AllAboutAI@AllAboutAIАй бұрын
  • It wasn't bad at all, good video bro.

    @countofst.germain6417@countofst.germain64172 ай бұрын
  • Kris, thank you for sharing the video. I think the verge website is too easy to crawl (verge is also used in the open Interpreter video). Can you try a more difficult website crawl next time? Thank you

    @kate-pt2ny@kate-pt2ny2 ай бұрын
    • sure! thnx :D

      @AllAboutAI@AllAboutAI2 ай бұрын
  • I have a similar setup for running SQL

    @dletendr@dletendr2 ай бұрын
  • Let's go! I'm a different name on Discord, btw.

    @user-vy7ch1ps1z@user-vy7ch1ps1z2 ай бұрын
  • Super fun!

    @chrismcquinn8976@chrismcquinn89762 ай бұрын
  • Super! i am ai. Gracias Kris!

    @laecuaciondigital@laecuaciondigital2 ай бұрын
  • Very nice! :)

    @user-qb3kt7ov3z@user-qb3kt7ov3z2 ай бұрын
  • Pretty darn cool

    @hikaroto2791@hikaroto27912 ай бұрын
  • Can this produce a full GUI or web interface rather than a simple CLI ?

    @MurrayDancey@MurrayDancey2 ай бұрын
  • Insane! I am working on a low latency sts and I would love to get some insight on it.

    @prarthanagarwal3961@prarthanagarwal39612 ай бұрын
    • cool :) yeah i think a lot of ppl or working on latecy, i guess if you gonna have a consumer facing product it needs to be low latency, ppl dont have any patience and are used to instant responses

      @AllAboutAI@AllAboutAIАй бұрын
    • I suppose you are right. As an individual, it is harder to reach a wide audience at the same time but you still pull it off! I think you would be happy to know that I have solved the bugs myself and now adding some spice to the sts assistant :) One thing I wanted to ask was - how do i get my assistant to stop listening as soon as I stop talking ? RIght now I press 'ctrl+c' to interrupt and stop recording.

      @prarthanagarwal3961@prarthanagarwal3961Ай бұрын
  • Thank you for the Video, But how to become member? i see not paid subscription.

    @newjx@newjx2 ай бұрын
  • Awesome! No LangChain, no Autogen, no CrewAI, just regular-people code!

    @UTubeGuyJK@UTubeGuyJK2 ай бұрын
  • I’d love the file download for this, tryna implement somthing for personal use this would be great starting point

    @alexanderrosulek159@alexanderrosulek1592 ай бұрын
  • I don't see any code links, so I won't watch it.

    @ScottzPlaylists@ScottzPlaylists2 ай бұрын
  • Been needing another option for running and fixing code. Looking forward to the github release of this one.

    @NightSpyderTech@NightSpyderTech2 ай бұрын
    • Autogen

      @Yomi4D@Yomi4D2 ай бұрын
  • Groq is being a smartass and still adding explanations. Anyone got the proper prompts?

    @watchdog163@watchdog1632 ай бұрын
  • Try with Groq and see how many tries it gets, maybe quantity is better than quality.

    @watchdog163@watchdog1632 ай бұрын
  • more please

    @dewijones92@dewijones922 ай бұрын
  • This is really cool , although , it is pretty much AUTOGEn but basic, isnt it? Do you see any advantage using this scope for self correcting AI instead of using something like autogen or crew ai?

    @ismaelperegrina8201@ismaelperegrina82012 ай бұрын
  • Greetings from Germany.

    @onurt.2621@onurt.26212 ай бұрын
  • Nice

    @OculusGame@OculusGame2 ай бұрын
  • Should try it with a local model

    @ShaneZarechian@ShaneZarechian2 ай бұрын
  • I'm a recent channel member. How do I get access to github?

    @grcunning@grcunning2 ай бұрын
    • send me a e-mail :)

      @AllAboutAI@AllAboutAI2 ай бұрын
  • how to become a member?

    @InsightCrypto@InsightCrypto2 ай бұрын
  • Great

    @agedbytes82@agedbytes822 ай бұрын
  • I want something like this for my coding assistant

    @vaibhavmishra1100@vaibhavmishra11002 ай бұрын
  • Wow, cool,😊

    @SuccessDynamics@SuccessDynamics2 ай бұрын
KZhead