What problem does it solve?
Building and deploying applications that need to be accessible via multiple channels (API, CLI, AI agents via MCP) can be complex and time-consuming. This Skill provides comprehensive patterns for the Nexus multi-channel platform, enabling zero-configuration deployment and unified session management, simplifying application delivery.
Core Features & Use Cases
- Multi-Channel Access: Instantly expose your workflows via REST API, CLI, and Model Context Protocol (MCP).
- Zero-Configuration Deployment: Get your application running with minimal setup.
- Unified Sessions & Security: Manage user sessions and implement security best practices across all channels.
- Use Case: You've developed a set of Kailash workflows and need to expose them as a web API, a command-line tool, and integrate them with an AI agent. Nexus allows you to do this with a single
app.start() command.
Quick Start
Basic Nexus Application
from nexus import Nexus
from kailash.workflow.builder import WorkflowBuilder
app = Nexus() # Zero configuration!
workflow = WorkflowBuilder()
workflow.add_node("PythonCodeNode", "hello", {"code": "result = {'message': 'Hello from Nexus!'}"})
app.register("hello_workflow", workflow.build())
app.start() # Starts API, CLI, MCP channels