LangGraph.js API Reference
Back to documentation
Preparing search index...
@langchain/langgraph-swarm
SwarmState
Variable SwarmState
Const
SwarmState
:
AnnotationRoot
<
{
activeAgent
:
{
Root
:
<
S
extends
StateDefinition
>
(
sd
:
S
)
=>
AnnotationRoot
<
S
>
;
()
:
LastValue
<
string
>
;
(
annotation
:
SingleReducer
<
string
,
string
>
,
)
:
BinaryOperatorAggregate
<
string
,
string
>
;
}
;
messages
:
BinaryOperatorAggregate
<
BaseMessage
<
MessageStructure
,
MessageType
>
[]
,
Messages
,
>
;
}
,
>
= ...
State schema for the multi-agent swarm.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Back to documentation
LangGraph.js API Reference
Loading...
State schema for the multi-agent swarm.