Stability AI Ltd. and Google Cloud have collaborated to introduce powerful AI tools that aim to revolutionize code generation for software developers. Stability AI is unveiling its latest generative AI model, StableCode, while Google is launching a web-based development environment known as Project IDX.
StableCode, an open-source large language model developed by Stability AI, assists developers in generating code. It comes in three versions: a basic model for general use cases, an instruction model, and a long-context-window model that supports up to 16,000 tokens for more advanced programming. StableCode was trained using coding data from the open-source BigCode project and enables development in Python, Go, Java, JavaScript, C, markdown, and C++.
What sets StableCode apart is its long-context-window version, which supports more tokens than any other model of its kind. This capability allows developers to utilize more specialized and complex code generation prompts. Moreover, StableCode is capable of comprehending an existing code base with multiple files and generating fresh code to build upon it.
Christian Laforte, Stability AI’s head of research, expressed the goal of StableCode as enabling anyone with good ideas and a problem to write a program that solves it, with the aim of democratizing coding.
Meanwhile, Google’s Project IDX simplifies the lives of software developers by providing a comprehensive development environment bundled with integrated Android and iOS emulators, as well as AI enhancements. Accessed through a web browser, Project IDX eliminates challenges related to setting up the underlying technology stack. It also ensures that an application remains in sync across different devices, resolving issues related to varied code behavior.
Project IDX, based on Code OSS, an open-source variant of Microsoft Corp.’s VS Code, offers a familiar interface to developers. It operates within a Linux-based virtual machine in the cloud, enabling users to establish an appropriate tech stack for their projects. Templates for various apps and projects on frameworks such as Angular, React, Next.js, and Flutter are also provided.
Live previews of developer’s apps are another valuable feature offered by Project IDX. Although initially limited to web-based apps, Google plans to introduce Android and iOS emulators in the future. This development is particularly significant for iOS developers, as they often require costly Apple hardware. With Project IDX, they can run their code in the cloud and test it through a cloud-based emulator.
Furthermore, Project IDX facilitates code deployment and sharing through integrated Firebase Hosting support. It also integrates with Google’s generative AI code generation tools, Codey and PaLM 2, enabling features like assistive chatbots, intelligent code completion, and contextual prompts.
While Google has yet to disclose pricing details for Project IDX, the company aims to make it accessible to a wide global audience.
Overall, Stability AI and Google’s advancements in AI-based code generation tools are poised to transform the way software developers write code. StableCode’s extended contextual understanding and Project IDX’s comprehensive development environment promise to streamline the coding process and make it more accessible to a broader range of individuals.