API Reference
Auto-generated API documentation from the Kailash SDK source code.
- Workflow
- Runtime
- Overview
- Runtime Selection
- LocalRuntime
- AsyncLocalRuntime
- BaseRuntime
- Trust Runtime
- Durable Execution & Distributed Dispatch (v2.14.0+)
- CyclicWorkflowExecutor
- ParallelCyclicRuntime
- ParallelRuntime
- DockerRuntime
- TestingRuntime
- Runtime Comparison
- Custom Runtime Development
- Performance Optimization
- Error Handling
- Monitoring and Metrics
- See Also
- Nodes
- Workflow API Wrapper
- Middleware Components
- Access Control
- Tracking
- Monitoring & Alerting API
ValidationMetricsSecurityMetricsPerformanceMetricsAlertManagerAlertRuleAlertSeverityAsyncSQLMetricsenable_metrics()disable_metrics()get_global_metrics()set_global_metrics()record_lock_acquisition()record_pool_operation()set_active_locks()integrate_with_async_sql()- Metrics Collection
- Alert Management
- Usage Examples
- Visualization
- Utils
- CLI
Core SDK
Workflow
Builder pattern for creating Workflow instances. |
Runtime
|
Unified runtime with enterprise capabilities. |
Async-optimized runtime for Kailash workflows. |
|
|
Base class for all workflow runtimes. |
Trust
Trust context module for Kailash runtime (CARE-015, CARE-016, CARE-018). |
Nodes
See Nodes for the complete node reference covering 140+ node types organized by category (AI, API, Code, Data, Database, Logic, Monitoring, Transaction, Transform).
Frameworks
Kaizen (v1.2.1)
from kaizen.api import Agent
from kaizen.core.base_agent import BaseAgent
from kaizen.core.registry import AgentRegistry
See Kaizen – AI Agent Framework for framework documentation.
Nexus (v1.4.1)
from nexus import Nexus
from nexus.auth.plugin import NexusAuthPlugin, JWTConfig, TenantConfig
See Nexus – Multi-Channel Platform for framework documentation.
DataFlow (v0.12.1)
from dataflow import DataFlow
See DataFlow – Database Framework for framework documentation.
Import Quick Reference
# Core SDK
from kailash.workflow.builder import WorkflowBuilder
from kailash.runtime import LocalRuntime, AsyncLocalRuntime, get_runtime
from kailash.runtime.trust import (
RuntimeTrustContext,
TrustVerificationMode,
TrustVerifier,
TrustVerifierConfig,
)
from kailash.nodes.base import BaseNode, AsyncNode, NodeParameter
# Kaizen (AI Agents)
from kaizen.api import Agent
from kaizen.core.base_agent import BaseAgent
from kaizen.core.registry import AgentRegistry
# Nexus (Multi-Channel)
from nexus import Nexus
from nexus.auth.plugin import NexusAuthPlugin, JWTConfig, TenantConfig
# DataFlow (Database)
from dataflow import DataFlow