Coverage for src/refinire/agents/flow/__init__.py: 100%

4 statements  

« prev     ^ index     » next       coverage.py v7.9.1, created at 2025-06-15 18:51 +0900

1""" 

2Refinire Flow - Workflow orchestration and execution 

3 

4This module provides workflow functionality for the Refinire AI agent platform: 

5- Flow orchestration engine for complex multi-step processes 

6- Step implementations for various workflow patterns 

7- Context management for shared state between steps 

8""" 

9 

10# Core workflow functionality 

11from .context import Context, Message 

12from .step import ( 

13 Step, 

14 FunctionStep, 

15 ConditionStep, 

16 ParallelStep, 

17 AgentPipelineStep, 

18 UserInputStep, 

19 ForkStep, 

20 JoinStep, 

21 DebugStep, 

22 create_simple_condition, 

23 create_lambda_step 

24) 

25from .flow import Flow, FlowExecutionError, create_simple_flow, create_conditional_flow 

26 

27__all__ = [ 

28 # Context management 

29 "Context", 

30 "Message", 

31 

32 # Step implementations 

33 "Step", 

34 "FunctionStep", 

35 "ConditionStep", 

36 "ParallelStep", 

37 "AgentPipelineStep", 

38 "UserInputStep", 

39 "ForkStep", 

40 "JoinStep", 

41 "DebugStep", 

42 "create_simple_condition", 

43 "create_lambda_step", 

44 

45 # Flow orchestration 

46 "Flow", 

47 "FlowExecutionError", 

48 "create_simple_flow", 

49 "create_conditional_flow" 

50]