nexus

Deploy Python workflows as REST API, CLI, and MCP services.

1|Updated Mar 7, 2026
One-click install
npx skills add https://github.com/terrene-foundation/kailash-coc-claude-rs --skill nexus-terrene-foundation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nexus
Source: https://github.com/terrene-foundation/kailash-coc-claude-rs/tree/main/.claude/skills/03-nexus
Command: npx skills add https://github.com/terrene-foundation/kailash-coc-claude-rs --skill nexus-terrene-foundation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill eliminates the need to build separate interfaces for your workflows, allowing you to deploy them simultaneously as a REST API, a command-line tool, and an MCP service for AI agents.

Core Features & Use Cases

  • Multi-Channel Deployment: Expose a single workflow via API, CLI, and MCP.
  • Unified Sessions: Maintain consistent state across all channels.
  • Built-in Auth & Security: Includes JWT, RBAC, rate limiting, and input validation.
  • Use Case: Develop a customer management API that can be accessed by a web frontend (API), used by internal teams via CLI commands, and integrated with AI assistants (MCP) for natural language queries.

Quick Start

Use the nexus skill to create a new 'greet' handler that responds with a personalized greeting.

Frequently Asked Questions about nexus

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

FAQPage Schema
How do I expose a Python workflow as both a REST API and a CLI tool?

Multi-channel deployment allows you to expose a single Python workflow simultaneously as a REST API and a CLI tool. This eliminates the need to build and maintain separate interfaces for different access methods.

What is MCP deployment for AI agents?

MCP deployment for AI agents is the process of exposing workflows as an MCP service, enabling AI assistants to execute tasks and query data via natural language. It integrates with workflow orchestration to connect agent requests directly to backend logic.

How do I maintain session state across API, CLI, and MCP channels?

You maintain session state across API, CLI, and MCP channels using unified sessions, which ensure consistent state management across all deployed interfaces. This allows a single workflow to track context regardless of the access channel used.

Does multi-channel workflow deployment include built-in authentication and rate limiting?

Multi-channel workflow deployment includes built-in authentication and rate limiting features such as JWT, RBAC, and input validation. These enterprise security features are provided out of the box to protect deployed API, CLI, and MCP endpoints.

Can I use Kailash SDK for workflow orchestration with API and CLI deployment?

You can use Kailash SDK for workflow orchestration with API and CLI deployment through multi-channel service integration. The SDK handles backend orchestration while the deployment layer manages interface generation and unified session management.

What are the limitations of deploying workflows as multi-channel services?

A limitation of deploying workflows as multi-channel services is that it relies on Python and Kailash SDK for orchestration, meaning non-Python workflows require additional integration layers. The unified session design also requires all channels to share a compatible state model.