Now Hiring: Are you a driven and motivated 1st Line IT Support Engineer?

Build ENTIRE Apps With A Single Prompt – FREE Open-Source Devika Tutorial

1724336855_maxresdefault.jpg

Build ENTIRE Apps With A Single Prompt – FREE Open-Source Devika Tutorial

Unlock the Future of Coding: Build ENTIRE Apps with a Single Prompt Using FREE Open-Source Devika Tutorial

In recent years, the realm of software development has witnessed a revolutionary transformation, thanks to advancements in Artificial Intelligence (AI). One such breakthrough tool that exemplifies this innovation is the Devika Tutorial, a free, open-source AI coding assistant designed to empower developers by allowing them to build complete applications with just a single prompt. In this article, we will delve into the remarkable capabilities of this tool, outline the steps to install and use it, and explore its future potential in the software development industry.

Introduction to Devika: A Game-Changing AI Coding Assistant

The Devika project, still in its nascent stages, has rapidly evolved from a concept with a broken interface to a fully functional AI coding assistant in just a few days. This fast-paced development highlights the agility and potential of open-source projects driven by community collaboration. The current version of Devika boasts a user-friendly interface divided into distinct sections for chat, browsing, terminal operations, and logging, which collectively enhance the user experience and productivity.

Building Apps Made Simple: The Single Prompt Approach

One of the core functionalities that set Devika apart is its ability to build entire applications through a single prompt. Users can input a basic command, like building a calculator with a UI, and Devika intelligently outlines and executes the entire processโ€”from selecting the programming language and setting up the environment to designing the UI and writing the necessary code. This zero-shot learning approach not only simplifies the development process but also significantly reduces the time and effort required to create applications.

Installation Guide: Setting Up Devika on Your System

Getting Devika up and running involves a few straightforward steps:

  1. Clone the Repository: Start by cloning the Devika project from its GitHub repository using Git commands.
  2. Create a Python Environment: Use Conda to create a new Python environment specifically for Devika to ensure that all dependencies are correctly managed.
  3. Install Dependencies: Install necessary Python and JavaScript dependencies to ensure that all components of Devika function smoothly.
  4. Run the Application: Finally, initiate the backend server and frontend client to start using Devika.

Detailed instructions, including commands and configurations, are provided as part of the installation process, making it accessible even for those who are relatively new to software development environments.

Explore Advanced Features and Customizations

Devika supports several models and search engines, allowing users to select the most suitable options based on their specific needs. The tool also integrates different programming models like GPT-3.5, GPT-4, and other specialized AI models that enhance its versatility and capability to handle various coding tasks. Advanced users can customize Devika further by tweaking settings and adding API keys for features like custom search engines.

Real-World Application and Beyond

The practical application of Devika is as impressive as its theoretical capabilities. For instance, the creation of a simple calculator application with a UI demonstrates Devika’s ability to turn a simple prompt into a fully functional application, complete with HTML, CSS, and JavaScript files, in under a minute. Such efficiency illustrates the transformative potential of AI-powered coding assistants.

The Road Ahead: Challenges and Opportunities

While Devika shows immense promise, it is not without its challenges. Early adopters might encounter bugs and limitations due to its ongoing development. However, the open-source nature of the project invites contributions from developers worldwide, continuously propelling its improvement and innovation. As AI technology matures, tools like Devika are set to become even more robust, potentially reshaping the landscape of software development.

Conclusion: Embracing AI-Driven Development

The Devika Tutorial represents a significant leap forward in simplifying software development through AI. By enabling developers to build applications from a single prompt, it opens up new possibilities for efficiency and creativity. As the project continues to evolve, it will undoubtedly play a crucial role in the future of coding, making software development more accessible and stimulating further innovations in AI technology.

For developers looking to stay ahead in the fast-evolving tech world, getting acquainted with Devika is not just an optionโ€”it’s a necessity. Explore this tool, contribute to its growth, and be part of a community thatโ€™s steering the future of AI in software development.

[h3]Watch this video for the full details:[/h3]


Devika is the most popular open-source Devin clone, allowing you to use AI to build entire apps easily.

Be sure to check out Pinecone for all your Vector DB needs: https://www.pinecone.io/

Join My Newsletter for Regular AI Updates ๐Ÿ‘‡๐Ÿผ
https://www.matthewberman.com

Need AI Consulting? โœ…
https://forwardfuture.ai/

My Links ๐Ÿ”—
๐Ÿ‘‰๐Ÿป Subscribe: https://www.youtube.com/@matthew_berman
๐Ÿ‘‰๐Ÿป Twitter: https://twitter.com/matthewberman
๐Ÿ‘‰๐Ÿป Discord: https://discord.gg/xxysSXBxFW
๐Ÿ‘‰๐Ÿป Patreon: https://patreon.com/MatthewBerman

Rent a GPU (MassedCompute) ๐Ÿš€
https://bit.ly/matthew-berman-youtube
USE CODE “MatthewBerman” for 50% discount

Media/Sponsorship Inquiries ๐Ÿ“ˆ
https://bit.ly/44TC45V

Links:
Installation Instructions: https://gist.github.com/mberman84/5ebdd660dce3b5474515ee91a82f4746
Devika Github – https://github.com/stitionai/devika

[h3]Transcript[/h3]
there it is look at that unbelievable very very easy so that’s at least one of Devon’s main demos recreated in DEA all right I finally got DEA working and we now have another opsource clone of Devon this is a fully featured AI coding assistant that comes with everything you need to code with AI so this is the interface on the left we have the chat on the right we have the browser and the terminal we have our logs right here so we could see everything and we have settings which doesn’t work so just like open Devon this is a very early project but they are moving incredibly fast just a few days ago I couldn’t get it working at all and the interface was completely broken but now the interface looks a lot better they support a lot more models a lot more search engines and things are really coming along so I’m super excited to see where this project goes so today I’m going to show you a little bit about it and then I’m going to show you how to install it and use it so this is the calculator app that I just built it is not pretty these numbers are not in order and it’s horizontal which is kind of weird but it works this is all done in zero shot a simple prompt was all I need build a calculator app with a UI so defa says I’m outlining a plan to build a calculator app with a UI here’s the plan choose the programming language step two set up the environment design the UI ucss etc etc all the way down to I think I can proceed without searching the web which is great and I have completed my task and here we go they are actually using Vim to do the coding so you can simply use this to build any application that you want and again it is quite buggy still but it is making great progress up in the top you could see whether you have access to the internet or not I think that’s whether you actually have the server up and running you have the token usage you could select your search engine they now support more search engines I’m using Google I’ll show you how to set that up you can also select your different models so they support the Claud models Gemini Gro which is super fast although I couldn’t get these to work well and there was actually a race condition issue so I suspect grock might actually maybe be too fast for DEA but we’ll see they have the mistol models which is great we can power it locally of course with AMA and we have open AI GPT 4 and GPT 3.5 I’ll show you how to set all of this up and then after it was done here it is here’s the index. HTML here’s the script.js and the style.css all done in under 1 minute now granted this is a very simple application but it shows that this is working and that this project has great potential so just to show you that it works here’s 8 * 8 = 64 all right let me show you how to install it now the first thing you’re going to do is open up VSS code and we are going to CD to the desktop or wherever you like to store your new projects from there we’re going to clone DEA so git clone and then the Deva GitHub URL and if you switch back to the Deva GitHub page you click this green code button and then copy right here that’s where you can find that URL and I’ll drop this link in the description below then hit enter now we’re going to use cond to create a new python environment so condac create DN Deva python equal 3.10 hit enter now I already have one named that so I’m going to go ahead and overwrite it or remove it and you won’t see this error unless you already have that environment so go ahead and click okay okay now that that’s done you’re going to highlight this right here and it’s going to be paste cond activate Deva hit enter and then you can see it’s active because it says so right there now we’re going to CD into DEA and then we’re going to type which python so we’re just making sure that we’re always installing things with the right python environment so which python so you’re going to copy Whatever Gets output there paste it then type-m pip install d r requirement .txt and then hit enter all right once that’s done we’re going to do playwright install d-wi DS and to install playright you’re going to type npm init playright at latest and then hit enter and then it says do you want to use typescript or JavaScript we’ll use typescript and if you don’t have npm installed you can probably use Brew to install npm but simply just Google it and you’ll find out it’s very easy to install mpm and then hit enter a few times and then it will install playright all right done now we’re going going to install with playright so playright install D- with- depths hit enter then we’re going to CD into UI and then we’re going to npm install next we’re going to do bun runev and again if you don’t have bun installed you got to install it and just a quick note on how to install it you’re going to type curl DFS Capital SL https colon bun. Shinall pipe and then bash and then hit enter but I already have it installed so I’m going to skip that then we’re going to type Bun Run Dev to spin it up okay so that worked there’s our Local Host 3000 but we’re not done we actually need to spin up the back end so go ahead click right here open up a new terminal we’re going to cond activate DEA again so then we’re going to CD into the DEA folder so CD desktop Deva hit enter and then we’re going to spin up the back end by typing Python dea. piy and then hit enter and sometimes this takes a few minutes cuz it’s downloading a sentence Transformer model okay so loading sentence Transformer Bert models loaded and it should be almost done olama not available okay cuz we’re not running an AMA model right now so I’m going to show you two more things once I show you that it’s working I’m going to show you how to run it with grock mixol and just how fast that is and then I’m going to show you how to power it with olama all right so Deva is up and running switch back to that Dev tab right over here we’re going to hold down our Command and then click the Local Host button and there’s DEA all right so it’s up and running but we’re not done we actually need to fill out our environment variable so come back to vs code you’re going to click the explore button and we’re going to click open folder desktop and then just open DEA now unfortunately I think that actually closes all the previous terminals which is kind of silly but it does so let’s make sure that we are using our cond environment DEA all right so this time for some reason I have a config dotl file already and we also have the sample last time I did this it wasn’t there so I maybe I did something different this time but look for this just rename the sample. config.msi so here’s all the different models that you can use and then here’s olama if you wanted to power it locally for now let’s try grock so I’m going to put my grock API key right there I’m going to click save and the next thing you want to do is grab your search key so we are going to use Google search and so go to developers.google.com custom- search slv1 inroduction then right here it says get a key click that button we’re going to select a project I already have one Deva click next and then we’re going to show the key we’re going to copy the key so we come back to VSS code we’re going to highlight this and we’re going to paste it right in there now we also need the search engine ID so you’re going to come to programmable search engine. goole.com controlpanel all and you can create a new search engine right here once you create it you’re going to click into it and you’re going to grab this search engine ID so copy that you’re going to come back to VSS code you’re going to highlight this and paste it right there where it says Google search engine ID then you save and we should be more or less done now so let’s spin up our servers again so we’re going to do python dea. py hit enter and it should spin up faster this time and while that’s going we’re going to click this plus button we’re going to cond to activate DEA again we’re going to CD into the UI and then we’re going to do Bun Run and that’ll spin up the front end okay so Dev is up and running de is up and running going to hold down command click on this link and it should be ready to go there we go sweet so select project we’re going to click new project we’re going to type game of life cuz we’ll create that one again for the select search engine go ahead and click Google for select model I’m going to select grock mixol and then let’s try to create it create The Game of Life in Python with a UI then hit send Okay so this should be lightning fast yep browsing the web I don’t think I’ve actually browsed the web before so let’s see if this works okay so I got the same error as I got last time playright Sync API inside the sync IO Loop this seems to only happen when I’m using Gro so that’s why I’m kind of thinking this might be a race condition okay so I couldn’t get Game of Life working with grock mixol and it was actually due to a bug in DEA but I was able to get it working with chat GPT so let me show you that now so I’m going to select a new project I’m going to call it game of life cuz that was one of the demos of Devin so I’m still going to use Google and I’m going to use gp4 turbo so I’m going to keep it pretty short create a python project that makes the game of life and we can see again all of the output right here so it’s probably waiting for open AI to reply right now and I’ll also show you mixol on grock just to show you how fast that is all right so it is working I’m thrilled to outline a plan for some reason it’s outputting twice right here in the chat but that’s okay so research The Game of Life setup the environment etc etc I think I can proceed without searching the web that’s good and DEA has kind of a personality so okay diving into the game of life it’s a classic first up I’ll refresh my understanding of the rules all right so it is Echo waiting just to make sure the terminal worked all right and it says it completed the task that was really fast and it created a requirements.txt file so let’s test it out let’s see if it works so I am opening a new vs code I’m in the Deva folder then I go to data projects Game of Life and then I’m going to hit open here are the requirements and here is the code so let’s see if it works so I’m going to open up the terminal and I’m going to do pip install dasr requirements.txt looks like most of it’s already installed and then python main.py there it is look at that unbelievable very very easy so that’s at least one of Devon’s main demos recreated in DEA now now let me show you how to set it up completely locally go to ama.com click download and install olama if you don’t already have it running now I’m going to leave the front end up but I’m going to shut down the backend server I’m going to click plus and I’m going to type olama list and that should give me a list of the olama servers running if it is up and running so there we go we have mistl latest that’s fine and that will also spin up ama if you don’t already have it running okay now that we know ama’s up and running we’re going to switch back we’re going to spin up the back end again python Devy it already has the API m point for oama local right there which is perfect then up in the top right I’m going to click the model drop down we’re going to scroll down I’m going to select o Lama so I had to refresh the page I’m going to select a project new project Game of Life 2 hit okay search engine Google select a model now we see mistl is available under the olama tab so let’s select that and I’m going to type create The Game of Life using python with a UI and then hit enter and so this should be running completely locally now yep and there it is awesome so this is completely local all right browsing the web let’s see if this actually works though all right so I did actually get that playright issue again and now that I’m thinking about it I actually think it has to do with searching Google possibly but it did find a Reddit link for T hinter so it did do the Google search correctly but when it got down down to actually writing it again with the browser it failed but local models now work perfectly so you can run this completely locally so again it’s a little bit buggy but they’re making great progress thank you so much to the Deva team and everybody who’s contributing for building another awesome project I can’t wait to see where AI coding assistants go the rate of maturing is just super impressive if you liked this video please consider giving a like And subscribe and I’ll see you in the next one