Repository navigation
Releases
Releases · googleapis/python-aiplatform
v2.11.0
2.11.0 (2026-12-03)
⚠ BREAKING CHANGES
- Restrict
AG2Agent.queryto its declared arguments.
Features
- Add AI content detection support (d3b5178)
- GenAI Client(evals) - Add get_import_evaluation_set_operation to poll an evaluation set import (5f33314)
- GenAI Client(evals) - Add Harbor dataset and task types to evaluation sets and items (b90054b)
- GenAI Client(evals) - Support Harbor datasets and import modes in import_evaluation_set (bbeab40)
- Support claude-sdk and openai-sdk as agent_framework values (0d06645)
- Support server-side tool invocations on Gemini Enterprise API (19c5df6)
Bug Fixes
- agentplatform: Normalize whole-number float artifact versions to int in AdkApp (57e53b4)
- Canonicalize A2A agent card interfaces and pin outbound credentials to target origin (0c72d10)
- Fall back when google-cloud-aiplatform is absent in ADK helpers. (8409dfa)
- GenAI Client(evals) - Resolve RubricMetric.FINAL_RESPONSE_QUALITY to final_response_quality_v2 by default (0baa7b2)
- GenAI Client(evals) - Send SessionInput.state as session_state in create_evaluation_run (41d1c16)
- Launch Prompt Optimizer jobs on the builtin-algorithm/apd image (a505a3d)
- Make httpx an optional import so Agent Engine modules load when httpx is not installed (e87ca39)
- Make service_account and service_account_project_number optional in PromptOptimizerConfig (68f636e)
- Raise API errors on mid-stream Agent Engine stream_query error frames (99fd15c)
- Raise background task errors reliably from wait() (8c47418)
- Reject reserved environment variable names before the agent is uploaded (0d97bfe)
- Restrict
AG2Agent.queryto its declared arguments. (acaa5a1) - Rewrite module paths in A2A unit tests for GitHub export (77a2ba1)
- Validate
user_idand fetch canonical sessions inAdkApp. (10e9927)
Documentation
- Document LLM Parser supported models and locations for RAG Engine (c3c7566)
- Update Agent Engine secret_env and runtime identity security guidance (f1068d9)
- Update the new brand name (5118cf4)
Miscellaneous Chores
- Release 2.11.0 (a291dee)
v2.10.0
2.10.0 (2026-11-17)
Features
- agentplatform: Add async
create,get,list,update,check_query_job, andrun_query_jobmethods toAsyncRuntimes(aef3811) - agentplatform: Add public async methods to
AsyncSandboxes,AsyncSandboxTemplates, andAsyncSandboxSnapshots(b5310fe) - Support security_schemes, security, and kwargs in create_agent_card (f419026)
Bug Fixes
- Allow clearing
env_vars/secret_envand updatingdeployment_specwithoutagentor source options inruntimes.update()andagent_engines.update()(24030fe) - GenAI Client(evals) - Fill the history variable of LLMMetric templates from conversation_history (25f383a)
Documentation
v2.9.0
2.9.0 (2026-11-12)
Features
- Add missing enum values to FinishReason and ReinforcementTuningThinkingLevel (73a1a09)
- Update discovery doc (9b3f296)
Bug Fixes
- Allow litellm<1.110.0 in evaluation extra, excluding 1.107.0 (10814f7)
- Migrate usage of mock to unittest.mock (dcf3026)
- Remove brittle client-side installation_scripts path validation in Agent Engine SDK (74d17cc)
- Support per-call timeout in Agent Engine A2A operations (d309536)
Documentation
- Update
AdkApp.async_stream_querydocstring for multimodalmessagedicts and add unit tests. (1b1f8fc)
v2.8.0
2.8.0 (2026-11-10)
Features
- Add service_account parameter to Model Garden deploy methods. (8779d73)
- GenAI SDK client(evals) - Add StepBasedLLMMetric for multi-step LLM-judge metrics over agent traces. (954c90d)
- GenAI SDK client(evals) - Support StepBasedLLMMetric in create_evaluation_metric. (84df3a7)
- Support
git_sourceinclient.runtimesfor deploying from public Git repositories (affc088) - Update discovery doc (720b112)
Bug Fixes
- Cap sentencepiece below 0.2.3 in the tokenization extras (bb5ff02)
- Fail open on any error resolving the project ID in the ADK framework. (2ec72e8)
- GenAI Client(evals) - Handle agent traces that end without a text event in run_inference (d62419a)
- Warn when the pipeline output bucket is not owned by the project, and add
aiplatform.init(enforce_bucket_ownership=True)to raise an error instead (27ee0dc)
v2.7.0
2.7.0 (2026-10-28)
Features
- Add support for Python 3.15 (9b9f2b3)
Bug Fixes
- Build the VPC-SC
psc_endpointURL ashttp://{psc_endpoint}:{port}inSandboxes.send_commandandws://{psc_endpoint}:{port}inSandboxes.generate_browser_ws_headers, instead ofhttps://{psc_endpoint}on 443. The sandbox router pod serves plain HTTP on the caller-supplied port (default 8080) and does not terminate TLS on 443, so the prior URLs hung onConnectTimeout. Non-VPC-SC branches are unaffected. (dd39926) - GenAI Evaluation: Lazily import scikit-learn in preview autorater_utils so importing vertexai.preview.evaluation doesn't require it (d6f690e)
- Model Garden deploy_publisher_model now honors dedicated_endpoint_disabled and spot without a machine type (5b3dba9)
- Model Garden list_deployable_models, list_models and list_publisher_model_deploy_options now read the catalog from us-central1 for clients in any location (1ba7a41)
- Preserve caller session_id as agent_engine:upstream_session_id on fallback session creation in AdkApp. (f1944ac)
- Resolve agentplatform metric objects in vertexai evals (46f4e55)
- Stop deserializing the staged agent from Cloud Storage during Agent Engine deployment (d02310f)
v2.6.0
2.6.0 (2026-10-20)
⚠ BREAKING CHANGES
- An existing value
DEPRECATEDis removed from enumState
Features
- Add ARCHIVED state to ReasoningEngineRuntimeRevision (faed3f4)
- Add client.memory_banks.update method. (0ac315e)
- Add context to Memory, MemoryRevision, and IntermediateExtractedMemory in Vertex AI v1beta1 (faed3f4)
- Add extra_context to EvaluationItemRequest (c0a8de2)
- Export ADK agent engine template logs to the Telemetry API (448abba)
- Onboard Vertex Model Garden to GenAI Python SDK: Add deploy_custom_model (46ae3d0)
- Support batch predict in Model Garden (6b2870f)
- Update discovery doc (b60bddc)
Bug Fixes
- An existing value
DEPRECATEDis removed from enumState(faed3f4) - GenAI Client(evals) - Default missing rubric verdicts to False (93c52a6)
- GenAI Client(evals) - Honor per-row tool_config in Gemini inference (48ce2ae)
- GenAI Client(evals) - Keep eval_case_index aligned with dataset rows (19b0c40)
- GenAI Client(evals) - Log serialization errors in show() instead of raising AttributeError (4b1ace9)
- GenAI Client(evals) - Parse JSON-string and OpenAI-style conversation_history (1d93955)
- GenAI Client(evals) - Serialize DataFrame-backed evaluation datasets to JSON (9e5c721)
Documentation
- A comment for field
create_timein message.google.cloud.aiplatform.v1beta1.Memoryis changed (faed3f4) - A comment for field
descriptionin message.google.cloud.aiplatform.v1beta1.Memoryis changed (faed3f4) - A comment for field
display_namein message.google.cloud.aiplatform.v1beta1.Memoryis changed (faed3f4) - A comment for field
expire_timein message.google.cloud.aiplatform.v1beta1.Memoryis changed (faed3f4) - A comment for field
factin message.google.cloud.aiplatform.v1beta1.Memoryis changed (faed3f4) - A comment for field
namein message.google.cloud.aiplatform.v1beta1.Memoryis changed (faed3f4) - A comment for field
scopein message.google.cloud.aiplatform.v1beta1.Memoryis changed (faed3f4) - A comment for field
ttlin message.google.cloud.aiplatform.v1beta1.Memoryis changed (faed3f4) - A comment for field
update_timein message.google.cloud.aiplatform.v1beta1.Memoryis changed (faed3f4)
Miscellaneous Chores
- Release 2.6.0 (ed98faa)
v2.5.0
2.5.0 (2026-10-13)
Features
- agentplatform: Add agent_card to AgentRuntimeConfig for runtimes.create and update (527b6dc)
Bug Fixes
- agentplatform: Allow opentelemetry-instrumentation-google-genai 1.x in agent_engines (7f08bd6)
- GenAI Client(evals) - Back off only on retryable errors in inference and agent-run retries (f6bf219)
- GenAI Client(evals) - Fix run_inference for local ADK agents and remote runtime N+1 (738e2b1)
- GenAI Client(evals) - Mirror the inference retry fix to agentplatform/private and vertexai (efa3980)
- GenAI Client(evals) - Pass client credentials and http_options to per-thread runtime clients (58c34ea)
- GenAI Client(evals) - Save Gemini agent run_inference results to dest (be0eb9a)
- GenAI Client(evals) - Send list and dict context to the evaluation service (2c2d69e)
- GenAI Client(evals) - Show intermediate_events as a conversation trace in show() (4d4ac8a)
- GenAI Client(evals) - Show N/A for missing summary scores in the comparison report (be4ea51)
- GenAI Client(evals) - Treat NaN and array cells as missing in eval DataFrames (b28737e)
- Raise google.genai.errors.APIError when Agent Engine create or update LROs fail (e631a16)
Documentation
v2.4.0
2.4.0 (2026-10-06)
Features
- Add per-step judges and cross-region routing to evals (5fa1455)
- GenAI Client(evals) - add EvaluationDataset.load_from_adk_eval_set (4c045e1)
- Surface the LRO name in Agent Engine create and update requests (b1378bb)
- Update discovery doc (39693a9)
Bug Fixes
- Replay session_events into a scratch session and delete it afterwards (3647753)