Vertex AI Agents: Anomaly Detection & Read-Only Properties
Vertex AI introduces a new `AgentAnomalyDetectionScope` resource with full CRUD, alongside extensive new methods for monitoring and analyzing agent sessions and invocations. This release also includes significant breaking changes, making 28 properties across various agent-related schemas read-only.
aiplatform.v1 (14)This release brings substantial new capabilities and breaking changes to Vertex AI. Developers must update their code as numerous properties have been made read-only. These include state in GoogleCloudAiplatformV1AgentAnomalyDetectionScope, location in GoogleCloudAiplatformV1AgentResource, various fields like agentDisplayName, agentStatus, agentType, location in GoogleCloudAiplatformV1AggregateAnalyzedSessionsResponseAgentAggregate, assessment, invocationId, invocationState in GoogleCloudAiplatformV1AnalyzedInvocation, and many more within GoogleCloudAiplatformV1AnalyzedSession, GoogleCloudAiplatformV1AnalyzedSessionSeveritySummary, GoogleCloudAiplatformV1ListAnalyzedSessionsResponseViewSummary, and GoogleCloudAiplatformV1MonitoredAgent. Any attempts to write to these fields will now fail.
A major new capability is the AgentAnomalyDetectionScope resource, now available with create, get, list, and delete methods under projects.locations.agentAnomalyDetectionScopes. This enables programmatic management of anomaly detection configurations for agents. Agent monitoring and analysis have been significantly expanded with new methods under projects.locations.monitoredAgents: clearTrainingData, disable, enable, get, and list. Furthermore, detailed session analysis is now possible via projects.locations.monitoredAgents.analyzedSessions.aggregate, get, and list, with even finer-grained analyzedInvocations.get and list methods. A new projects.locations.agents.search method provides enhanced discoverability for agents.
Generative AI models gain new thinkingLevel enum values and continuationToken fields for improved interaction management. Tool usage is enhanced with new toolCall and toolResponse structures in GoogleCloudAiplatformV1Part, along with dedicated GoogleCloudAiplatformV1PartToolCall and GoogleCloudAiplatformV1PartToolResponse schemas, and a new includeServerSideToolInvocations option in GoogleCloudAiplatformV1ToolConfig.
Vertex AI: Memory Banks, Agent Search, and Task Steering
Vertex AI v1beta1 introduces a powerful new `MemoryBanks` resource for managing persistent agent memory, alongside new methods for searching agents and steering active tasks. This update also includes breaking changes, making several properties read-only, which may require code adjustments.
aiplatform.v1beta1 (10)Developers can now leverage the new MemoryBanks resource under projects.locations.memoryBanks to create, retrieve, list, update, and delete memory banks, as well as retrieveScopes. This enables more sophisticated state management for AI applications. Agent discoverability is enhanced with the new projects.locations.agents.search method, which supports filtering and ordering. For finer control over agent tasks, the projects.locations.agents.tasks.steer method allows sending follow-up inputs or triggering scheduled tasks without needing a bidirectional stream.
Breaking Changes: Several properties have been made read-only. If your code attempts to write to these fields, it will now fail:
regionalEnableModelResponsesinGoogleCloudAiplatformV1beta1EnableModelResponsecreateTimeandupdateTimeinGoogleCloudAiplatformV1beta1MemoryBankenablementStateandpublisherEndpointinGoogleCloudAiplatformV1beta1RegionalEnableModelResponse
Additionally, OAuth scopes for discoveryengine.assist.readwrite and discoveryengine.serving.readwrite have been extended to more methods, deepening integration with Discovery Engine.