At its re:Mars conference, Amazon announced the launch of CodeWhisperer, an artificial intelligence pair programming tool that can be used with a few words or a few keys. The system is supported by billions of lines of publicly available open-source code, as well as publicly available documentation and code on public forums.

It is now available in a preview version, which means that developers can immediately use it in their preferred development environments, including the ones they use in their jobs. Soon, there will be support for the console.

Vasi Philomin, Amazon's VP in charge of its artificial intelligence services, stressed that the company didn't just create this in order to offer a copy of Copilot. He said that the company laid the groundwork for today's launch a few years ago with its tools.

The image was created by Amazon.

I think the technology is at a point where we thought it was the right time to do it,” Philomin said. “And it fits nicely with the other pieces that they have. It’s been a journey and we’ve just done different parts at different times.” 

To keep the announcement under wraps, Amazon has been testing the service with a small group of developers.

The image was created by Amazon.

The system constantly looks at your code and comments and even takes your own coding style into account, according to the company. When you use contextual information, it will generate its own code snippets.

CodeWhisperer does some things differently than Copilot. It is up to the developer to decide if they want to use it, since most of the code that the system creates is novel. Some of the copyright concerns that might come with using a tool like this should be alleviated by this.

The image was created by Amazon.

Security is one of the factors that Philomin said was a factor. Codewhisperer is based on Amazon's experience with large codebases and doing debriefs after things go awry as well as its experience with CodeGuru.

“Security is always important in AWS and so we want to make sure that the code we generate is secure,” Philomin said. “Now obviously we’ve generated the code and the developer can change it — and so Codewhisperer has the capability to say: run a scan on the current source file. It will I security scan and it will tell you any issues and security vulnerabilities either in the generated or the changed code.”

The image was created by Amazon.

The Codewhisperer team worked hard to make sure that the code they generate doesn't have any biases. The team uses filters to remove that code when it happens.

The user experience is easy to understand. There were at least two options for developers to choose from in the demo. Based on the comments it will suggest functions. If a number is prime, it would be a good example for this.

The team took great care to make sure that the system will work well for developers who want to use it to access services from the Amazon Web Services.

It is only additional stuff when we say it has first-class support for the Amazon Web Services. He said that it was state-of-the-art and that it was well-equipped. We will soon hear about how well the service works and how it compares to other services. Having more choice in this space is great, and someone is likely going to hack up a project that will automatically provide suggestions from multiple pairs of programmers.

Copilot, GitHub’s AI-powered programming assistant, is now generally available

AWS announces DevOps Guru to find operational issues automatically