編集

Google AI、Interactions APIが発表

Googleが「Interactions API」を発表した。これはGeminiモデルやエージェントと対話するための統一されたインターフェースであり、現在はパブリックベータとして提供されている。

このAPIは単一のRESTfulエンドポイント(/interactions)を提供し、モデルパラメータやエージェントパラメータを指定して対話を行う。またGemini Deep Research(deep-research-pro-preview-12-2025)へのアクセスがサポートされている。

python
from google import genai

client = genai.Client()

interaction = client.interactions.create(
    agent="deep-research-pro-preview-12-2025",
    input="Research the history of Google TPUs.",
    background=True
)

出展:Interactions API: A unified foundation for models and agents

編集