Writing code has come some distance. We started by the use of writing the entire thing from scratch by the use of hand, then moved to frameworks, libraries and boilerplates, and now we’re running with AI apparatus. Google Antigravity is part of this shift.
Irrespective of the identify, Antigravity gained’t in reality make your code afloat. Alternatively it’s going to business the way in which you write code. Slightly than typing every line yourself, you’ll simply explain what you wish to have to build, and an AI agent will plan the steps, write the code, and give a boost to it for you. So that you’ll point of interest at the idea that as a substitute of the implementation.
In this post, we’ll uncover somewhat bit additional what Google Antigravity is, how it works, and why developers are starting to pay attention to it.
Arrange
Let’s first get started with the arrange.
Google Antigravity is available on all number one platforms – macOS, House home windows, and Linux. You’ll have the ability to download the installer from the respectable Google Antigravity site.
If you’re on macOS, you’ll moreover download it from the Homebrew Cask.
After you’ve downloaded the installer, run it and practice the on-screen instructions. Once installed, unlock Google Antigravity from your systems menu or desktop shortcut.
Upon the initial unlock, you will be brought on with a lot of questions, corresponding as to whether or now not you’d like to import configuration from other suitable editors like VS Code and Cursor, the editor theme, and the workflow setup you’d like to run:

There are 4 alternatives, as we will see above.
Even though the in reality helpful setup is Agent-assisted building, I want to be very hands-on with my code, so I determined on Overview-driven building. This mode lets you always analysis and approve the code changes instructed by the use of the AI agent prior to creating use of any changes.
This surroundings moreover turns off the Terminal execution protection. I think this can be a extra safe selection, since I don’t want the AI agent to run any terminal directions without my approval each.
Over again, you’re unfastened to stick the default or completely customize the setup inside the settings.
On the ultimate step, you will be asked to log in for your Google Account.

First Affect
Google Antigravity is built on top of Visual Studio Code. So although there are a selection of tweaks that Google made, if you happen to occur to’ve been using Visual Studio Code, you will immediately in reality really feel at area. The interface is clean and intuitive, with a sidebar for file navigation, a main editor house, and a terminal at the bottom.

At the correct aspect, you will to search out the advised input where you’ll have interaction with the AI agent. And there are two modes you’ll select to interact with the AI agent: Planning mode and Speedy mode.

Planning Mode
I think Planning Mode is best while you’re running on something massive or complex. So as a substitute of jumping at once into code, the AI first pauses and creates a clear plan.
For example, if you happen to occur to invite it to build a WordPress plugin, it’s going to outline steps like rising the directories, information, and outlining which WordPress functions and hooks that it’s going to use inside the plugin.

This will provide you with an opportunity to test the way in which, make changes, and stay in keep watch over previous to any code is written.
Should you think it’s very good you’ll hit the Proceed button to continue. Or, submit a analysis for any changes you’d like to seem inside the plan.

Except for the implementation plans that we spotted proper right here, Google may also generate procedure lists, screenshots, and browser recordings, depending on what you’re in the hunt for to build.
Speedy Mode
Whilst in Speedy Mode, the AI agent will proceed immediately with rising the plugin record, information such since the PHP and readme.txt file, and add the needs and hooks without outlining the plan.

You’ll have the ability to however analysis the code and accept it if you happen to occur to identical to the output, or request changes.
Agent Manager
The Agent Manager is a unique function of Google Antigravity that changes the way you’re hired as a developer. Instead of being hands-on and writing the entire thing line by the use of line, you change into additional like a project architect.
By the use of what Google calls the “Undertaking Regulate” dashboard, you will define high-level targets and delegate tasks to AI agents. The ones agents handle the detailed planning and execution for you, so that you’ll point of interest additional on course and alternatives slightly than implementation.
To open it up, to search out Open Agent Manager at the top correct of the window, as you’ll see beneath.

The Agent Manager seems to be like similar to common AI chat interfaces, where you’ll see the advised input correct at the center of the computer screen.

On the left aspect, you will to search out a lot of sections:
Inbox: That’s the position you’ll see your whole ongoing and former conversations with the Agent.

Workspaces: That’s the position you’ll organize different duties and observe outputs from the Agent to precise duties.

Playground: That’s the position you’ll experiment with different turns on and spot how the Agent responds without affecting your primary duties. If you identical to the output, you’ll merely transfer it to one in all your workspaces.

Starting New Conversation
Let’s take a look at starting a brand spanking new conversation with the Agent. Click on on on the New Conversation button at the top left of the Agent Manager. Then, you’ll select whether or not or now not you’d like to begin out your new conversation in a decided on Workspace, or in a Playground.
I’d select to begin out inside the Playground so I will be able to experiment freely without affecting any duties.

In this case, I’d like to ask to create a brand spanking new script to retrieve a path for a plugin in WordPress.
Throughout the Playground, Google Antigravity will create an isolated workspace record outside the principle ones. You’ll have the ability to continue to iterate on the outputs inside the Playground.

Should you’re feeling the script is ready and likewise you’d like to move to a Workspace, you’ll click on on on the record at the top correct of the window and select the record where your workspace resides.

This will likely switch all the information created inside the Playground to the selected Workspace.
Wrapping up
Google Antigravity is an exhilarating new tool that might perhaps business how we write code. By the use of allowing us to pay attention to high-level ideas and delegating the implementation details to AI agents, it has the imaginable to significantly boost up building workflows.
It’s in recent years in public preview and is unfastened for individual shoppers with very generous limits, so I encourage you to try it out and spot how it fits into your building process.
Inside the next article, we’ll uncover the easiest way to further customize Google Antigravity and the easiest way to protected your duties when running with AI agents.
Stay tuned!
The post A Glance into Google Antigravity gave the impression first on Hongkiat.
Supply: https://www.hongkiat.com/blog/antigravity-google-ai-developer-tool/


0 Comments