# This file was auto-generated by Fern from our API Definition.

import typing

from .agent_output_event import AgentOutputEvent
from .artifact_upload_event import ArtifactUploadEvent
from .context_limit_exceeded_event import ContextLimitExceededEvent
from .input_message_event import InputMessageEvent
from .thinking_event import ThinkingEvent
from .tool_input_event import ToolInputEvent
from .tool_output_event import ToolOutputEvent

AgentEvent = typing.Union[
    InputMessageEvent,
    ArtifactUploadEvent,
    ToolInputEvent,
    ToolOutputEvent,
    ThinkingEvent,
    AgentOutputEvent,
    ContextLimitExceededEvent,
]
