Claude Code Plugins

Community-maintained marketplace

Feedback

Kailash Nexus - zero-config multi-channel platform for deploying workflows as API + CLI + MCP simultaneously. Use when asking about 'Nexus', 'multi-channel', 'platform deployment', 'API deployment', 'CLI deployment', 'MCP deployment', 'unified sessions', 'workflow deployment', 'production deployment', 'API gateway', 'FastAPI alternative', 'session management', 'health monitoring', 'enterprise platform', 'plugins', 'event system', or 'workflow registration'.

Install Skill

1Download skill
2Enable skills in Claude

Open claude.ai/settings/capabilities and find the "Skills" section

3Upload to Claude

Click "Upload skill" and select the downloaded ZIP file

Note: Please verify skill by going through its instructions before using it.

SKILL.md

name nexus
description Kailash Nexus - zero-config multi-channel platform for deploying workflows as API + CLI + MCP simultaneously. Use when asking about 'Nexus', 'multi-channel', 'platform deployment', 'API deployment', 'CLI deployment', 'MCP deployment', 'unified sessions', 'workflow deployment', 'production deployment', 'API gateway', 'FastAPI alternative', 'session management', 'health monitoring', 'enterprise platform', 'plugins', 'event system', or 'workflow registration'.

Kailash Nexus - Multi-Channel Platform Framework

Nexus is a zero-config multi-channel platform built on Kailash Core SDK that deploys workflows as API + CLI + MCP simultaneously.

Overview

Nexus transforms workflows into a complete platform with:

  • Zero Configuration: Deploy workflows instantly without boilerplate
  • Multi-Channel Access: API, CLI, and MCP from single deployment
  • Unified Sessions: Consistent session management across all channels
  • Enterprise Features: Health monitoring, plugins, event system
  • DataFlow Integration: Automatic CRUD API generation
  • Production Ready: Deployment patterns, monitoring, troubleshooting

Latest Release: v1.1.0 (2025-10-24)

  • ✅ All 10 stub implementations fixed with production-ready solutions
  • ✅ Correct channel initialization flow (Nexus owns it, not ChannelManager)
  • ✅ Proper workflow registration (single path through Nexus.register())
  • ✅ Event logging system (v1.0) with real-time broadcasting planned (v1.1)
  • ✅ Plugin validation improvements
  • ✅ 248/248 unit tests passing

Quick Start

from nexus import Nexus

# Define workflow
workflow = create_my_workflow()

# Deploy to all channels at once
nexus = Nexus([workflow])
nexus.run(port=8000)

# Now available via:
# - HTTP API: POST http://localhost:8000/api/workflow/{workflow_id}
# - CLI: nexus run {workflow_id} --input '{"key": "value"}'
# - MCP: Connect via MCP client (Claude Desktop, etc.)

Reference Documentation

Getting Started

Core Concepts

Channel-Specific Patterns

Integration

Production & Operations

Key Concepts

Zero-Config Platform

Nexus eliminates boilerplate:

  • No FastAPI routes - Automatic API generation
  • No CLI arg parsing - Automatic CLI creation
  • No MCP server setup - Automatic MCP integration
  • Unified deployment - One command for all channels

Multi-Channel Architecture

Single deployment, three access methods:

  1. HTTP API: RESTful JSON endpoints
  2. CLI: Command-line interface
  3. MCP: Model Context Protocol server

Unified Sessions

Consistent session management:

  • Cross-channel session tracking
  • Session state persistence
  • Session-scoped workflows
  • Concurrent session support

Enterprise Features

Production-ready capabilities:

  • Health monitoring endpoints
  • Plugin system for extensibility
  • Event system for integrations
  • Comprehensive logging and metrics

When to Use This Skill

Use Nexus when you need to:

  • Deploy workflows as production platforms
  • Provide multiple access methods (API/CLI/MCP)
  • Build enterprise platforms quickly
  • Auto-generate CRUD APIs (with DataFlow)
  • Replace FastAPI/Flask with workflow-based platform
  • Create multi-channel applications
  • Deploy AI agent platforms (with Kaizen)

Integration Patterns

With DataFlow (Auto CRUD API)

from nexus import Nexus
from dataflow import DataFlow

# Define models
db = DataFlow(...)
@db.model
class User:
    id: str
    name: str

# Auto-generates CRUD endpoints for all models
nexus = Nexus(db.get_workflows())
nexus.run()

# GET  /api/User/list
# POST /api/User/create
# GET  /api/User/read/{id}
# PUT  /api/User/update/{id}
# DELETE /api/User/delete/{id}

With Kaizen (Agent Platform)

from nexus import Nexus
from kaizen.base import BaseAgent

# Deploy agents via all channels
agent_workflow = create_agent_workflow()
nexus = Nexus([agent_workflow])
nexus.run()

# Agents accessible via API, CLI, and MCP

With Core SDK (Custom Workflows)

from nexus import Nexus
from kailash.workflow.builder import WorkflowBuilder

# Deploy custom workflows
workflows = [
    create_workflow_1(),
    create_workflow_2(),
    create_workflow_3(),
]

nexus = Nexus(workflows)
nexus.run(port=8000)

Standalone Platform

from nexus import Nexus

# Complete platform from workflows
nexus = Nexus(
    workflows=[...],
    plugins=[custom_plugin],
    health_checks=True,
    monitoring=True
)
nexus.run(
    host="0.0.0.0",
    port=8000,
    workers=4
)

Critical Rules

  • ✅ Use Nexus instead of FastAPI for workflow platforms
  • ✅ Register workflows, not individual routes
  • ✅ Leverage unified sessions across channels
  • ✅ Enable health monitoring in production
  • ✅ Use plugins for custom behavior
  • ❌ NEVER mix FastAPI routes with Nexus
  • ❌ NEVER implement manual API/CLI/MCP servers when Nexus can do it
  • ❌ NEVER skip health checks in production

Deployment Patterns

Development

nexus = Nexus(workflows)
nexus.run(port=8000)  # Single process, hot reload

Production (Docker)

from kailash.runtime import AsyncLocalRuntime

nexus = Nexus(
    workflows,
    runtime_factory=lambda: AsyncLocalRuntime()
)
nexus.run(host="0.0.0.0", port=8000, workers=4)

With Load Balancer

# Deploy multiple Nexus instances behind nginx/traefik
docker-compose up --scale nexus=3

Version Compatibility

  • Current Version: v1.1.0 (2025-10-24)
  • Core SDK Version: 0.9.28+
  • DataFlow Version: 0.6.6+
  • Python: 3.8+

v1.1.0 Breaking Changes: None (all improvements are internal)

Channel Comparison

Feature API CLI MCP
Access HTTP Terminal MCP Clients
Input JSON Args/JSON Structured
Output JSON Text/JSON Structured
Sessions
Auth
Streaming

Related Skills

Support

For Nexus-specific questions, invoke:

  • nexus-specialist - Nexus implementation and deployment
  • deployment-specialist - Production deployment patterns
  • framework-advisor - When to use Nexus vs other approaches