Power agent hubs or custom harnesses with the Antigravity SDK in one toolkit Google's Antigravity SDK provides developers with the runtime engine used in Antigravity 2.0 and the Antigravity CLI, enabling the construction of custom multi-agent control planes with declarative safety policies, real-time telemetry, and stateful multi-turn persistence. The SDK supports models like Gemini 3.1 Pro and Gemini 3.8 Flash, and includes lifecycle hooks for observability, a policy engine for steering, and session state management for auditability. Enterprise agent adoption isn’t one-size-fits-all. While many teams will opt for managed commercial platforms, such as Gemini Enterprise Agent Platform https://cloud.google.com/products/gemini-enterprise-agent-platform for turnkey agent deployment and governance, developers with bespoke workflows or custom execution engines often choose to build their own lightweight agent hubs. If you are building a centralized agent hub from the ground up, you need tools that run predictably, log everything, and stay in their sandbox. The Antigravity SDK https://antigravity.google/product/antigravity-sdk gives you the exact runtime engine used in Antigravity 2.0 and the Antigravity CLI, adding declarative safety policies, real-time telemetry, and stateful multi-turn persistence straight into your application. When the core runtime updates, your SDK agents get those optimizations automatically. That's why today, we're breaking down how the Antigravity SDK powers a complete multi-agent control plane. A multi-agent control plane monitors and manages LLM workloads. It shows you exactly what the agent is thinking, which tools it calls, and how it stores state. It consists of two critical components: 1. Antigravity SDK agent core : The runtime that manages model interactions like Gemini 3.1 Pro and Gemini 3.8 Flash , runs tools, generates thinking traces, and executes skills. 2. Observability and telemetry middleware : An event-driven layer powered by Antigravity SDK Lifecycle Hooks. It intercepts agent actions like step starts, thinking updates, and tool calls, and streams telemetry over WebSockets to your dashboard. Let's explore a scenario where an organization is building or maintains a custom agent hub and wants to integrate Antigravity SDK-powered agents. The problem : An operations engineer needs to monitor multiple active agents e.g., gemini-pro-agent , github-agent , email-agen t performing background research, document summarization, and task scheduling. Traditionally, observing agent progress requires: Tailing fragmented console logs across multiple terminal windows Manually inspecting JSON transcripts to diagnose stuck or failing tool calls Lack of visibility into which Skills or MCP connectors are loaded for a given agent session Difficulty tracking cumulative token usage and execution latency The solution : This post walks through each one: the streaming API for real-time observation, lifecycle hooks for telemetry and interception, the policy engine for steering, skills for capability management, and session state for persistence. With an SDK-powered dashboard, operators get a single view into what every agent is doing. What happens behind the scenes? When an operator or dashboard interacts with an Antigravity agent, the runtime coordinates execution through five core mechanisms: Session initialization and state attachment save dir & conversation id : The runtime initializes or reattaches to a session, binding execution to a root save dir . Multi-turn trajectory logs, tool receipts, and artifacts are preserved under traj-