AgentSkillsCN

nodes-reference

凯拉什 SDK 全部 110 多个节点的详尽节点参考文档,按类别分类整理:AI 节点、API 节点、代码节点、数据节点、数据库节点、文件节点、逻辑节点、监控节点、管理节点、事务节点以及转换节点。在咨询“节点参考”“可用节点”“节点列表”“AI 节点”“API 节点”“代码节点”“数据节点”“数据库节点”“文件节点”“逻辑节点”“监控节点”“事务节点”“转换节点”“哪些节点”“节点文档”或“节点能力”等相关问题时,可参考本指南。

SKILL.md
--- frontmatter
name: nodes-reference
description: "Comprehensive node reference documentation for all 110+ Kailash SDK nodes organized by category: AI, API, Code, Data, Database, File, Logic, Monitoring, Admin, Transaction, and Transform nodes. Use when asking about 'node reference', 'available nodes', 'node list', 'AI nodes', 'API nodes', 'code nodes', 'data nodes', 'database nodes', 'file nodes', 'logic nodes', 'monitoring nodes', 'transaction nodes', 'transform nodes', 'which nodes', 'node documentation', or 'node capabilities'."

Kailash Nodes - Complete Reference

Comprehensive reference documentation for all 110+ workflow nodes in Kailash SDK, organized by category.

Overview

Complete node catalog covering:

  • AI Nodes: LLM, vision, audio, embeddings
  • API Nodes: HTTP, webhooks, GraphQL
  • Code Nodes: Python, JavaScript execution
  • Data Nodes: Processing, transformation, validation
  • Database Nodes: CRUD, queries, transactions
  • File Nodes: Reading, writing, manipulation
  • Logic Nodes: Conditionals, loops, routing
  • Monitoring Nodes: Logging, metrics, alerts
  • Admin Nodes: System management
  • Transaction Nodes: ACID operations
  • Transform Nodes: Data transformation

Node Reference Documentation

Quick Access

By Category

AI & Machine Learning

  • nodes-ai-reference - AI and LLM nodes
    • LLMNode, AnthropicNode, OpenAINode
    • VisionNode, AudioNode
    • EmbeddingNode, ClassificationNode
    • OllamaNode (local LLMs)

API & Integration

  • nodes-api-reference - API integration nodes
    • APICallNode, HTTPRequestNode
    • WebhookNode, GraphQLNode
    • RESTClientNode, SOAPNode

Code Execution

  • nodes-code-reference - Code execution nodes
    • PythonCodeNode (primary)
    • JavaScriptNode, BashNode
    • CodeEvalNode, ScriptNode

Data Processing

  • nodes-data-reference - Data processing nodes
    • CSVReaderNode, CSVWriterNode
    • JSONParserNode, XMLParserNode
    • DataValidatorNode, DataTransformNode
    • FilterNode, MapNode, ReduceNode

Database Operations

  • nodes-database-reference - Database nodes
    • SQLQueryNode, AsyncSQLNode
    • DatabaseReadNode, DatabaseWriteNode
    • TransactionNode, BulkInsertNode
    • (Plus DataFlow auto-generated nodes)

File Operations

  • nodes-file-reference - File system nodes
    • FileReaderNode, FileWriterNode
    • DirectoryReaderNode, DirectoryCreatorNode
    • FileWatcherNode, FileCopyNode
    • ZipNode, UnzipNode

Logic & Control Flow

  • nodes-logic-reference - Logic and routing nodes
    • SwitchNode (conditional routing)
    • IfElseNode, LoopNode
    • MergeNode, SplitNode
    • DelayNode, TimeoutNode
    • CycleNode (cyclic workflows)

Monitoring & Observability

  • nodes-monitoring-reference - Monitoring nodes
    • LoggerNode, MetricsNode
    • AlertNode, HealthCheckNode
    • TracingNode, AuditNode

Admin & Management

  • nodes-admin-reference - Admin nodes
    • ConfigNode, SecretManagerNode
    • EnvironmentNode, SchedulerNode
    • CacheNode, QueueNode

Transactions

  • nodes-transaction-reference - Transaction nodes
    • TransactionBeginNode, TransactionCommitNode
    • SagaNode, CompensateNode
    • TwoPhaseCommitNode

Data Transformation

  • nodes-transform-reference - Transform nodes
    • MapperNode, AggregatorNode
    • EnrichNode, NormalizeNode
    • FormatNode, ConvertNode

Node Selection Guide

By Use Case

AI & LLM Tasks → Use AI nodes (nodes-ai-reference)

  • Text generation: LLMNode, OpenAINode, AnthropicNode
  • Vision: VisionNode
  • Audio: AudioNode
  • Local LLMs: OllamaNode

API Integration → Use API nodes (nodes-api-reference)

  • REST APIs: APICallNode, HTTPRequestNode
  • Webhooks: WebhookNode
  • GraphQL: GraphQLNode

Custom Logic → Use Code nodes (nodes-code-reference)

  • Python: PythonCodeNode (recommended)
  • JavaScript: JavaScriptNode
  • Shell: BashNode

Database Work → Use Database nodes (nodes-database-reference)

  • SQL queries: SQLQueryNode, AsyncSQLNode
  • CRUD with DataFlow: Auto-generated nodes

File Operations → Use File nodes (nodes-file-reference)

  • Reading files: FileReaderNode
  • Bulk operations: DirectoryReaderNode
  • File watching: FileWatcherNode

Conditional Logic → Use Logic nodes (nodes-logic-reference)

  • Simple conditions: SwitchNode
  • Complex routing: IfElseNode
  • Loops: LoopNode, CycleNode

Data Processing → Use Data nodes (nodes-data-reference)

  • CSV: CSVReaderNode, CSVWriterNode
  • JSON: JSONParserNode
  • Validation: DataValidatorNode

Monitoring → Use Monitoring nodes (nodes-monitoring-reference)

  • Logging: LoggerNode
  • Metrics: MetricsNode
  • Alerts: AlertNode

Critical Node Patterns

String-Based API

python
workflow.add_node("PythonCodeNode", "node1", {
    "code": "result = input_data * 2"
})

Parameter Passing

python
workflow.add_connection("node1", "result", "node2", "input_data")

Common Nodes

  • PythonCodeNode: Most flexible, use for custom logic
  • SwitchNode: Conditional routing based on values
  • CSVReaderNode: Reading CSV files
  • APICallNode: HTTP API calls
  • LoggerNode: Debug and production logging

When to Use This Skill

Use this skill when you need to:

  • Find the right node for a task
  • Understand node capabilities
  • Look up node parameters
  • See node usage examples
  • Compare similar nodes
  • Explore available nodes by category

Related Skills

Support

For node-related questions, invoke:

  • pattern-expert - Node pattern recommendations
  • sdk-navigator - Find specific nodes
  • dataflow-specialist - DataFlow-generated nodes