Enum Class AguiEventType

java.lang.Object
java.lang.Enum<AguiEventType>
io.agentscope.core.agui.event.AguiEventType
All Implemented Interfaces:
Serializable, Comparable<AguiEventType>, Constable

public enum AguiEventType extends Enum<AguiEventType>
Enumeration of all AG-UI protocol event types.
  • Enum Constant Details

    • RUN_STARTED

      public static final AguiEventType RUN_STARTED
      Indicates that an agent run has started.
    • RUN_FINISHED

      public static final AguiEventType RUN_FINISHED
      Indicates that an agent run has finished.
    • TEXT_MESSAGE_START

      public static final AguiEventType TEXT_MESSAGE_START
      Indicates the start of a text message.
    • TEXT_MESSAGE_CONTENT

      public static final AguiEventType TEXT_MESSAGE_CONTENT
      Contains text content for a message.
    • TEXT_MESSAGE_END

      public static final AguiEventType TEXT_MESSAGE_END
      Indicates the end of a text message.
    • TOOL_CALL_START

      public static final AguiEventType TOOL_CALL_START
      Indicates the start of a tool call.
    • TOOL_CALL_ARGS

      public static final AguiEventType TOOL_CALL_ARGS
      Contains arguments for a tool call.
    • TOOL_CALL_END

      public static final AguiEventType TOOL_CALL_END
      Indicates the end of a tool call.
    • TOOL_CALL_RESULT

      public static final AguiEventType TOOL_CALL_RESULT
      Contains the result of a tool call.
    • STATE_SNAPSHOT

      public static final AguiEventType STATE_SNAPSHOT
      Contains a snapshot of the current state.
    • STATE_DELTA

      public static final AguiEventType STATE_DELTA
      Contains a delta update to the state.
    • RAW

      public static final AguiEventType RAW
      A raw event with custom data.
    • CUSTOM

      public static final AguiEventType CUSTOM
      A custom event with structured data.
    • REASONING_START

      public static final AguiEventType REASONING_START
      Indicates the start of a reasoning/thinking phase.
    • REASONING_MESSAGE_START

      public static final AguiEventType REASONING_MESSAGE_START
      Signals the start of a reasoning message.
    • REASONING_MESSAGE_CONTENT

      public static final AguiEventType REASONING_MESSAGE_CONTENT
      Contains a chunk of content in a streaming reasoning message.
    • REASONING_MESSAGE_END

      public static final AguiEventType REASONING_MESSAGE_END
      Signals the end of a reasoning message.
    • REASONING_MESSAGE_CHUNK

      public static final AguiEventType REASONING_MESSAGE_CHUNK
      A convenience event to auto start/close reasoning messages.
    • REASONING_END

      public static final AguiEventType REASONING_END
      Indicates the end of a reasoning/thinking phase.
  • Method Details

    • values

      public static AguiEventType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AguiEventType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null