Starting with nothing more than a whiteboard sketch and photos of a real workbench, a developer prompts Gemini 4 Hydrogen inside Google Antigravity to synthesize an interactive MuJoCo simulation of a moving conveyor belt carrying mixed snacks. Hydrogen validates grasping trajectories across multiple simulated belt speeds, then deploys the verified controller to the physical robot arm—tuning gripper closure force and bin rules via follow-up chat prompts until live sorting succeeds in roughly one hour.
Because Hydrogen excels at both web engineering and spatial control, Google demonstrated a micro-business workflow where a single developer builds an online soap storefront and connects incoming orders directly to two YAM Pro robot arms. When a customer orders mint and citrus bars, the arms stage a packing bin, pick the exact SKUs from shelf trays, and pull a printed thank-you note from a thermal/desktop printer—achieving continuous all-day operation.
On an industrial FR3 Duo, a developer uses a handful of prompts to render a simulated MuJoCo chessboard, verify piece-grasping clearances, and transition the same spatial perception loop onto physical hardware capable of playing against itself or human opponents.
Use the first-run prompt below in Google Antigravity (with the Robotics plugin installed from the Build With Google shelf), or integrate gemini-4-hydrogen directly via the Gen AI SDK Interactions API for closed-loop camera-to-trajectory planning:
// Antigravity Quick-Start Prompt (USB Bring-Up)
"Bring up my SO-101 arm and make it wave."
// TypeScript (@google/genai v3.3.0+) — Spatial 3D Grasp Planning with Gemini 4 Hydrogen
import { GoogleGenAI } from "@google/genai";
const ai = new GoogleGenAI({ apiKey: process.env.GEMINI_API_KEY });
const interaction = await ai.clients.interactions.create({
model: "gemini-4-hydrogen",
input: [
{
type: "text",
text: "Inspect the overhead depth-camera frame. Return safe 3D grasp coordinates [x, y, z] and gripper width in mm to pick the citrus soap bar and place it into the packing bin."
},
{
type: "image",
data: overheadFrameBase64,
mime_type: "image/jpeg"
}
],
config: {
thinking_config: { thinking_level: "medium" },
response_mime_type: "application/json"
}
});
console.log(interaction.outputs);
Launch our companion Gemini 4 Hydrogen Robotics Studio [SIMULATED DEMO] to step interactively through USB arm bring-up, MuJoCo vibe-sim validation, conveyor snack sorting, dual-arm fulfillment, and ERQA vs. ER 2 benchmarks—or return to the Dual-Lens Flagship Essay.