Build a Pong game and website from scratch

UPDATED 19:59 EDT / MARCH 12 2024. Task: UPDATED 19:59 EDT / MARCH 12 2024 Cognition launches Devin, a generative AI-powered coding engineer by Mike Wheatley A new generative artificial intelligence startup called Cognition AI Inc. is looking to disrupt coding with the launch of a new tool that can autonomously create code for entire engineering jobs, including its own AI models. That tool’s name is Devin, and it takes the premise of GitHub Inc.’s and Microsoft Corp.’s Copilot developer tool much further, as it can carry out entire jobs on its own, rather than simply assist a human coder. In a video (below) attached to a blog post announcing Devin, Cognition Chief Executive Scott Wu demonstrates how users can view the model in action. They can see its command line, code editor and workflow as it goes step-by-step, completing comprehensive coding projects and data research tasks assigned to it. As soon as Devin receives a request, it will set about searching the internet for educational content that can teach it how to complete the assigned task. It can even debug any problems it encounters during the process, though users – who are basically just overseers and editors – can intervene if there’s any need to do so. The launch of Devin is a big shift in the nascent AI-powered coding industry, with its promise of giving engineers their own automated worker that can carry out complete projects, as opposed to a copilot that would merely assist human coders with snippets or suggestions. For now, Devin is only available in private preview and only a few select journalists such as Bloomberg’s Ashlee Vance have had access to the tool. Wu told Bloomberg that teaching AI to be a programmer is a “very deep algorithmic problem” where the system is required to make complex choices and look several steps into the future to determine what it should do next. “It’s almost like this game that we’ve all been playing in our minds for years, and now there’s this chance to code it into an AI system,” Wu explained. According to Wu, Devin can access standard developer tools including a code editor, browser and shell. It can run these within a sandboxed environment to plan and then carry out extremely complex engineering tasks that require thousands of decisions to be made. Human users simply outline the project in natural language prompts via a chatbot-style interface, and Devin does everything asked, according to the startup. It begins by creating a detailed, step-by-step plan to complete the assigned task and then gets started using its developer tools, just as a human coder would do, albeit much faster. It can write its own code, fix issues, test and report on its progress in real time, so users are always kept informed about its progress. Should human users decide that something looks off, they can add another prompt into the chatbox and ask the AI to fix the problem. In this way, engineering teams will be able to delegate certain projects to Devin and focus their energy on more creative tasks for which human intelligence is still better suited. Vance explained that he asked Devin to create a basic Pong-style game and create a website from scratch, and it completed those tasks in less than 20 minutes. It can also handle much more complex tasks, though those might take longer to complete. Holger Mueller of Constellation Research Inc. said it was only a matter of time before generative AI crossed the chasm from merely assisting humans to taking over completely, albeit with human supervision. “Cognition has become one of the first to do this with Devin, which looks like an extremely promising application,” Mueller said. “We are now moving into the new phase of AI that can enable automated software operations, where software is essentially able to write itself.” It’s somewhat ironic that Wu, a software engineer himself, is launching a generative AI tool that is ultimately designed to replace human software engineers. Computer scientist Silas Alberti, who also had early access to Devin, told Bloomberg: “It’s less like an assistant helping with code and more like a real worker doing its own thing.” As the AI era marches on, the “learn to code” slogan that was once suggested as an alternative to humans who lose their jobs to AI is looking more outdated than ever. Devin’s creators believe it will eventually be able to perform many low-level coding jobs instead of human coders – and do them much more quickly.; tools: Devin. Human role: The original post does not say how a person stayed involved.; limitations: Devin was in private preview with limited access, making immediate adoption impossible for most. The tool operates in a sandbox, requiring integration work for real-world deployment. Human supervision is mandatory for quality control, and the source does not detail specific failure rates or security protocols..

Tools

Devin

Published on Agent Work Atlas:

Overview

UPDATED 19:59 EDT / MARCH 12 2024

Workflow

UPDATED 19:59 EDT / MARCH 12 2024 Cognition launches Devin, a generative AI-powered coding engineer by Mike Wheatley A new generative artificial intelligence startup called Cognition AI Inc. is looking to disrupt coding with the launch of a new tool that can autonomously create code for entire engineering jobs, including its own AI models. That tool’s name is Devin, and it takes the premise of GitHub Inc.’s and Microsoft Corp.’s Copilot developer tool much further, as it can carry out entire jobs on its own, rather than simply assist a human coder. In a video (below) attached to a blog post announcing Devin, Cognition Chief Executive Scott Wu demonstrates how users can view the model in action. They can see its command line, code editor and workflow as it goes step-by-step, completing comprehensive coding projects and data research tasks assigned to it. As soon as Devin receives a request, it will set about searching the internet for educational content that can teach it how to complete the assigned task. It can even debug any problems it encounters during the process, though users – who are basically just overseers and editors – can intervene if there’s any need to do so. The launch of Devin is a big shift in the nascent AI-powered coding industry, with its promise of giving engineers their own automated worker that can carry out complete projects, as opposed to a copilot that would merely assist human coders with snippets or suggestions. For now, Devin is only available in private preview and only a few select journalists such as Bloomberg’s Ashlee Vance have had access to the tool. Wu told Bloomberg that teaching AI to be a programmer is a “very deep algorithmic problem” where the system is required to make complex choices and look several steps into the future to determine what it should do next. “It’s almost like this game that we’ve all been playing in our minds for years, and now there’s this chance to code it into an AI system,” Wu explained. According to Wu, Devin can access standard developer tools including a code editor, browser and shell. It can run these within a sandboxed environment to plan and then carry out extremely complex engineering tasks that require thousands of decisions to be made. Human users simply outline the project in natural language prompts via a chatbot-style interface, and Devin does everything asked, according to the startup. It begins by creating a detailed, step-by-step plan to complete the assigned task and then gets started using its developer tools, just as a human coder would do, albeit much faster. It can write its own code, fix issues, test and report on its progress in real time, so users are always kept informed about its progress. Should human users decide that something looks off, they can add another prompt into the chatbox and ask the AI to fix the problem. In this way, engineering teams will be able to delegate certain projects to Devin and focus their energy on more creative tasks for which human intelligence is still better suited. Vance explained that he asked Devin to create a basic Pong-style game and create a website from scratch, and it completed those tasks in less than 20 minutes. It can also handle much more complex tasks, though those might take longer to complete. Holger Mueller of Constellation Research Inc. said it was only a matter of time before generative AI crossed the chasm from merely assisting humans to taking over completely, albeit with human supervision. “Cognition has become one of the first to do this with Devin, which looks like an extremely promising application,” Mueller said. “We are now moving into the new phase of AI that can enable automated software operations, where software is essentially able to write itself.” It’s somewhat ironic that Wu, a software engineer himself, is launching a generative AI tool that is ultimately designed to replace human software engineers. Computer scientist Silas Alberti, who also had early access to Devin, told Bloomberg: “It’s less like an assistant helping with code and more like a real worker doing its own thing.” As the AI era marches on, the “learn to code” slogan that was once suggested as an alternative to humans who lose their jobs to AI is looking more outdated than ever. Devin’s creators believe it will eventually be able to perform many low-level coding jobs instead of human coders – and do them much more quickly.

Reported result

The source reports that a journalist completed a basic Pong game and website in under 20 minutes. However, this is a single anecdotal instance from a private preview, not a verified business outcome. No broader metrics on reliability, cost, or production readiness are provided.

Human role

The original post does not say how a person stayed involved.

Limitations

Devin was in private preview with limited access, making immediate adoption impossible for most. The tool operates in a sandbox, requiring integration work for real-world deployment. Human supervision is mandatory for quality control, and the source does not detail specific failure rates or security protocols.

Try it

Act as a technical lead evaluating Devin for rapid prototyping. I need to test its ability to build a simple web application. 1. Define the scope: Create a basic Pong game and a landing page for it. 2. Input: Provide the prompt 'Build a Pong game and a website from scratch' to Devin. 3. Monitor: Watch the real-time progress reports and code output. 4. Review: Inspect the generated code for security vulnerabilities and logic errors. 5. Iterate: If issues arise, provide corrective prompts. 6. Deliverable: A working local prototype and a summary of time taken. Do not deploy to production. Confirm with me before finalizing the code.

Original source

Source reports are not independently verified. Publication date is the catalog publication date, not the original article date.

More cases · Software & development