# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from typing import Optional

from .._models import BaseModel
from .execution_ref import ExecutionRef

__all__ = ["AgentInvokeResponse"]


class AgentInvokeResponse(BaseModel):
    """Response with output from the agent and optional execution reference."""

    execution: Optional[ExecutionRef] = None
    """Execution reference for tracking"""

    output: Optional[object] = None
    """Output from the agent"""
