{"id":2369,"date":"2024-03-13T07:52:32","date_gmt":"2024-03-13T07:52:32","guid":{"rendered":"https:\/\/favtutor.com\/articles\/?p=2369"},"modified":"2024-03-18T10:55:46","modified_gmt":"2024-03-18T10:55:46","slug":"devin-ai-software-engineer","status":"publish","type":"post","link":"https:\/\/favtutor.com\/articles\/devin-ai-software-engineer\/","title":{"rendered":"Devin AI Can Write Complete Source Code (How to Access It?)"},"content":{"rendered":"\n<p>US-based startup launches Devin, which they are calling the &#8216;first AI software engineer&#8217;. This is a revolutionary advancement for the developer community as now you can have an entire source code generated from just one line of code prompt. Quite amazing isn\u2019t it? Let\u2019s find out more about all of its features!<\/p>\n\n\n\n<p><strong>Highlights:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Cognition unveils Devin, the world\u2019s first complete AI software engineer.<\/li>\n\n\n\n<li>Can generate several lines of code, perform debugging, and also deployment.<\/li>\n\n\n\n<li>Can also fix major repositories and work on generating real-time models based on existing algorithms.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Meet Devin AI Coding Assistant<\/strong><\/h2>\n\n\n\n<p><strong>Devin is a Generative AI Coding Assistant developed by Cognition that can write and deploy codes of up to hundreds of lines with just a single prompt. <\/strong><\/p>\n\n\n\n<p>Although there are some similar tools for the same purpose such as Microsoft\u2019s Copilot, Devin is quite the advancement as it not only generates the source code for software or website but it debugs the end-to-end before the final execution.<\/p>\n\n\n\n<p>The CEO of Cognition Labs, Scott Wu, demonstrates in one video how users can monitor the AI tool&#8217;s code editor, workflow, and command line as it goes through several stages to finish data research and coding projects:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"jeg_video_container jeg_video_content\"><iframe title=\"Introducing Devin, the first AI software engineer\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/fjHtjT7GO1c?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div>\n<\/div><\/figure>\n\n\n\n<p>Here is what they said about this major development in their <a href=\"https:\/\/www.cognition-labs.com\/blog\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">official announcement<\/a>:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>&#8220;Meet Devin, the world\u2019s first fully autonomous AI software engineer. \u200d Devin is a tireless, skilled teammate, equally ready to build alongside you or independently complete tasks for you to review. With Devin, engineers can focus on more interesting problems and engineering teams can strive for more ambitious goals.&#8221;<\/p>\n<\/blockquote>\n\n\n\n<p>Devin\u2019s never-seen-before features make the work of previous tools such as Github and Microsoft\u2019s Copilot much easier and complete. When it gets a request, it can search the internet for tutorials to learn how to accomplish jobs and troubleshoot problems that arise on its own while engineering. However, users can step in if they so want.<\/p>\n\n\n\n<p>Talking about the startup, <a href=\"https:\/\/favtutor.com\/articles\/devin-ai-founder-team\/\">Cognition Labs is currently a small team<\/a> who were medalists in the International Olympiad in Informatics (IOI).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to Get Access to Devin AI?<\/strong><\/h2>\n\n\n\n<p>Cognition has still kept Devin in its early access period. Very few users and tech enthusiasts have had access to the state-of-the-art model via Cognition Labs developers.<\/p>\n\n\n\n<p>However, you can request early access to Devin for engineering and development-related purposes by filling out this <a href=\"https:\/\/docs.google.com\/forms\/d\/e\/1FAIpQLScHG0Kuxf9rVLR2Ceamr9qq85YLxKPx8fxdQeBr5TwvYEsPUg\/viewform\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Google form<\/a>. You can also contact Cognition regarding any updates or access-related issues via their e-mail: info@cognition-labs.com.<\/p>\n\n\n\n<p>In the Google form, you can state or your designations and explain in detail what task you would like to give Devin. Some of the user requests are being evaluated by Cognition\u2019s development team. Based on your type of request your waitlist for access will be queued.<\/p>\n\n\n\n<p>While it is still in the testing phase, developers are sharing some <a href=\"https:\/\/favtutor.com\/articles\/devin-ai-early-insights\/\">early reactions about Devin AI<\/a> who got to give it a try.<\/p>\n\n\n\n<p>Recently, we also got <a href=\"https:\/\/favtutor.com\/articles\/starcoder2-ai-benchmarks-benefits-nvidia\/\">StarCoder2 AI<\/a>, which is also for code generation.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What Can Devin AI Do?<\/strong><\/h2>\n\n\n\n<p><strong>Devin&#8217;s chatbot-style interface just requires the human user to prompt what code they want, just like. From there, it takes over, creating a comprehensive, step-by-step strategy to solve the problem. <\/strong><\/p>\n\n\n\n<p>It starts the project by utilizing its developer tools in the same way that a human would, generating its code, resolving problems, testing, and providing real-time progress reports so that the user can monitor everything as it operates.<\/p>\n\n\n\n<p>It is also possible for the user to enter the chat interface and instruct the AI to correct anything that appears incorrect to a human observer. This allows engineering teams to assign the AI part of their projects so they can concentrate on more innovative jobs that call for human expertise.<\/p>\n\n\n\n<p>However, Devin also comes with several other capabilities. We have discussed each of them in detail further looking into the ways how developers can benefit from them.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Learning From Unfamiliar Technologies<\/strong><\/h3>\n\n\n\n<p>Devin has been programmed to learn how to use unfamiliar technologies. All it needs to do is interact with blog posts or documentation regarding the technology to be learned. Look at the video where a user named Sara can be seen giving a prompt link to Devin regarding a blog post on generating images with hidden texts in them.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"jeg_video_container jeg_video_content\"><iframe title=\"AI Software Engineer Plants Secret Messages in Images\" width=\"500\" height=\"375\" src=\"https:\/\/www.youtube.com\/embed\/lwnkdngr7fU?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div>\n<\/div><\/figure>\n\n\n\n<p>She further asks it to use the same technology to generate images with hidden texts and it does a wonderful task in using ControlNet on Modal to generate pictures for Sara that include hidden messages.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>End-to-End App Deployment<\/strong><\/h3>\n\n\n\n<p><strong>Devin can deploy end-to-end applications as requested by the user. User can make necessary changes or recommendations based on their preferences. The AI will do an outstanding job of reflecting those changes with ease and even making adjustments for enhanced optimization.<\/strong><\/p>\n\n\n\n<p>In the video below Devin makes an interactive website that simulates the Game of Life! It incrementally adds features requested by the user and then deploys the app to Netlify:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"jeg_video_container jeg_video_content\"><iframe title=\"Devin making Game of Life!\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/G45NKnAWuXc?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div>\n<\/div><\/figure>\n\n\n\n<p>As developers, you can take inspiration from any website or tool algorithm and have it reflected in your website or application of choice. This cutting-edge technology is doing wonders!<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>AI Model Fine-Tuning<\/strong><\/h3>\n\n\n\n<p>If you are a developer who is always looking to fine-tune existing AI models with the latest algorithms and technologies for better-personalized models, then this AI engineer may just be the tool for you.<\/p>\n\n\n\n<p>One of Devin\u2019s outstanding features comes in the form of AI fine-tuning, where you can ask the tool to enhance or optimize any existing AI model with the help of some reference algorithm links or blog posts.&nbsp;<\/p>\n\n\n\n<p>Take a look at the video below where a user can be seen asking Devin to fine-tune an existing 7B Llama model using a GitHub repository link on QLoRA, a method for enhancing Llama models:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"jeg_video_container jeg_video_content\"><iframe title=\"AI trains an AI!\" width=\"500\" height=\"375\" src=\"https:\/\/www.youtube.com\/embed\/V_J-xOeCklQ?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div>\n<\/div><\/figure>\n\n\n\n<p>Devin does great work in training the Llama model by creating a virtual environment and cloning the repository. It also monitors the fine-tuning process and informs the user about the current training status from time to time.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Debugging Major Repositories<\/strong><\/h3>\n\n\n\n<p>Devin is also capable of fixing coding errors of various types on your repositories. The error can range from any general coding syntax error to even mathematical or reasoning errors. This will save a lot of time for developers who find a hard time rectifying mistakes from GitHub repositories for both their projects and deployment work.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Setting up Real-Time Models<\/strong><\/h3>\n\n\n\n<p>Devin can be used for inferencing real-time models based on developer requests. This will allow you to deploy real-time open-source codes based on various aspects starting from Computer Vision to Deep Learning and much more.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Comparing the Benchmarks<\/strong><\/h2>\n\n\n\n<p>Devin was tested on the SWE benchmark. It is an important benchmark for measuring coding and debugging capabilities as it requires agents to fix actual GitHub issues from open-source projects like scikit-learn and Django.<\/p>\n\n\n\n<p>Devin got an amazing result when it solved 13.86% of the issues end-to-end and beat several AI giants including GPT-4, Claude 2, and SWE\u2019s Llama 7B and 13B parameter models:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"545\" src=\"https:\/\/favtutor.com\/articles\/wp-content\/uploads\/2024\/03\/Devin-Benchmarks-1024x545.jpg\" alt=\"Devin Benchmarks\" class=\"wp-image-2375\" srcset=\"https:\/\/favtutor.com\/articles\/wp-content\/uploads\/2024\/03\/Devin-Benchmarks-1024x545.jpg 1024w, https:\/\/favtutor.com\/articles\/wp-content\/uploads\/2024\/03\/Devin-Benchmarks-300x160.jpg 300w, https:\/\/favtutor.com\/articles\/wp-content\/uploads\/2024\/03\/Devin-Benchmarks-768x409.jpg 768w, https:\/\/favtutor.com\/articles\/wp-content\/uploads\/2024\/03\/Devin-Benchmarks-750x399.jpg 750w, https:\/\/favtutor.com\/articles\/wp-content\/uploads\/2024\/03\/Devin-Benchmarks-1140x607.jpg 1140w, https:\/\/favtutor.com\/articles\/wp-content\/uploads\/2024\/03\/Devin-Benchmarks.jpg 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>Each of these models even needed help, where they were instructed on which file needed to be corrected. On the other hand, Devin did quite amazing in demonstrating its coding capabilities.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h2>\n\n\n\n<p>Devin is a huge advancement in Coding space that few years ago none of us would have imagined could be possible. However, it also hampers the future job prospects of several software developers in the future. So, we need to see how good it is and how it affects the industry!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cognition Labs reveals Devin, an AI software engineer who can write complete source code. Find out about its features, benchmarks, and how to get access.<\/p>\n","protected":false},"author":15,"featured_media":2378,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jnews-multi-image_gallery":[],"jnews_single_post":null,"jnews_primary_category":{"id":"","hide":""},"footnotes":""},"categories":[57],"tags":[56,82,103,102,104],"class_list":["post-2369","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai","tag-ai","tag-coding","tag-cognition","tag-devin","tag-genera"],"_links":{"self":[{"href":"https:\/\/favtutor.com\/articles\/wp-json\/wp\/v2\/posts\/2369","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/favtutor.com\/articles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/favtutor.com\/articles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/favtutor.com\/articles\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/favtutor.com\/articles\/wp-json\/wp\/v2\/comments?post=2369"}],"version-history":[{"count":8,"href":"https:\/\/favtutor.com\/articles\/wp-json\/wp\/v2\/posts\/2369\/revisions"}],"predecessor-version":[{"id":2554,"href":"https:\/\/favtutor.com\/articles\/wp-json\/wp\/v2\/posts\/2369\/revisions\/2554"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/favtutor.com\/articles\/wp-json\/wp\/v2\/media\/2378"}],"wp:attachment":[{"href":"https:\/\/favtutor.com\/articles\/wp-json\/wp\/v2\/media?parent=2369"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/favtutor.com\/articles\/wp-json\/wp\/v2\/categories?post=2369"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/favtutor.com\/articles\/wp-json\/wp\/v2\/tags?post=2369"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}