Skip to content

ReasoningEngine.create missing support for agent_framework, labels, and env configuration #6267

@FreddyAyala

Description

@FreddyAyala

Environment details

  • OS type and version: macOS (Darwin)
  • Python version: 3.9.6
  • pip version: latest
  • google-cloud-aiplatform version: 1.133.0

Steps to reproduce

  1. Define a ReasoningEngine using vertexai.preview.reasoning_engines or vertexai.reasoning_engines.
  2. Attempt to deploy it with ADK-specific metadata (labels, framework) required for Vertex AI Console features (traces, dashboards).
  3. Call ReasoningEngine.create(..., labels={"framework": "adk"}, agent_framework="google-adk").
  4. Failure: The create method raises a TypeError because these arguments are not supported, or (if omitted) the agent deploys but relies on GAPIC patching to be visible in the Console.

Code example

from vertexai.preview import reasoning_engines

# Currently impossible via SDK:
reasoning_engines.ReasoningEngine.create(
    my_agent,
    requirements=["google-cloud-aiplatform[adk]"],
    # 👇 These arguments are missing from the SDK signature
    agent_framework="google-adk",
    labels={"goog-vertex-reasoning-engine-framework": "adk"},
    env_vars=[{"name": "OTEL_TRACES_EXPORTER", "value": "otlp"}]
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: vertex-aiIssues related to the googleapis/python-aiplatform API.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions