0
# Process Framework
1
2
Structured workflow and business process automation capabilities enabling the creation of complex, multi-step AI workflows with state management and orchestration.
3
4
## Capabilities
5
6
### Process Builder
7
8
Core class for building structured processes.
9
10
```python { .api }
11
class ProcessBuilder:
12
"""
13
Builder for creating structured AI processes.
14
"""
15
16
def __init__(self):
17
"""Initialize process builder."""
18
19
def add_step(self, step: ProcessStep) -> ProcessBuilder:
20
"""
21
Add a step to the process.
22
23
Parameters:
24
- step: Process step to add
25
26
Returns:
27
Self for method chaining
28
"""
29
30
def build(self) -> Process:
31
"""
32
Build the complete process.
33
34
Returns:
35
Configured process ready for execution
36
"""
37
38
class TState:
39
"""
40
Type variable for process state management.
41
"""
42
pass
43
```
44
45
## Usage Examples
46
47
### Basic Process Creation
48
49
```python
50
from semantic_kernel.processes import ProcessBuilder
51
52
# Create a simple process
53
process_builder = ProcessBuilder()
54
55
# Build the process
56
process = process_builder.build()
57
```
58
59
Note: The process framework in Semantic Kernel is designed for complex workflow orchestration but the detailed API surface varies based on specific process runtime implementations (local, Dapr, etc.). The core ProcessBuilder and TState types provide the foundation for building structured AI workflows with state management capabilities.