core-sdk

Build and run Kailash workflow-based automation with node patterns and runtime execution.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Integrum-Global/new_project_template --skill core-sdk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: core-sdk
Source: https://github.com/Integrum-Global/new_project_template/tree/main/.claude/skills/01-core-sdk
Command: npx skills add https://github.com/Integrum-Global/new_project_template --skill core-sdk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires kailash.

What problem does it solve?

Understanding the foundational concepts of any SDK can be challenging. This Skill provides a comprehensive guide to the core Kailash SDK, covering essential patterns, best practices, and common pitfalls, enabling you to build robust and efficient workflows from day one.

Core Features & Use Cases

  • Workflow Fundamentals: Learn about workflow architecture, nodes, connections, and parameter passing.
  • Runtime Execution: Understand synchronous vs. asynchronous execution and how to choose the right runtime.
  • Best Practices: Guides on error handling, PythonCodeNode usage, and avoiding common mistakes.
  • Use Case: As a new Kailash developer, use this Skill to quickly grasp how to create your first workflow, connect nodes, pass parameters, and execute it, ensuring you follow best practices from the start.

Quick Start

Essential Workflow Pattern

from kailash.workflow.builder import WorkflowBuilder from kailash.runtime import LocalRuntime workflow = WorkflowBuilder() workflow.add_node("PythonCodeNode", "my_node", {"code": "result = 'Hello, Kailash!'"}) runtime = LocalRuntime() results, run_id = runtime.execute(workflow.build()) # ALWAYS .build() print(results["my_node"]["result"])

Frequently Asked Questions about core-sdk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a workflow with the Kailash SDK?

Build workflows using WorkflowBuilder to add nodes, define connections, and pass parameters. Create a builder instance, add nodes with configuration, call .build(), then execute via LocalRuntime or AsyncLocalRuntime to run your automation.

What's the difference between synchronous and asynchronous runtime execution?

LocalRuntime executes workflows synchronously, blocking until completion. AsyncLocalRuntime runs workflows asynchronously, allowing non-blocking execution. Choose based on whether your automation needs immediate results or can operate in the background.

How do I pass parameters between nodes in a Kailash workflow?

Parameters flow through node connections using 4-parameter connection syntax. Define outputs from one node, connect them to another node's inputs, and access results via the runtime's returned results dictionary keyed by node name.

Can I use Python code directly in Kailash workflows?

Yes, PythonCodeNode lets you embed custom Python code directly in workflows. Pass code as a configuration parameter, and the node executes it during workflow runtime, returning results to downstream nodes.

What error handling patterns work with Kailash workflows?

Kailash supports error handling through node-level validation and cyclic patterns for retry logic. Design workflows to capture exceptions, route failures to handler nodes, and use async patterns for fault tolerance across distributed execution contexts.

Does Kailash integrate with MCP and support enterprise monitoring?

Yes, Kailash includes MCP integration for protocol-based communication and enterprise-ready monitoring, validation, and debugging features. Auto runtime-detection adjusts execution context, supporting 110+ nodes and 29 configuration parameters for scalable automation.