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.