Licence
MIT
Version
0.0.5
Deps
3
Size
1 kB
Vulns
0
Weekly
0
Nexu.sh SDK & CLI
Nexu.sh provides a command-line interface (CLI) and underlying SDK core libraries to automate the deployment and management of AI agents and related backend infrastructure, primarily on AWS.
Core Features
This project aims to simplify the workflow for developers working with specific AI agent architectures and MCP (Model Context Protocol) servers through the following capabilities:
- Template-Based Deployment (
nexu deploy): Automates the provisioning of cloud infrastructure (e.g., AWS Lambda, CloudFormation stacks) based on pre-defined templates. This allows for consistent and rapid setup of common agent patterns.nexu deploy --template chatbot-rag --name my-agent-stack - Deployment Status Monitoring (
nexu status): Retrieves the current status and relevant details of a deployed stack using the@nexu-ai/corelibrary'sgetDeploymentStatusmethod. It provides information such as stack status (e.g.,CREATE_COMPLETE,UPDATE_IN_PROGRESS), creation/update timestamps, and output URLs (like API endpoints) when available.nexu status --name my-agent-stack - AWS Configuration (
nexu config): Assists in setting up local AWS credentials and region configurations necessary for the SDK to interact with AWS services.nexu config --profile default --region us-east-1 - Pre-configured Templates (
@nexu-ai/templates): Offers ready-to-use templates for common use cases (e.g., RAG Chatbot, Customer Service Assistant) as a starting point for deployments. See the Available Templates section. - MCP Hub Integration (
@nexu-ai/mcp-hub): Provides utilities or integration points for interacting with Model Context Protocol Hub servers (details specific to MCP Hub architecture).
Available Templates
The following templates are currently available for use with the deploy command:
chatbot-rag: Deploys a Retrieval-Augmented Generation chatbot architecture.customer-service-assistant: Sets up a basic customer service agent.document-processor: Infrastructure for an agent focused on document processing.sales-marketing-assistant: Template for a sales/marketing focused assistant.data-analysis-agent: Basic setup for a data analysis agent.
Installation (CLI)
npm install -g @nexu-ai/cli
Project Architecture (Monorepo)
This repository uses pnpm workspaces and Turborepo to manage the following packages:
@nexu-ai/cli: The command-line interface tool (nexu).@nexu-ai/core: Core SDK logic for deployment, status checks, and AWS interactions.@nexu-ai/shared: Shared TypeScript types, interfaces, and utility functions used across packages.@nexu-ai/templates: Contains the definitions and potentially the code for the deployable templates.@nexu-ai/mcp-hub: Code related to MCP Hub integration.
Development Setup
# 1. Clone the repository
git clone https://github.com/nexu-ai/node-sdk.git
cd node-sdk
# 2. Install dependencies (using pnpm and Makefile)
make install
# 3. Build all packages (using Makefile which invokes Turbo)
make build
# 4. Run packages in watch mode (using Turbo)
# Example: Run the CLI package in watch mode
pnpm turbo run dev --filter=@nexu-ai/cli
Contributing
Contributions are welcome! Please read our contribution guidelines before submitting a pull request.
License
This project is licensed under the MIT License.
Community
- Discord
- Documentation
- Author - Nicolás Silva