Using ChromeOS / ChromeOS Flex with Antigravity for Agent Development

What is Antigravity?
Antigravity is our Google’s Agentic development platform. Antigravity is evolving the IDE towards an agent-first future with browser control capabilities, asynchronous interaction patterns, and an agent-first product form factor that together, enable agents to autonomously plan and execute complex, end-to-end software tasks.
Full details are available here:
Google Antigravity
Why would I want to use Antigravity from the Linux VM on ChromeOS Flex?
ChromeOS and ChromeOS Flex provide a standard Debian 12 Linux VM as part of their developer options that has the foundational tools for working with Google Cloud but can be customized to provide a complete developer environment.
This tutorial uses the Google Antigravity installation and extends the Linux VM in ChromeOS Flex to allow local development.
Initial Environment Setup
Activate the Linux VM in ChromeOS Flex:
https://support.google.com/chromebook/answer/9145439?hl=en
Make sure to extend the initial disk space to 64GB or higher when setting up the VM:

Verifying Linux VM Setup
Start the Linux VM and open the shell:


Get all Local Linux VM Updates:
This step makes sure that the Linux VM has all Local updates.
sudo apt-get update
sudo apt-get upgrade
Add basic development tools to the Linux VM:
sudo apt-get install git
sudo apt-get install npm
sudo apt-get install curl
For a fresh installation — this make take 3–4 minutes to pull all required package dependencies.
Antigravity on the Chrome Linux VM
First visit the official Antigravity site:
Google Antigravity
Then select Download:

Then Linux:

Step by Step Instructions for the Chrome OS Debian 12 VM
Add the official repository:
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://us-central1-apt.pkg.dev/doc/repo-signing-key.gpg | \
sudo gpg --dearmor -o /etc/apt/keyrings/antigravity-repo-key.gpg
echo "deb [signed-by=/etc/apt/keyrings/antigravity-repo-key.gpg] https://us-central1-apt.pkg.dev/projects/antigravity-auto-updater-dev/ antigravity-debian main" | \
sudo tee /etc/apt/sources.list.d/antigravity.list > /dev/null
Update the Package List:
sudo apt update
Install the Package:
sudo apt install antigravity
Pulling it All Together — Antigravity in the Chrome VM
Now antigravity has been installed in thebase shell in the Linux VM- you can start the binary:
antigravity
The IDE will startup. The selected folder to work with is an ADK Go project:

VS Code Plugins and Integrations
Antigravity is compatible with VS Code extensions. To get full visibility into the sample Go project- the Go extensions are searched:

And installed:

The Antigravity editor can be used like a standard VS Code editor- with language customization:

Agent Manager
The Agent Manager is the key feature of the new platform. To activate it from your current project- select the option from the upper right corner:

Project Analysis with the Agent Manager
The Agent Manager provides agent first tools for understanding your project. From the Agent Manager view- ask Antigravity to explain the current project:

Detailed Project Breakdown with the Agent Manager
The Agent Manager has full visibility into the project and what it does:
This code sets up a multi-agent system using the Google Cloud ADK (Agent Development Kit) in Go. It orchestrates three agents to handle dice rolling and prime number checking.
Here is a breakdown of the components:
1. Agents
roll_agent (Local):
Purpose: Rolls a die with a specified number of sides.
Implementation: It's a local LLM agent (llmagent) using the gemini-2.5-flash model.
Tools: It has access to a custom Go tool called roll_die (implemented by
rollDieTool
), which generates a random number.
prime_agent (Remote):
Purpose: Checks if a number is prime.
Implementation: It connects to an external agent service running at http://localhost:8086 using the remoteagent package. This implies there is another service you need to run separately for this to work.
root_agent (Orchestrator):
Purpose: Acts as the main interface for the user.
Implementation: An LLM agent using gemini-2.5-flash.
Logic: It has instructions to delegate tasks:
"Roll a die" -> delegates to roll_agent.
"Check if X is prime" -> delegates to prime_agent.
"Roll a die and check if the result is prime" -> calls roll_agent first, then passes the result to prime_agent.
2. Main Execution Flow
Setup: The
main
function initializes all three agents.
Session Management: It creates an in-memory session service to track user interactions.
Server: It uses the launcher package to start an HTTP server (defaulting to port 8092). This server exposes the root_agent so it can receive requests, likely via an Agent-to-Agent (A2A) protocol.
Key Takeaway
This is an example of agent delegation. The root_agent doesn't know how to roll dice or check primes itself; instead, it intelligently routes those requests to specialized sub-agents (roll_agent and prime_agent).
Open Issues
The experimental browser feature does not pass through to Chrome. This feature the browser icon on the upper right hand area of the screen:

This will give an error:

Summary
The Linux development environment was enabled on a standard ChromeOS environment. Then Antigravity was installed and configured using the official Repos. The GO extension was added to the environment and a sample GO ADK project was loaded. Then, the Agent Manager was used to analyze the complete project.
Running Antigravity on ChromeOS / ChromeOS Flex was originally published in Google Cloud – Community on Medium, where people are continuing the conversation by highlighting and responding to this story.
Source Credit: https://medium.com/google-cloud/running-antigravity-on-chromeos-chromeos-flex-cbb6b53c1541?source=rss—-e52cf94d98af—4
