Back
GoogleAntigravity
Local model support with LiteRT and LocalOpenAI, standardized evaluation presets, and custom subagent models
AI summary
Written by AI from the official notes. Check them for exact details.This release adds local model support and standardized evaluation presets, enhancing task management and customization options.
- Official local model support with LiteRTAgentConfig and LocalOpenAIAgentConfig.
- Introduced standardized evaluation preset for core coding evaluations.
- Enabled custom subagent model overrides for independent configuration.
- Built-in schedule tool activated by default for task management.
- Automatic lightweight presets applied for LiteRTAgentConfig.
Why it matters: Developers using the Antigravity SDK should care for improved local model integration and evaluation capabilities.
Full release notes15 changes
This release announces official Antigravity SDK local model support with first-class LiteRTAgentConfig and LocalOpenAIAgentConfig configurations, introduces a standardized evaluation preset (AgentConfig.eval()) for core coding evaluations, enables custom subagent model overrides, turns on the schedule tool by default across standard tool groups, and pairs background task management with command execution.
- Antigravity SDK + Local Models Support: Official local model support is now ready to use with first-class
LiteRTAgentConfigandLocalOpenAIAgentConfigconfigurations. Developers can execute on-device models with automated lightweight presets or integrate with local OpenAI-compatible endpoints. - Standardized Evaluation Preset (
AgentConfig.eval()): Adds a standardized, benchmark-ready preset that configures autonomous permissions, benchmark retry behavior, daemon execution in commands, and strips image generation and subagents to focus on core coding evaluations. - Custom Subagent Models: Allows developers to assign specific model targets to subagents independently of the root agent configuration.
- Built-in Schedule Tool: Enables the
scheduletool by default across standard tool groups, permitting agents and subagents to set timers and cron-based background jobs alongside task management. - Automatic Lightweight Presets for LiteRT: Instantiating
LiteRTAgentConfignow automatically applies optimized lightweight presets—including reduced prompt overhead and synchronous context compaction—without requiring an explicit call to.lightweight(). - Task Management Pairing: Automatically enables the
manage_tasktool wheneverrun_commandorscheduleis active, allowing background task lifecycle management. - LiteRT & Local Model Examples: Added getting-started guides and end-to-end examples demonstrating on-device execution with
LiteRTAgentConfig(Gemma 4 26B) and OpenAI-compatible local endpoints viaLocalOpenAIAgentConfig. - Sandbox Availability Warning: Added a session startup warning when
enable_sandbox=Trueis requested on an environment or OS backend where sandbox isolation cannot be enforced. - Extended JSON Schema Normalization: Added schema normalization support for OpenAPI and JSON Schema Draft 7 / 2020-12 keywords (such as
multipleOf,prefixItems, anddependentSchemas) and prevented accidental mutation of uppercase sample values. - Optimized ToolRunner Coercion: Improved type resolution for closure-scoped tools and forward-referenced
ToolContextparameters, and introduced TypeAdapter caching to accelerate tool call execution. - Top-Level
ServiceTierExport: Re-exportedServiceTierat the root package namespace for easier import parity. - Excluded
ASK_QUESTIONfrom Default Tools: ExcludedBuiltinTools.ASK_QUESTIONfromBuiltinTools.default(). Default configurations run autonomously; agents in headless workflows will no longer attempt interactive user prompts. To re-enable interactive questions, explicitly passBuiltinTools.ASK_QUESTIONinenabled_tools. - Single Compaction Threshold Dial: Simplified
CompactionConfigto a singletoken_thresholdproperty, deprecating legacy context token limits and interval dials. To configure context compaction, specifyCompactionConfig(token_threshold=...). - Service Tier Ingestion: Fixed an unhandled
ValueErrorwhen connecting via gateways reporting unlisted backend service tiers (such as Vertex AIPROVISIONED_THROUGHPUT) by safely ignoring unknown tier values while preserving token counts. - Removed Deprecated
modified_arguments_json: Removed the legacy JSON string fallback in tool hook interception in favor ofmodified_args.