// "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'."
| 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'. |
Nexus is a zero-config multi-channel platform built on Kailash Core SDK that deploys workflows as API + CLI + MCP simultaneously.
Nexus transforms workflows into a complete platform with:
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.)
Nexus eliminates boilerplate:
Single deployment, three access methods:
Consistent session management:
Production-ready capabilities:
Use Nexus when you need to:
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}
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
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)
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
)
nexus = Nexus(workflows)
nexus.run(port=8000) # Single process, hot reload
from kailash.runtime import AsyncLocalRuntime
nexus = Nexus(
workflows,
runtime_factory=lambda: AsyncLocalRuntime()
)
nexus.run(host="0.0.0.0", port=8000, workers=4)
# Deploy multiple Nexus instances behind nginx/traefik
docker-compose up --scale nexus=3
| Feature | API | CLI | MCP |
|---|---|---|---|
| Access | HTTP | Terminal | MCP Clients |
| Input | JSON | Args/JSON | Structured |
| Output | JSON | Text/JSON | Structured |
| Sessions | ✓ | ✓ | ✓ |
| Auth | ✓ | ✓ | ✓ |
| Streaming | ✓ | ✓ | ✓ |
For Nexus-specific questions, invoke:
nexus-specialist - Nexus implementation and deploymentdeployment-specialist - Production deployment patternsframework-advisor - When to use Nexus vs other approaches