Overview
Utility commands provide quick access to the Lua Admin interface, documentation, and shell autocomplete setup.lua completion
Generate shell autocomplete
lua admin
Open admin dashboard
lua evals
Open evaluations dashboard
lua docs
Open documentation
New in v2.6.0: Shell autocomplete support for Bash, Zsh, and Fish!
lua completion
Generate shell autocomplete scripts for faster command-line workflows.New in v2.6.0: Enable tab completion for all Lua CLI commands and arguments!
What It Does
Generates shell-specific completion scripts that enable:- β Tab completion for all commands
- β Subcommand suggestions
- β Environment option suggestions (sandbox, staging, production)
- β Argument completion for push, env, persona, skills
- β Context-aware completions
Supported Shells
- Bash
- Zsh
- Fish
InstallationTest it
Completion Features
Main Commands
Main Commands
Tab completion for all Lua CLI commands:
Subcommands
Subcommands
Context-aware subcommand completion:
Environment Options
Environment Options
Environment selection for applicable commands:
Help Flags
Help Flags
Common flags available for all commands:
Verification
After installation, verify autocomplete is working:- Test Basic Completion
- Test Subcommands
- Test Environment
Troubleshooting
Completions not working
Completions not working
Problem: Tab completion doesnβt work after installationSolutions:
-
Restart your terminal or reload shell config:
-
Verify script was added correctly:
-
Try explicit installation:
Completions incomplete
Completions incomplete
Problem: Some commands complete, others donβtSolutions:
-
Regenerate completion script:
-
Check Lua CLI version:
Fish completions not loading
Fish completions not loading
Problem: Completions donβt work in Fish shellSolutions:
-
Verify file location:
-
Regenerate if missing:
- Restart Fish shell
Conflict with existing completions
Conflict with existing completions
Problem: Completions conflict with other toolsSolution:
Remove old completion and reinstall:
Benefits
Faster Workflow
Type less, complete more with tab
Discover Commands
See available options without docs
Fewer Typos
Autocomplete prevents mistakes
Better UX
Professional CLI experience
Advanced Usage
Multiple Shells
Multiple Shells
If you use multiple shells, install for each:
Team Setup
Team Setup
Add to team onboarding:
Docker/Remote
Docker/Remote
Include in Docker images:
lua admin
Launch the Lua Admin interface in your default browser.What It Opens
The Lua Admin Dashboard provides complete control over your agent: Conversations- π¬ View conversations in real-time
- π Reply to user messages
- π Monitor conversation quality
- π Search conversation history
- π Analyze user interactions
- π₯ Add users to your agent
- βοΈ Edit user permissions
- ποΈ Remove users
- π View user activity
- π User analytics
- π Generate new API keys
- ποΈ View existing keys
- ποΈ Revoke keys
- π Copy keys for development
- π Manage key permissions
- π± WhatsApp integration
- πΈ Instagram messaging
- βοΈ Email integration
- π Facebook Messenger
- π¬ Slack integration
- π SMS/Twilio
- π Website chat widget
- π Custom integrations
- π³ View current plan
- π Usage metrics
- π° Billing history
- π Update payment method
- π Upgrade/downgrade plan
Example
Requirements
- Must be authenticated (
lua auth configure) - Must be in a skill directory (has
lua.skill.yaml) - Configuration must contain
agent.agentIdandagent.orgId
Use Cases
Monitor Conversations
Monitor Conversations
- View live conversations
- See how users interact with your agent
- Identify areas for improvement
- Take over conversations if needed
Manage Team Access
Manage Team Access
- Add team members
- Set permissions (admin, developer, viewer)
- Manage API keys per user
- Control who can deploy
Connect Channels
Connect Channels
- Connect WhatsApp Business
- Set up Instagram messaging
- Configure email integration
- Add Slack workspace
- Enable Facebook Messenger
Review Analytics
Review Analytics
- View conversation metrics
- Check response times
- Monitor user satisfaction
- Track tool usage
- Analyze peak times
Manage Billing
Manage Billing
- Review usage this month
- Check billing history
- Update payment method
- Upgrade subscription
- Download invoices
Troubleshooting
Dashboard doesn't open
Dashboard doesn't open
Check:
- Run
lua auth configureto authenticate - Ensure
lua.skill.yamlexists (lua init) - Verify agent ID is in config
Wrong agent displayed
Wrong agent displayed
Check:
- Verify youβre in correct project directory
- Check
agentIdinlua.skill.yaml - Switch to correct agent directory
Permission denied
Permission denied
Check:
- Verify you have admin access
- Check with organization owner
- Request proper permissions
lua evals
Launch the Lua Evaluations Dashboard in your default browser.What It Opens
The Lua Evaluations Dashboard at https://evals.heylua.ai provides tools to test and evaluate your agent: Evaluation Features- π§ͺ Test your agent with predefined scenarios
- π View evaluation results and metrics
- π Track agent performance over time
- π Identify areas for improvement
- β Validate agent responses
Example
Requirements
- Must be authenticated (
lua auth configure) - Must be in a skill directory (has
lua.skill.yaml) - Configuration must contain
agent.agentId
Use Cases
Test Agent Responses
Test Agent Responses
- Run predefined test scenarios
- Validate agent behavior
- Check response quality
- Ensure consistency
Track Performance
Track Performance
- Monitor evaluation scores
- Compare across versions
- Identify regressions
- Measure improvements
Quality Assurance
Quality Assurance
- Run evaluations before deployment
- Validate production readiness
- Document test results
- Share with team
Troubleshooting
Dashboard doesn't open
Dashboard doesn't open
Check:
- Run
lua auth configureto authenticate - Ensure
lua.skill.yamlexists (lua init) - Verify agent ID is in config
Wrong agent displayed
Wrong agent displayed
Check:
- Verify youβre in correct project directory
- Check
agentIdinlua.skill.yaml - Switch to correct agent directory
lua docs
Launch this documentation in your default browser.What It Opens
Opens the complete Lua documentation at https://docs.heylua.ai Sections:- π Overview and getting started
- π Key concepts (Persona, Skills, Tools, Resources)
- β¨οΈ All CLI commands
- π Complete API reference
- πΌ 11 production-ready demos
- π¬ LuaPop chat widget guide
Example
Requirements
None - works from anywhereUse Cases
Quick Reference
Quick Reference
API Lookup
API Lookup
Find Examples
Find Examples
Share with Team
Share with Team
Keyboard Shortcut
Add to your shell profile for even faster access:Quick Comparison
| Command | Opens/Generates | Requires Auth | Use For |
|---|---|---|---|
lua completion | Shell completion script | β No | Tab completion, faster workflows |
lua admin | Admin dashboard | β Yes | Managing agent, conversations, billing |
lua evals | Evaluations dashboard | β Yes | Testing agent, tracking performance |
lua docs | Documentation | β No | Reference, examples, learning |

