Skip to main content

Crate agent_conversation_state

Crate agent_conversation_state 

Source
Expand description

agent-conversation-state: track state and phase transitions for LLM agents.

use agent_conversation_state::{ConversationState, Phase};

let mut state = ConversationState::new();
assert_eq!(state.phase(), Phase::Idle);
state.transition(Phase::GatheringInfo);
assert_eq!(state.phase(), Phase::GatheringInfo);

Structs§

ConversationState
Tracks conversation phase and context data.
Transition
A state transition record.

Enums§

Phase
Phase in the agent conversation lifecycle.