langgraph-state
Installation
SKILL.md
LangGraph State Management
Design and manage state schemas for LangGraph workflows.
TypedDict Approach (Simple)
from typing import TypedDict, Annotated
from operator import add
class WorkflowState(TypedDict):
input: str
output: str
agent_responses: Annotated[list[dict], add] # Accumulates
metadata: dict