# SequentialAgentState

data class SequentialAgentState(val currentSubAgent: String) : AgentState

Persistent state of a SequentialAgent.

## Constructors

SequentialAgentState
Link copied to clipboard
constructor(currentSubAgent: String)

## Types

Companion
Link copied to clipboard
object Companion

## Properties

currentSubAgent
Link copied to clipboard
val currentSubAgent: String

Name of the current or next sub-agent.

## Functions

toStateValue
Link copied to clipboard
open override fun toStateValue(): TypedData.MapValue

Converts the state into an TypedData.MapValue.