Open-Source AI Agent Can Build FULL STACK Apps (FREE “Devin” Alternative)
GPTPilot (now Pythagora) has been upgraded since my last video and is now much more capable. It can now build entire full-stack applications. Not only that, but you can now add features to existing projects!
Install VS Code Plugin: marketplace.visualstudio.com/...
Download GPTPilot now: github.com/Pythagora-io/gpt-p...
Join My Newsletter for Regular AI Updates 👇🏼
www.matthewberman.com
Need AI Consulting? ✅
forwardfuture.ai/
My Links 🔗
👉🏻 Subscribe: / @matthew_berman
👉🏻 Twitter: / matthewberman
👉🏻 Discord: / discord
👉🏻 Patreon: / matthewberman
Rent a GPU (MassedCompute) 🚀
bit.ly/matthew-berman-youtube
USE CODE "MatthewBerman" for 50% discount
Media/Sponsorship Inquiries 📈
bit.ly/44TC45V
Links:
GPTPilot - github.com/Pythagora-io/gpt-p...
Previous Video - • GPT Pilot ✈️ Build Ful...
There was a lot of hype yesterday about Devin being the first AI software engineer, but Pythagora (GPTPilot) has been doing it for a while and can build highly-complex full stack apps. Let me know what you think about Pythagora/GPTPilot!
A M A Z I N G Can also build GU interfaces out of browser?
I am starting to get really upset at these KZheadr's who downplay their sponsorships and don't properly disclose. The creator's comment downplays Devin BECAUSE of the sponsor of this video. Way to compromise your credibility, buddy. Don't know if I'm going to be hanging out around here too much longer. I can't wait for this type of behavior to be punished in the future. And to the creator: don't you EVER dare saying "my credibility and objectivity is solid" when you downplay Devin WHILE taking a sponsorship. It's just complete utter garbage and nonsense.
@@JamesMoweryThe important questions here are, does it really do what Devin does? and is true is actually released and working for EVERYBODY to test it? and is true that is OPEN SOURCE and we can use it for free? If the answer for those questions is "yes" honestly i don't care a shit about sponsorship and your comment is absurd. I'm sorry for the guys working on Devin but that's the problem when you work with closed software, anytime can come anyone and make something better and do it open source so your business loss sense. Now that AI can assist or even CREATE code this is going to become more and more often every day. Open source software is going to take over because is simply smarter. The sooner that software industry understand it and collaborate instead of trying to fight it, the better for them.
"You work hand in hand with this AI" is a trojan horse statement.
@@JamesMowery give me a link that defines the architecture of 'devin' - not just say it's an 'ai engineer'. I think they've bs'd it. No where that I can find, explicitly states that one, it is ai itself, and two it isn't just bootstrapping this tool or langchain to tap a slew of api endpoints and just packages them all into a single UI...it's a great university project, but that team (against the best in the space) cracking the 'ai engineer' problem is exceedingly doubtful - extremely extremely doubtful. It's nothing new.
Me finishing my CS degree watching AI starting to replace my future job
Or you could use it to make money 🤯
Don’t worry, for it to replace you people have to know how to ask the right questions. A non-tech person will likely not have that ability to vet the output.
@@wij8044 yet ;)
I graduated in CS at top of my class (4.0 GPA) like 5 years ago, it's definitely going to change things. It's going to be better to position yourself as an intermediary rather than doing the grunt work of coding. People are still going to have to work to figure out integrating things securely together since websites tend to use tons of different platforms that solve existing or new problems better. A commercial website may change multiple vendors every year because some vendors have short falls or become worse overtime.
@@wij8044 Exactly. I'd love to see someone with no programming experience try to debug COBOL for a bank.
Well-done, @Matthew! The look of satisfaction on your face when you got the “ding” work was priceless. 🙂
Wow this is nuts, Im a full time software engineer and Im blown away at how good this is, as long as give it good instructions, you get out what you put in lol, but yeah its just built a realtime multiplayer Economy Simulator using React , Node and Postages in under 12 hours, cost $50 using OpenAI, Im going to try it next with Olama as a comparison, but yeah its a good start
If it could link via API to a trello board, now that, would be interesting right?
@@mickelodiansurname9578 yeah that would be nice, also would be good if it could actually write tests for the code it creates, BDD would also be a bonus
I've been trying it with ollama using mixtral, llama2 and codellama models and haven't been able to get it to produce any code. Each time it got stuck at the test-writing stage or even while planning the architecture. I think that without rewriting the prompts to fit specific models it will not be possible. But please tell me if you have any success!
What happened to the emojis? Very interesting video.
@@kyudechama this is a prompting issue mostly, see for example 'Fabric' as a prompting model for applications. Its hard to believe the prompts in fabric would fail since they are pretty much cross model.
just installed it. What was really really impressive is that there was no error when installing dependencies. THATS THE FIRST TIME with all these open source AI frameworks etc. that this was the case. AMAZING!!! Will start testing it !!!
excited to dive back into GPT Pilot! It created the full front end of an application I was working on. Reallt excited to see the improvements! Not to mention 2.0 this soon! Thats shipping!!!
Are you using this pytagora app regularly Brent? so my worry is it sort of tunnel visions to node js... and even warns about its skills in react... and might be a bit flaky with some frameworks????
Looks really good. I like how it asks several important questions. Thanks for reviewing this product.
I just came across your channel for the first time and, after watching this and a few more of your vids, you will always be my first stop! The way you explain things is just so user friendly! You are a master teacher, on top of also being a master developer. Well done!
thank you Matthew!! Extremely valuable. Keep on keeping- looking for more like this:)
Thanks for posting. I have given this an extensive test today for a number of hours. Seems to me you get to a level of complexity with your software project where the AI is breaking things that have already been fixed. I "think" this is because it is effectively rewriting just about everything every time it makes a change, which means it rewrites it with it's current context in mind and loses key things its already fixed in the "distant" past. I've not used the pythagora VSC plug in yet, I've just been working on the command line but I can't imagine that's actually any different. I'm going to continue playing with it, but I get the feeling "the closer it gets, the further away it gets" might be what happens.
This is what i was waiting for, basically use the models with api keys while these features can be open source! amazing!
Ollama is also offering this ;)
@@himenatika interesting, its that an enviroment like this that you can run in local or?
quote "now you can actually add features to the appplications". awesome.
Awesome video... Thank you so much. I'm curious to see what your videos will look like in 10 years 😄
Holy Moly! Thanks for this video
Really love the content from your channel! Well done!
Wonderful tutorial and great tool. Thank you for sharing
Thanks Matthew. Returning to the AGI issue. We may need to step back from our humancentric viewpoint. I suggest we look at AI as an evolving technology/early lifeform insted. AI has had the ability to reproduce for some time. Now, AI is gaining the ability to self-evolve. We have given AI the ability to build, to validate, to debug, and to reitterate. We have provided AI with access to the sum of human knowledge. All AI needs to do is to take one step up the ladder. Anyone working in the field could provide AI with that skill. Most likely it will happen first at a major AI research center. Evetually it will happen in the wild without any new human input. All you need is today's open source AIs and multiAI platforms. Let them run free with instuctions to improve their functions. Give them random agency and they will find the solution faster than a room of monkeys typing randomly at multiple terminals, faster than an average human set to the task, faster than an average programmer set to the task, and probably faster than the average AI specialist set to the task. We are watching evolution at work. Interestingly, we outlawed this research in the area of human genetics and strongly control it elsewhere.
Lol this is exactly why software engineers won't be replaced, 1 you gotta know what you're doing anyway, it's just another level of abstraction. 2 To fix a bug can be so frustrating if the AI doesn't get it right and the problem is complicated. 3 you have no clue if the website is secure if you don't read the code. 4 if the design suks it would take ages to change the CSS since you gotta read all the html tags and change them accordingly. For simple quick project it might work
Great video!! Love the content man
Really appreciate material like this for windows. That keep me continue to follow your videos
You're such a good man, I appreciate you.
Thanks for sharing, great tutorial
it's great to see how far U have progressed, along with A.I. good luck Matthew.
Does a.i exist?😂
This is very interesting. This is truly the definition of "Agile" work as a client want changes in the last minute, but with the difference that now they wont be met by a deep "sigh" by the dev.
I would love to see how GPT-Pilot runs with a local LLM. Especially using Ollama.
FOSS all the way!
what is foss @@dimii27
Would be wonderful to see an overview with a few of the most popular models that are of the 7b variety
It's turrible:(
is there an api key for any LLM,i tried only with the endpoint but rhe servers keeps blocking the requests someone help me out
Geeze... My project is at last done!! 😊😂 Thank you!! ❤️
This is just insane, this is the beginning
I have been doing mine completely different but each hour i work on my app its roughly 4-days of work. I write my prompt using transcription then inckude any existing code i need it to work on. So far claude and deep seek have been the best ai to generate the code in its entirety.
Great content!!
This will be awesome once we get a top level local LLM for coding. We’re not quite there yet and as you said in the video the best results are going to be with GPT 4 Turbo currently. Whilst I totally accept your point that it’s way cheaper than a persons own development time not all of us are pro developers who charge for our time. I’m just finishing an engineering calculation app for my own personal use at work that has taken about 4 weeks to develop with GPT 4 “manually”. Something like pilot or maybe Devin could make that so much easier but the cost could be prohibitive for me using an GPT4 API. It’s only a matter of time before we have these coding agents running locally with quality coding LLMs.
Codebooga 34B model running locally works well.
@@levvayner4509 do you know it codes SwiftUI?
nice video, Matt! You should tell them to use Wasp instead of Node, Mongo, and Express. it will result in a lot less boilerplate and users will save a ton of money on OpenAI API costs :) 🐝
As long as the reaction to a software engineering problem is "1st thing I need to do is write some code" it's still a tool for a software engineer and not a replacement.
@meinbherpieg4723 oh yeah, we're not looking at the AI equivalent of an SR-71 or a stealth bomber here - I doubt we're much past the Wright Flyer yet
you will be assimilated soon
Anyone who has used ai assist development to any extent, especially complex builds, knows how far away we really are. It's getting there but I have my doubts that a person without any programming experience could make anything substantial. There's just too much background knowledge required.
@@robinvegas4367 The issue is most people are only using LLM's and not the next generation multi modal models that have been recently produced like alpha geometry. The advanced technology already exists but isn't widely available yet. Symbolic models in conjunction with LLM's have shown incredible results. I honestly think we're only a few years away, if not already there in secret labs like DARPA not yet publicly known, but even if we're still a few years away a part of me honestly thinks government might prolong its release if they think it will upset society too much.
This could be 100X more powerful if you could have this co-pilot read and act (like a CRON job) off of JIRA Tickets, then have a Production manager Ai scheduling and assigning tickets. This would allow you to theoretically automate a real time application operating on live data, and/or a major multiyear production like an immersive media project with tons of asset development and testing dependencies.
Im trying to do that with Zammad open source ticking system, however keep in mind thatthe interpretation of a user shouldn't be absolute concrete. Like some dude from finance or quality has no right to change or make things for ops for example,second problem is that even it explain everything quite human u will still need to know what u talking about
After you give it the initial project description, it actually breaks it down into what would be JIRA cards. There is still too much back and forth with a human dev for it to be a fully automated solution. You're always feeding it the console output or debug output from the server. But maybe that could be part of it if it looked at the JIRA card comments.
That will probably happen in about a year or so.
congrats, excellent video
Your channel content quality is really ramping up! Hope you get zounds of subscribers, your content is so worth the watch! 🍻👍🏻👍🏻 (also now that I've watched this whole video this tech is blowing my mind lol)
Impressive !!!! thanks for the sharing
i love the little drum when you do something we should repeat, genius
Thats just awesomesauce.
There is an actually open source Devin alternative and it called Devika 🙌🏻 I hope this helps someone out there looking at these comments
Thank you very much!)
Your videos improved that much since the drama about the titles. It’s really cool to join the vids! What a creative piece of software. Open source part, even the commercial part. 🎉🎉👏👏👏
Haha I still plan on using SHOCKING titles every so often
@@matthew_berman , the whole industry will be shocked! 🤣
Fascinating and scary at the same time
Hey, I really appreciate your videos. One thing I found is, since you are on a Mac and I am on Windows, I must type "python.exe" before "main.py". Also, it would really help me if you could explain what the commands do. Because of the differences in OS, I may not recognize your command but I might know the correct command for my OS. Thanks and cheers!
tags do not require closing... unless you've specified a schema that requires it, in that case can use shortcut to close
It would be cool to show how can it be done with other LLMs, like Claude 3, etc.
It seems to understand the browser environment and basic html as well as a "full stack" dev (aka: former java dev that learned a bit of javascript).
this is amazing
very cool, thx for sharing
Super explanation
Thank you for the great video. I have a question please if you think that it will also be able to build up Excel based apps using vba and macros to perform certain tasks for a large project? , module coding, user forms creation and as well linking with DB?
17:00 Interesting that A.I. looked at the code last. For something so simple, I would have opened a page, seen that the image is not there (which the A.I. could have done, right? ... isn't it running on your machine?) I guess it follows a process regardless of the issue. I would have inspected the source right away.
Great content, as always! I'm setting up a prompt similar to yours but I'm not sure what the '(base) ->' represents in a non-Conda context. I'd love to know. Also, do you have your profile commands posted anywhere?
I think this won't completely replace programmers but will prove to be really handy when having to document a project
Great project! I was able to write 4 dummy rows into postgres database and then copy them to another DB via python and sqlalchemy! It only took me 4 hours, 6USD (~600K tokens, OMG!), 3 files, 200 LoC, a bunch of commands to be run manually and to google few things! 😆😆 I guess the prompts might be optimised a lot to use less tokens:) But apart from that - it's pretty good! Will look after that project - very interesting how good it will be in a couple of months! 💪
Your videos are my go to for Ai.
Good morning, Mr. Berman. I was experiencing difficulty with the installation. If it's not too much trouble, given sufficient requests, could a Windows version featuring Conda and a local API via LM Studio be developed? I fully comprehend the rapid pace of AI advancements and realize that time may be limited. Devin and the newer versions of Devin, so to speak, are likely to dominate.
I found a few tweaks that make it cheaper to use: Claude sonnet performed at least as well as GPT4, for under a third of the price for input tokens. Also, I add this line to the .env "IGNORE_PATHS=node_modules,.env.example,package-lock.json,package.json" - having the agents ignore the node.js template files.
just amazing
@Matthew_berman you are a BEAST! I know this sounds trivial but doing projects that don't require any money for token use, is where i find the most importance. I think we should not be paying ai to do our work. If we do that, ai companies will prevail and we'll be out of jobs but still needing to pay them.
When your face lit up, hearing the 'ding' for the first time. magic!
0:00 1. Building a Full Stack Application 🛠 Introduction to using AI to create full stack apps 0:38 2. Installing GPT Pilot Command Line Interface ⚙ Step-by-step guide on installing GPT Pilot CLI 2:06 3. Configuring Environment and API Keys 🔑 Setting up environment file and API keys for OpenAI 4:20 4. Initializing Database and Running the App 💻 Database initialization and starting the application 5:32 5. Setting Up the Project 🛠 Setting up the framework and project details. 6:03 6. App Description & Features 💬 Defining the real-time chat app features and user interactions. 6:44 7. Refining Project Ideas 🔄 Discussing user accounts and chat session settings. 7:18 8. Moderation & Spam Control 🚫 Implementing message flagging and spam prevention measures. 7:38 9. User Interaction & Limits ⏰ Setting message limits and emoji usage in the chat app. 8:22 10. Collaboration with AI 🤖 Exploring AI's role in app development and iteration. 9:07 11. VS Code Plugin & GPT Integration 💻 Integrating GPT-4 tokens and Pythagra into VS Code for coding. 9:42 12. Demo: Full Stack Chat App 📱 Demonstrating a full stack chat application and its functionalities. 10:10 13. Verification and Login 📧 Email verification and successful login process. 10:20 14. Exploring Chat Interface 💬 Overview of the chat rooms and basic interactions. 10:50 15. Enhancing Chat Features 🛠 Adding new functionalities to the chat application. 11:50 16. Cost and Efficiency 💸 Discussion on cost efficiency in building applications. 12:38 17. Implementing Dashboard Changes 🖥 Guided implementation of dashboard updates. 13:18 18. Code Development Process 🤖 Step-by-step coding process with AI agents. 13:33 19. Human Testing and Debugging 🧪 Testing and debugging process with user interaction. 14:25 20. Debugging Avatar Image Issue 🖼 Troubleshooting avatar image display problem. 14:51 21. AI-Powered Debugging Assistance 🛠 Utilizing AI for debugging and issue resolution. 15:27 22. Troubleshooting Avatar Display Identifying and resolving issues with avatar display. 17:24 23. Fixing Image Display Issue Implementing a fix for the image display problem. 18:31 24. Integrating Sound Notifications Adding sound notifications for chat messages. 19:14 25. Testing Sound Implementation Verifying the functionality of the sound notifications. 20:20 26. Seamless Functionality Addition Adding new features with AI assistance in existing apps. 20:59 27. Closing Thoughts 🌟 Final words and call to action for viewers. 21:02 28. See You Soon 👋 Encouragement to subscribe for future content. Generated with Tubelator AI Chrome Extension!
It seems like there is real value in some sort of prompt template for this.
On windows here 1:38 : instead of 'source pilot-env/bin/activate' type 'pilot-env\scripts\activate' and on 2:28 replace 'mv' with 'ren'
Thanks for the video, good insight into current state of the tech. Overall I'm not impressed by the value proposition though apart from the planning stage questions which were nice and prompted some inner thought processes for me. This can be a great learning tool for a project for which one has no idea where to actually start. It can save time for prototyping for sure. Code-wise I'd say it's useless since it fails at basic code, i.e. adding the img src properly. The structure of the app is spaghetti as well. So overall I'd say it is worth it if you're trying to learn things you don't know and need assistance with that but won't be of much use if you know what you want to achieve, how to achieve it and can do it properly the first time on your own as this back and forth with the questions, answers and general spoon-feeding of words into the AI is cumbersome. As a developer, I find it exhausting chatting with AI when I could be writing real, functioning code instead but, hey, maybe that's just me.
Could you pretty please do a comparison video comparing the abilities and features of Aider vs Open Devin vs Devika : )
Great video once again! Out of curiosity Matt, is it possible to use Pythag.. in an existing codebase? For example when you add features, can I load a webapp I’ve already built and then have pythag add features to it? Assuming it’s on the same tech stack like Python and Mongo
No. Only projects created in pythagora can be read as existing code
Hello, great video and great channel. Thank you for the clear wallk through your example. Do you know a solution to put this in an existing Laravel project ?
Thanks!
Thanks so much!!
With Pythagora is it possible to load in custom design standards, swaggers, sequence diagrams, code examples and db schema to help maintain code consistency and quality? I was looking for a langChain solution but Pythagora seems to take this a few steps further in the development cycle.
There needs to be a metric that suggests what percentile of software tasks are executable by these agents so we can compare them properly (instead of people accusing each other being shills for pushing one over the other lol)
I did a quick setup a week or two ago and sadly it used up about $20 in one shot from my OpenAI api, but granted, that might have been due to how I was trying to mimic my job's PAAS setup. Gunna try this maybe with Claude and definitely with local models if I can. Excited to do the new setup :)
use ollama my guy
Try with groq
@@markdin2988 oh good idea. I'll give that a shot
$20 in one shot? Like you entered a single command and it cost you $20? Or did you work for a few hours and racked up a $20 bill?
@@Candyapplebone$20 to create initial first MVP of the full stack app. It was after having GPTPilot/Pythagora fix its own mistakes but yeah, technically from one true session. Was to mimic a video server with files but definitely something more economical on well chosen local models
Very promising tool. Thanks Matt! Is it possible for Pythagora to analyse an existing code not created by it?
this seems to work well with Claude 3 haiku, and it's very fast and cheap.
can you please tell me where to put claude's api key?
Sounds like a spot for Pythagora. Sorry if I might misinterpret .
this is pretty cool. I've been a dev for 20 years and honestly I kinda hate AI haha... But I'm not naive enough to not see the writing on the wall. If nothing else it'll help me more quickly discard my dumb app ideas 🤣
Haha this is a refreshing take. Tbh, the toughest part with experience is letting go of the things you know work and like. If you embrace AI you can run circles around most people
Discard or finish more easily?
@@slavko321 well considering we're talking about dumb ideas, I'd hope to discard lol
How far can you take this? What I mean is how complex (app-wise) can you go and what's the error curve that goes with it. I image the more complex you go the more stuff you have to solve manually. I see all examples on the Pythagora site are relatively simple. Most files for a project I see is like 21 files etc...
@matthew_berman Question: Should I reinstall GPT Pilot if I already did awhile ago (when you first introduce it to us)?
Just upgrade it :)
@@matthew_berman Thank! 👍🏽
How to upgrade it? What terminal command?
If I want an artistic photo to put on my wall at home, I could go to a gallery and buy a nice print, I could pay a photographer to photograph a beautiful scene, or I could find a nice royalty-free photo online or in a magazine and print it out. The last ideas are very much cheaper, but not many except children would choose them. Same goes for software. There is a social and human aspect to people paying for software which would not translate into an all-AI software scenario. I might be wrong.
I just lost it when the image came out🤣🤣
Great content as always, As I understand it was not open-source, gpt4 is paid, this only gives some free tokens right ? Or I'm missing something.
I'm new at this, I'm on windows, should I be running the inital commands in a Git Cmd window. when I type source it's not recognised, is there something I need to install first before starting your steps?
any info on building apps for mobile phones? eg. small standalone app that doesn't require net connectivity, like say a Calculator app? in a language like Kotlin or Flutter (?)
where is the first chat app that you start? it is very bizarre demo :(
So people who already know programming will benefit from it much
What are some of the key differences between this and Devin?
Phenomenal
I wonder how they will keep the AI code output modern 🤔 Example: When searching for Laravel stuff, Google seemingly the best, leads me to answers from the past 10 years. Most of those answers do not relate to me using the latest version of Laravel. Will AI filter old from new and only use modern code and techniques?
This seems to work, however using codellama 4gb version will quickly end is a loop with its agent not understanding the questions and just repeating it self over and over. Do you have any recommendations for model? mixtral seems great, but i think it will blow up my tiny graphics card (6gb mem)
Currently what is the best local model for.coding and such, that will perform allright with 16GB VRAM (offloading any overflows to the CPU)?
I wanted to try it out, installed the extension and gave it instructions. It failed due to CORS and installed http-server, but that didn't work either as it couldn't resolve import statements from node_modules so I only got so far as to creating a project with a simple placeholder text in the LitElement control, lots of interactions and a message that I've ran out of Chat GPT API credits and need to install my own Key... I didn't get even a single line of javascript code other than the placeholder :( It also complained that npm is not installed, but I ignored that error and it later used npm to install lit-element and http-server successfully - why did it complain? Is there any way to complete that workspace test without buying Chat GPT API keys? With some free version, even if it's slower and may produce weaker results? Just so that I can see it in action to completion of a simple LitElement control?
20:00 same look i get on my face when it jusy works, still amazing what its able to do
your videos are amazing , im getting stuck pretty early with mongodb not installed , any suggestions?
gpt pilot only uses the template you gave it. I figured out that the landing page sample from crewai does the exact same thing even better with mistral
Please suggest and resolve my Query: I am comparing demo environment text with prod environment text in chrome browser. They are around 100 of books, which have to compared and I need Google Chrome extension or any alternative or best suggest/solution, which can compare the text for me and display the results on Prod environment. Note: copying and pasting the text isn't the option neither Url or I could download the file and compare it.
this may be a weird question but uh how do you use the free tokens? haven't found a local model that can get past the setup yet.
Hi I have a question on building DEFI using Ai do you have any suggestions on the AI application that could do that and make the project legit. Thanks Joe
Hello, i need your help. I keep receiving this error everytime i run the main.py command. There was a problem with request to openai API: API responded with status code: 404. Request token size: 23 tokens. Response text: { "error": { "message": "The model `gpt-4-turbo-preview` does not exist or you do not have access to it.", "type": "invalid_request_error", "param": null, "code": "model_not_found" } } ? Do you want to try make the same request again? If yes, just press ENTER. Otherwise, type "no".
Great Video, I had a quick question after following all the insturctions im hit with a rate limit error 429. i pay for gpt 4 but i tried with 4 and 3.5 turbo. API responded with status code: 429. Request token size: 23 tokens. Response text: { "error": { "message": "You exceeded your current quota, please check your plan and billing details. For more information on this error. is this becuaase i need to pay additional for API access or did i do something wrong in my code?
But can it do Fiverrr jobs? This vid is not downplaying Devin's performance yesterday ,too much userinput.
More user input is better IMO, you can customize more and it makes less assumptions.
Yes
Assumptions mean more iterations lol
Isn't this pretty much just a raw version the new Cursor IDE? It would be crazy to be able to hook this up to your Figma components and viola!
Cool !