luxlabs
v1.0.20
Published
CLI tool for Lux - Upload and deploy interfaces from your terminal
Maintainers
Readme
luxlabs
Official CLI tool for Lux - Upload and deploy interfaces from your terminal.
Author: Jason Henkel at Lux Labs
Installation
npm install -g luxlabsQuick Start
# Authenticate with Lux
lux login
# Initialize a new interface project
lux interface init
# Start local development with hot reload
lux dev
# Deploy your interface
lux interface upCommands
Authentication
| Command | Description |
|---------|-------------|
| lux login | Authenticate with Lux (opens browser) |
| lux login --key <api-key> | Authenticate with an API key |
| lux logout | Log out from Lux |
Interface Management
| Command | Description |
|---------|-------------|
| lux interface init | Initialize a new interface project |
| lux interface up | Upload and deploy your interface |
| lux interface list | List all your interfaces |
| lux interface link | Link current directory to an interface |
| lux i <subcommand> | Shorthand alias for interface commands |
Development
| Command | Description |
|---------|-------------|
| lux dev | Start local dev server with tunnel |
| lux dev -p <port> | Specify custom port (default: 3000) |
| lux dev --no-tunnel | Disable tunnel (local only) |
| lux servers | List running dev servers |
| lux logs <interface> | View logs from a dev server |
Data Management
| Command | Description |
|---------|-------------|
| lux data tables | Manage database tables |
| lux data kv | Manage KV namespaces |
Storage
| Command | Description |
|---------|-------------|
| lux storage ls | List files in storage |
| lux storage get <key> | Download a file |
| lux storage put <key> <file> | Upload a file |
| lux storage rm <key> | Delete a file |
Workflows
| Command | Description |
|---------|-------------|
| lux workflows list | List all workflows |
| lux workflows get <id> | Get workflow details |
| lux workflows create | Create a new workflow |
| lux workflows publish <id> | Publish a workflow |
| lux flow <subcommand> | Shorthand alias |
Agents
| Command | Description |
|---------|-------------|
| lux agent list | List all agents |
| lux agent get <id> | Get agent details |
| lux agent create | Create a new agent |
| lux agent prompt <id> | View/edit agent prompt |
Knowledge Base
| Command | Description |
|---------|-------------|
| lux knowledge list | List knowledge bases |
| lux knowledge upload <file> | Upload to knowledge base |
| lux kb <subcommand> | Shorthand alias |
Voice Agents
| Command | Description |
|---------|-------------|
| lux voice-agents list | List voice agents |
| lux voice-agents create | Create a voice agent |
| lux va <subcommand> | Shorthand alias |
Secrets
| Command | Description |
|---------|-------------|
| lux secrets list | List organization secrets |
| lux secrets set <key> <value> | Set a secret |
| lux secrets get <key> | Get a secret value |
| lux secrets delete <key> | Delete a secret |
A/B Tests
| Command | Description |
|---------|-------------|
| lux ab-tests list-tests | List all A/B tests |
| lux ab-tests get-test <id> | Get test details |
| lux experiments <subcommand> | Alias for ab-tests |
Project Deployment
| Command | Description |
|---------|-------------|
| lux project deploy | Deploy project to GitHub |
| lux proj <subcommand> | Shorthand alias |
Preview & Testing
| Command | Description |
|---------|-------------|
| lux preview <interface-id> | Start interface preview |
| lux screenshot <interface-id> | Take a screenshot |
| lux click <interface-id> <selector> | Click an element |
| lux type <interface-id> <selector> <text> | Type into an element |
| lux eval <interface-id> <code> | Execute JavaScript |
| lux url <interface-id> | Get current URL |
| lux nav <interface-id> <url> | Navigate to URL |
Requirements
- Node.js >= 18.0.0
- npm or yarn
Support
For support and documentation, visit uselux.ai
For issues, visit GitHub Issues
License
Proprietary - See LICENSE file for details.
Copyright (c) 2024-2025 Lux AI Labs. All Rights Reserved.
