haive.core.schema.example ========================= .. py:module:: haive.core.schema.example .. autoapi-nested-parse:: from typing import Any. Haive Schema System Examples. This file demonstrates comprehensive usage of the Haive Schema System, including state creation, dynamic composition, reducers, and real-world patterns. Functions --------- .. autoapisummary:: haive.core.schema.example.example_basic_state_creation haive.core.schema.example.example_dynamic_composition haive.core.schema.example.example_engine_io_tracking haive.core.schema.example.example_parent_child_sharing haive.core.schema.example.example_real_world_agent_state haive.core.schema.example.example_reducer_behavior haive.core.schema.example.example_schema_merging haive.core.schema.example.example_schema_visualization haive.core.schema.example.example_serialization_patterns haive.core.schema.example.example_validation_and_custom_methods haive.core.schema.example.main Module Contents --------------- .. py:function:: example_basic_state_creation() Example 1: Basic state creation patterns. .. py:function:: example_dynamic_composition() Example 2: Dynamic schema composition. .. py:function:: example_engine_io_tracking() Example 5: Engine I/O tracking for complex workflows. .. py:function:: example_parent_child_sharing() Example 4: Parent-child graph state sharing. .. py:function:: example_real_world_agent_state() Example 8: Real-world agent state pattern. .. py:function:: example_reducer_behavior() Example 3: Understanding reducer behavior. .. py:function:: example_schema_merging() Example 7: Merging schemas from multiple sources. .. py:function:: example_schema_visualization() Example 10: Schema visualization and introspection. .. py:function:: example_serialization_patterns() Example 9: Serialization and persistence patterns. .. py:function:: example_validation_and_custom_methods() Example 6: Validation and custom methods. .. py:function:: main() Run all examples.