Antigravity SDK 0.1.16
2026-08-31 릴리스 · 변경 항목 12개
breaking 1신기능 9수정 2
- 업그레이드 전에 먼저 확인하세요: breaking 1개
- 항목 아래 ▸ 원문을 누르면 영어 원문이 펼쳐집니다.
! breaking 1개
-
턴 및 세션 수준 보고 기능을 위해 Step.usage_metadata를 지원 중단한다
원문
[Patches] Step token usage deprecation: Deprecated Step.usage_metadata in favor of consolidated turn-level (ChatResponse.usage_metadata) and session-level (agent.conversation.total_usage) reporting.
+ 신기능 9개
-
새 에이전트와 설정의 기본 모델을 gemini-3.8-flash로 변경한다
# 모델·요금
원문
[Improvements] Default model update to Gemini 3.8 Flash: The default model for new agents and configurations has been updated to gemini-3.8-flash, delivering higher reasoning quality and stronger task performance. Developers can override this default by specifying model in their configuration:
-
작은 로컬 모델을 위한 최적화 설정을 적용하는 `.lightweight()` 메서드를 추가한다
# 에이전트
원문
[Improvements] Optimized lightweight agent configuration: New .lightweight() method on agent configurations (including LocalAgentConfig and LiteRTAgentConfig) applies preset optimizations for smaller, local-running models by configuring minimal tool sets, minimal prompting, and disabling background subagents:
-
API 키를 직접 제공하여 Vertex AI 익스프레스 모드에 연결하는 기능을 추가한다
# 보안·권한
원문
[Improvements] Vertex AI Express Mode (API key support): Developers can now connect to Vertex AI using Express mode by providing an API key directly on LocalAgentConfig(vertex=True, api_key="..."), simplifying authentication without needing full GCP project/location ADC setup:
-
호출 가능한 클래스 인스턴스 및 데이터클래스 메서드로 정의된 도구를 지원한다
원문
[Improvements] Support for callable class and dataclass tools: The SDK's ToolRunner now inspects and executes tools defined as callable class instances (functors) and dataclass methods, enhancing flexibility for custom tool implementations:
-
터미널 명령을 OS 수준 샌드박스에서 실행할 수 있도록 RunCommandConfig에 enable_sandbox 필드를 추가한다
# 보안·권한
원문
[Improvements] OS sandbox opt-in for commands: Added an enable_sandbox field to RunCommandConfig to allow developers to execute terminal commands within an OS-level sandbox environment:
-
genai.Content 객체의 미디어 블록을 지원하는 structconverter를 도입한다
# 모델·요금
원문
[Improvements] Support for genai.Content Media: Introduced a structconverter to support media blocks from genai.Content objects within the SDK, enabling richer multimodal interactions.
-
에이전트가 외부에서 중단될 때 트리거되는 StopHook 수명 주기 훅을 지원한다
# 훅
원문
[Fixes] Stop hook integration: Agents now support the StopHook lifecycle hook, triggered when an agent's execution is externally stopped, enabling custom cleanup and resource logging actions:
-
ToolWithSchema와 공개 호출 가능 프록시가 위치 인자와 키워드 인자를 모두 받도록 한다
원문
[Improvements] Tool invocation argument flexibility: ToolWithSchema and public callable proxies now accept both positional (args) and keyword arguments (*kwargs), matching standard Python function calling conventions.
-
mcp>=1.0 및 mcp 의존성을 모두 지원하도록 호환성을 넓힌다
# MCP·플러그인
원문
[Improvements] MCP dependency compatibility widening: The SDK now supports both mcp>=1.0 and mcp dependencies.
~ 수정 2개
-
자식 프로세스가 활성 가상 환경의 sys.executable을 사용하도록 하여 stdio MCP 서버 오류를 해결한다
# MCP·플러그인
원문
[Fixes] Tool runner stdio MCP environment: Resolved an issue in exported SDK examples where stdio MCP servers failed by ensuring child processes use sys.executable within the active virtual environment.
-
대화형 SDK 예제들이 AgentBehavior.INTERACTIVE를 일관되게 설정하도록 고친다
# 에이전트
원문
[Fixes] Interactive example agent behavior: Fixed interactive SDK examples (interactive_cli.py, human_in_the_loop.py) to consistently configure AgentBehavior.INTERACTIVE.
AI가 만든 요약입니다. 원문과 다르면 오류 제보해 주세요.