Skip to content

GoogleInteractionsAgent

Namespace: Vercel.AI.Google

public sealed class GoogleInteractionsAgent

An agent to call through the Interactions API: { agent: name } or { managedAgent: name } upstream.

Inheritance: object

View source

public GoogleInteractionsAgent(string agent)

Creates an agent input for a Gemini agent preset such as deep-research-pro-preview-12-2025.

Parameters

Name Type Description
agent string

View source

public string Agent { get; }

The agent name, sent as agent in the request body.

Value: string

View source

public static GoogleInteractionsAgent Managed(string managedAgent)

Creates an agent input for a managed agent you created on Google’s side.

Parameters

Name Type Description
managedAgent string

Returns: GoogleInteractionsAgent

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product