API Reference

Auto-generated API documentation from the Kailash SDK source code.

Core SDK

Workflow

kailash.workflow.builder.WorkflowBuilder([...])

Builder pattern for creating Workflow instances.

Runtime

kailash.runtime.local.LocalRuntime([debug, ...])

Unified runtime with enterprise capabilities.

kailash.runtime.async_local.AsyncLocalRuntime([...])

Async-optimized runtime for Kailash workflows.

kailash.runtime.base.BaseRuntime([debug, ...])

Base class for all workflow runtimes.

Trust

kailash.runtime.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