Semantic Kernel Python SDK - comprehensive AI development framework for building AI agents and multi-agent systems
—
Structured workflow and business process automation capabilities enabling the creation of complex, multi-step AI workflows with state management and orchestration.
Core class for building structured processes.
class ProcessBuilder:
"""
Builder for creating structured AI processes.
"""
def __init__(self):
"""Initialize process builder."""
def add_step(self, step: ProcessStep) -> ProcessBuilder:
"""
Add a step to the process.
Parameters:
- step: Process step to add
Returns:
Self for method chaining
"""
def build(self) -> Process:
"""
Build the complete process.
Returns:
Configured process ready for execution
"""
class TState:
"""
Type variable for process state management.
"""
passfrom semantic_kernel.processes import ProcessBuilder
# Create a simple process
process_builder = ProcessBuilder()
# Build the process
process = process_builder.build()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.
Install with Tessl CLI
npx tessl i tessl/pypi-semantic-kernel