Google Antigravity Python SDK — v0.1.11 Release Notes #171
NTaylorMullen
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
The 0.1.11 release updates the default model to
gemini-3.7-flash, introduces session-level budget enforcement and turn termination stop reasons, Vertex AI Express Mode authentication and a new agent behavior setting that toggles betweein interactive and autonomous (the default). It also expands tool hook metadata, resolves string annotation coercion for postponed evaluation, and improves MCP server and subagent stability.🌟 Key Highlights
gemini-3.7-flash.BudgetConfigto define session-level usage limits (model invocations, tool invocations, and token budgets) andStopReasonenum (MAX_MODEL_CALLS_EXCEEDED,MAX_TOOL_CALLS_EXCEEDED,MAX_TOTAL_TOKENS_EXCEEDED,QUOTA_EXHAUSTED, etc.) to inspect turn termination causes.VertexEndpoint(api_key=...)andLocalAgentConfig(vertex=true, api_key=...), simplifying headless and non-GCP deployments.AgentBehavior. By default the SDK now has aAgentBehavior.AUTONOMOUSmode (used to beAgentBehavior.INTERACTIVE) to streamline scripting, background and headless interactions modes.PreToolHook,PostToolHook,PreTurnHook), allowing for cross functional instrumentation.🔧 Detailed Changes
New Features
BudgetConfig(max_model_calls, max_tool_calls, max_input_tokens, max_output_tokens, max_total_tokens)and exposed stop reason metadata on turn responses.api_keysupport acrossVertexEndpointand local agent configurations.step_idon tool hook payloads for chat thread context tracing.Model & Default Changes
gemini-3.6-flashtogemini-3.7-flash.AgentBehavior. Now defaults to autonomous (form interactive) to avoid unexpected interactive pause states during script execution. Override by settingCapabilitiesConfig(agent_behavior=AgentBehavior.INTERACTIVE).Bug Fixes & Maintenance
from __future__ import annotations, tool argument coercion failed on stringified types; resolved by resolving type annotations viatyping.get_type_hintsbefore type adaptation.All reactions