Files
cleveractors-core/features/langgraph_state_management.feature
2026-05-27 21:41:03 +00:00

32 lines
947 B
Gherkin

Feature: LangGraph State Management
As a developer using CleverAgents
I want to use stateful LangGraph workflows
So that I can maintain state across execution steps
Background:
Given the CleverAgents reactive system is available with LangGraph support
Scenario: LangGraph with state management
Given I have a LangGraph configuration:
"""
{
"name": "stateful_graph",
"checkpointing": true,
"enable_time_travel": true,
"nodes": {
"accumulate": {
"type": "function",
"function": "add_to_state"
}
},
"edges": [
{"source": "start", "target": "accumulate"},
{"source": "accumulate", "target": "end"}
]
}
"""
When I create the graph
Then the graph should be created successfully
And the graph state should be persisted
And I should be able to time travel to previous states