From Digital Age to Nano Age. WorldWide.

Tag: codewhisperer

Robotic Automations

Amazon CodeWhisperer is now called Q Developer and is expanding its functions | TechCrunch


Pour one out for CodeWhisperer, Amazon’s AI-powered assistive coding tool. As of today, it’s kaput — sort of.

CodeWhisperer is now Q Developer, a part of Amazon’s Q family of business-oriented generative AI chatbots that also extends to the newly-announced Q Business. Available through AWS, Q Developer helps with some of the tasks developers do in the course of their daily work, like debugging and upgrading apps, troubleshooting, and performing security scans — much like CodeWhisperer did.

In an interview with TechCrunch, Doug Seven, GM and director of AI developer experiences at AWS, implied that CodeWhisperer was a bit of a branding fail. Third-party metrics reflect as much; even with a free tier, CodeWhisperer struggled to match the momentum of chief rival GitHub Copilot, which has over 1.8 million paying individual users and tens of thousands of corporate customers. (Poor early impressions surely didn’t help.)

“CodeWhisperer is where we got started [with code generation], but we really wanted to have a brand — and name — that fit a wider set of use cases,” Seven said. “You can think of Q Developer as the evolution of CodeWhisperer into something that’s much more broad.”

To that end, Q Developer can generate code including SQL, a programming language commonly used to create and manage databases, as well as test that code and assist with transforming and implementing new code ideated from developer queries.

Similar to Copilot, customers can fine-tune Q Developer on their internal codebases to improve the relevancy of the tool’s programming recommendations. (The now-deprecated CodeWhisperer offered this option, too.) And, thanks to a capability called Agents, Q Developer can autonomously perform things like implementing features and documenting and refactoring (i.e. restructuring) code.

Ask a request of Q Developer like “create an ‘add to favorites’ button in my app,” and Q Developer will analyze the app code, generate new code if necessary, create a step-by-step plan, and complete tests of the code before executing the proposed changes. Developers can review and iterate the plan before Q implements it, connecting steps together and applying updates across the necessary files, code blocks and test suites.

“What happens behind the scenes is, Q Developer actually spins up a development environment to work on the code,” Seven said. “So, in the case of feature development, Q Developer takes the entire code repository, creates a branch of that repository, analyzes the repository, does the work that it’s been asked to do and returns those code changes to the developer.”

Image Credits: Amazon

Agents can also automate and manage code upgrading processes, Amazon says, with Java conversions live today (specifically Java 8 and 11 built using Apache Maven to Java version 17) and .NET conversions coming soon. “Q Developer analyzes the code — looking for anything that needs to be upgraded — and makes all those changes before returning it to the developer to review and commit themselves,” Seven added.

To me, Agents sounds a lot like GitHub’s Copilot Workspace, which similarly generates and implements plans for bug fixes and new features in software. And — as with Workspace — I’m not entirely convinced that this more autonomous approach can solve the issues surrounding AI-powered coding assistants.

An analysis of over 150 million lines of code committed to project repos over the past several years by GitClear found that Copilot was resulting in more mistaken code being pushed to codebases. Elsewhere, security researchers have warned that Copilot and similar tools can amplify existing bugs and security issues in software projects.

This isn’t surprising. AI-powered coding assistants seem impressive. But they’re trained on existing code, and their suggestions reflect patterns in other programmers’ work — work that can be seriously flawed. Assistants’ guesses create bugs that are often difficult to spot, especially when developers — who are adopting AI coding assistants in great numbers — defer to the assistants’ judgement.

In less risky territory beyond coding, Q Developer can help manage a company’s cloud infrastructure on AWS — or at least get them the info they need to do the managing themselves.

Q Developer can fulfill requests like “List all of my Lambda functions” and “list my resources residing in other AWS regions.” Currently in preview, the bot can also generate (but not execute) AWS Command Line Interface commands and answer AWS cost-related questions such as “What were the top three highest-cost services in Q1?”

Image Credits: Amazon

So how much do these generative AI conveniences cost?

Q Developer is available for free in the AWS Console, Slack and IDEs such as Visual Studio Code, GitLab Duo and JetBrains — but with limitations. The free version doesn’t allow fine-tuning to custom libraries, packages and APIs, and opts users into a data collection scheme by default. It also imposes monthly caps, including a maximum of 5 Agents tasks (e.g. implementing a feature) per month and 25 queries about AWS account resources per month. (It’s baffling to me that Amazon would impose a cap on questions one can ask about its own services, but here we are.)

The premium version of Q Developer, Q Developer Pro, costs $19 per month per user and adds higher usage limits, tools to manage users and policies, single sign-on and — perhaps most importantly — IP indemnity.

Image Credits: Amazon

In many cases, the models underpinning code-generating services such as Q Developer are trained on code that’s copyrighted or under a restrictive license. Vendors claim that fair use protects them in the event that the models was knowingly or unknowingly developed on copyrighted code — but not everyone agrees. GitHub and OpenAI are being sued in a class action motion that accuses them of violating copyright by allowing Copilot to regurgitate licensed code snippets without providing credit.

Amazon says that it’ll defend Q Developer Pro customers against claims alleging that the service infringes on a third-party’s IP rights so long as they let AWS control their defense and settle “as AWS deems appropriate.”




Software Development in Sri Lanka

Robotic Automations

Google launches Code Assist, its latest challenger to GitHub's Copilot | TechCrunch


At its Cloud Next conference, Google on Tuesday unveiled Gemini Code Assist, its enterprise-focused AI code completion and assistance tool.

If this sounds familiar, that’s likely because Google previously offered a similar service under the now-defunct Duet AI branding. That one became generally available in late 2023, but even then, Google already hinted that it would move the service away from its Codey model to Gemini in the near future. Code Assist is both a rebrand of the older service as well as a major update.

Code Assist, which Google Cloud demoed at its 30,000-attendee conference in Las Vegas, will be available through plug-ins for popular editors like VS Code and JetBrains.

Even more so than the Duet AI version, Code Assist is also a direct competitor to GitHub’s Copilot Enterprise and not so much the basic version of Copilot. That’s because of a few Google-specific twists.

Among those is support for Gemini 1.5 Pro, which famously has a million-token context window, allowing Google’s tool to pull in a lot more context than its competitors. Google says this means more-accurate code suggestions, for example, but also the ability to reason over and change large chunks of code.

“This upgrade brings a massive 1 million-token context window, which is the largest in the industry. This allows customers to perform large-scale changes across your entire code base, enabling AI-assisted code transformations that were not possible before,” Brad Calder, Google’s VP and GM for its cloud platform and technical infrastructure, explained in a press conference ahead of Tuesday’s announcement.

Image Credits: Google

Like GitHub Enterprise, Code Assist can also be fine-tuned based on a company’s internal code base.

“Code customization using RAG with Gemini Code Assist significantly increased the quality of Gemini’s assistance for our developers in terms of code completion and generation,” said Kai Du, Director of Engineering and Head of Generative AI at Turing. “With code customization in place, we are expecting a big increase in the overall code-acceptance rate.”

This functionality is currently in preview.

Image Credits: Frederic Lardinois/TechCrunch

Another feature that makes Code Assist stand out is its ability to support codebases that sit on-premises, in GitLab, GitHub and Atlassian’s BitBucket, for example, as well as those that may be split between different services. That’s something Google’s most popular competitors in this space don’t currently offer.

Google is also partnering with a number of developer-centric companies to bring their knowledge bases to Gemini. Stack Overflow already announced its partnership with Google Cloud earlier this year. Datadog, Datastax, Elastic, HashiCorp, Neo4j, Pinecone, Redis, Singlestore and Snyk are now also partnering with Google through similar partnerships.

The real test, of course, is how developers will react to Code Assist and how useful its suggestions are to them. Google is making the right moves here by supporting a variety of code repositories and offering a massive context window, but if the latency is too high or the results simply aren’t that good, none of those features matter. And if it’s not significantly better than Copilot, which had quite a headstart, it may end up suffering the fate of AWS’ CodeWhisperer, which seems to have close to zero momentum.

It’s worth noting that in addition to Code Assist, Google today also announced the launch of CodeGemma, a new open model in its Gemma family that was fine-tuned for code generation and assistance. CodeGemma is now available through Vertex AI.

Image Credits: Frederic Lardinois/TechCrunch

Cloud Assist

In addition to Code Assist, Google also today announced Gemini Cloud Assist to help “cloud teams design, operate, and optimize their application lifecycle.” The tool can generate architecture configuration that are tailored to a company’s needs, for example, based on a description of the desired design outcome. It can also help diagnose issues and find their root causes, as well as optimize a company’s cloud usage to reduce cost or improve performance.

Cloud Assist will be available through a chat interface and embedded directly into a number of Google Cloud products.


Software Development in Sri Lanka

Back
WhatsApp
Messenger
Viber