Google Antigravity Python SDK — v0.1.4 Release Notes #72
karmel
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.
-
The v0.1.4 release of the Google Antigravity Python SDK introduces major architectural refactorings, public API standardizations, and key new capabilities. The release is centered on centralizing model configurations to natively support multi-model backends, exposing a new built-in Google Web Search capability, enabling environment variable passing for Model Context Protocol (MCP) servers, and simplifying the agent initialization flow by removing dynamic runtime registrations.
🌟 Key Highlights
SEARCH_WEBtool directly within the SDK, enabling agents to leverage Google Search for grounded real-time information retrieval, complete with new developer examples.📋 Detailed Changes
Model Context Protocol (MCP)
envfield inMcpStdioServer(@NTaylorMullen)Features & Enhancements
gemini_configoptions with a repeatedmodelscollection onAgentConfigandLocalAgentConfigto support robust backend model configuration (@NTaylorMullen)SEARCH_WEBtool in the SDK, wired internal serialization structures, and provided aweb_tools.pyrunnable example showing end-to-end web search grounding (@abhipatel12 )aspect_ratiowithin the image creation tool configuration (@abhipatel12)Content,Image,Document,Audio,Video,from_file,BuiltinTools, andSystemInstructions) directly under thegoogle.antigravityroot module for easier access (@NTaylorMullen)DecideHook,InspectHook, andTransformHookfrom the hooks package root (@NTaylorMullen)policypackage to clean up hook and workspace path validation dependencies (@NTaylorMullen)FileChangemodel andFileChangeKindenum fromtypes.pyto the specializedtriggerspackage (@NTaylorMullen)API Changes
register_hook()andregister_trigger()methods fromAgent, enforcing starting session config safety (@NTaylorMullen)run_interactive_loop()to accept a pre-configuredAgentConfiginstead of requiring an already started agent (@NTaylorMullen)ToolContextto wrap and derive fromConversationinstead ofConnectionto match its true conversation lifecycle scope (@NTaylorMullen)HookContextmethodsget()->get_state()andset()->set_state()to prevent name collisions with standard Python object/dictionary lookups (@NTaylorMullen)GenerationConfig,ModelEntry,_LegacyModelConfig,GeminiConfig, and the server-side URL context fields (@NTaylorMullen, @abhipatel)delete()andsignal_idle()from connection classes (@NTaylorMullen)ANTIGRAVITY_HARNESS_PATH(@NTaylorMullen)Bug Fixes
_is_asyncutility to correctly detect asynchronous callables wrapped withToolWithSchema, preventing async tools from being executed on synchronous threadpools (@NTaylorMullen)model_copyonAgentConfigto ensure stateful component references (hooks, triggers, tools) are fully preserved when deep-copying configuration states (@NTaylorMullen)AntigravityExecutionError(@NTaylorMullen).jpgand.jpegextensions gracefully (@karmel)Beta Was this translation helpful? Give feedback.
All reactions