CodeWhisperer has been in preview since last year and uses various integrated development environments (IDEs), like Visual Studio Code, to generate lines of code based on a text-based prompt.
Microsoft currently has its own flavour of an AI code righter or assistant out there, but it charges $10 a month,
An Amazon spokesman said that CodeWhisperer was a "real-time AI coding companion" that helped developers who were facing increasing time pressure to get their work done.
At the moment, developers were forced to break their flow to turn to an internet search, sites such as StackOverflow, or their colleagues for help in completing tasks.
CodeWhisperer provides the starter code they need, it's disruptive as they've had to leave their IDE environment to search or ask questions in a forum or find and ask a colleague — further adding to the disruption. Instead, CodeWhisperer meets developers where they are most productive, providing recommendations in real time as they write code or comments in their IDE.
Amazon claims that participants who used CodeWhisperer were 27 per cent more likely to complete tasks successfully and did so an average of 57 per cent faster than those who didn't use CodeWhisperer.