haive.core.graph.node.stateful_integration_example¶

from typing import Any, Dict. Stateful Node Integration Example - How it works with SimpleAgent and LLMState.

This example shows how the stateful node architecture integrates with the existing SimpleAgent, LLMState, and MetaStateSchema to provide truly dynamic discovery.

Functions¶

complete_integration_example()

Complete example showing all components working together.

create_llm_state_with_dynamic_nodes()

Create LLMState that works with stateful nodes.

create_simple_agent_with_stateful_nodes()

Create a SimpleAgent that uses stateful nodes for dynamic discovery.

demonstrate_dynamic_field_configuration()

Show how nodes discover field configurations dynamically.

demonstrate_meta_state_composition()

Show how MetaStateSchema works with stateful nodes.

demonstrate_stateful_discovery()

Show how stateful nodes discover resources from state.

show_integration_with_simple_agent()

Show how stateful nodes integrate with existing SimpleAgent graph building.

Module Contents¶

haive.core.graph.node.stateful_integration_example.complete_integration_example()¶

Complete example showing all components working together.

Return type:

Dict[str, Any]

haive.core.graph.node.stateful_integration_example.create_llm_state_with_dynamic_nodes()¶

Create LLMState that works with stateful nodes.

Return type:

Any

haive.core.graph.node.stateful_integration_example.create_simple_agent_with_stateful_nodes()¶

Create a SimpleAgent that uses stateful nodes for dynamic discovery.

Return type:

Any

haive.core.graph.node.stateful_integration_example.demonstrate_dynamic_field_configuration()¶

Show how nodes discover field configurations dynamically.

Return type:

Any

haive.core.graph.node.stateful_integration_example.demonstrate_meta_state_composition()¶

Show how MetaStateSchema works with stateful nodes.

Return type:

Any

haive.core.graph.node.stateful_integration_example.demonstrate_stateful_discovery()¶

Show how stateful nodes discover resources from state.

Return type:

Any

haive.core.graph.node.stateful_integration_example.show_integration_with_simple_agent()¶

Show how stateful nodes integrate with existing SimpleAgent graph building.

Return type:

Any