TypedData

sealed class TypedData

A type-safe hierarchy for agent state variables, ensuring primitives don't collapse.

Inheritors

Types

Link copied to clipboard
data class BooleanValue(val value: Boolean) : TypedData

Represents a boolean value in the agent state.

Link copied to clipboard
data class DoubleValue(val value: Double) : TypedData

Represents a double value in the agent state.

Link copied to clipboard
data class IntValue(val value: Int) : TypedData

Represents an integer value in the agent state.

Link copied to clipboard
data class ListValue(val elements: List<TypedData>) : TypedData

Represents a list of state values.

Link copied to clipboard
data class LongValue(val value: Long) : TypedData

Represents a long value in the agent state.

Link copied to clipboard
data class MapValue(val fields: Map<String, TypedData>) : TypedData

Represents a map of state values.

Link copied to clipboard
data object NullValue : TypedData

Represents a null value in the agent state.

Link copied to clipboard
data class StringValue(val value: String) : TypedData

Represents a string value in the agent state.