Skip to main content

Crate ai_agents_state

Crate ai_agents_state 

Source
Expand description

State machine for AI Agents framework

Structs§

AggregationConfig
How to aggregate results from concurrent agents.
ChatManagerConfig
Chat manager config for controlling turn order.
ChatParticipant
A participant in a group chat.
ConcurrentStateConfig
Config for running multiple registry agents concurrently.
ContextExtractor
Extract structured data from conversation into context via LLM.
DebateStyleConfig
Debate-specific config for group chat.
GroupChatStateConfig
Group chat state config for multi-agent conversation.
GuardOnlyEvaluator
HandoffStateConfig
Config for a handoff state type.
LLMTransitionEvaluator
MakerCheckerConfig
Maker-checker-specific config for group chat.
PipelineStateConfig
Config for a pipeline state type.
StateConfig
StateDefinition
StateMachine
StateMachineSnapshot
StateMatcher
StateTransitionEvent
TerminationConfig
Termination config for group chat.
TimeMatcher
Transition
TransitionContext
VoteConfig
Voting config for concurrent agent aggregation.

Enums§

AggregationStrategy
ChatStyle
CompareOp
ConcurrentAgentRef
Either a plain agent ID string or a weighted entry.
ContextMatcher
DelegateContextMode
Context mode for delegated states.
GuardConditions
MaxIterationsAction
PartialFailureAction
PipelineStageEntry
A single stage in a pipeline state.
PromptMode
StateAction
TerminationMethod
TiebreakerStrategy
ToolCondition
ToolRef
TransitionGuard
TransitionTiming
TurnMethod
VoteMethod

Traits§

TransitionEvaluator

Functions§

compare_value
evaluate_conditions
evaluate_context_matchers
evaluate_expression
evaluate_guard
get_context_value
match_value