The lua features command provides an interactive interface for managing your AI agent’s capabilities, including Support Tickets, Knowledge Search (RAG), Web Search, and Inquiry Forms.
Copy
lua features
New in v2.6.0: Centralized control over agent features with instant enable/disable and context customization!
? What would you like to do? View feature details? Select feature: ✅ Support Tickets============================================================Feature: Support Tickets============================================================Name: ticketsStatus: ✅ ActiveContext/Instructions:Create and manage support tickets for customer issues.Track problems, add comments, and close resolved tickets.Use this when customers report problems or need help.Press Enter to continue...
Use for: Understanding what a feature does before enabling
Enable, disable, or update a feature
Copy
? What would you like to do? Manage a feature? Select feature: ❌ WebSearch? What would you like to do with "WebSearch"? › Activate feature Update context/instructions Update both status and context Back to main menu
Use for: Changing feature settings
Reload features from server
Copy
? What would you like to do? Refresh list🔄 Refreshing features...✅ Features refreshed successfully
Use for: Getting latest feature status after external changes
$ lua features? What would you like to do? Manage a feature
2
Choose Feature
Copy
? Select feature: ❌ WebSearch
3
Activate
Copy
? What would you like to do? Activate feature⚠️ This will enable "WebSearch" for your agent.? Are you sure? Yes🔄 Updating feature...✅ Feature "WebSearch" activated successfully
$ lua features? What would you like to do? Manage a feature? Select feature: ✅ Support Tickets
2
Deactivate
Copy
? What would you like to do? Deactivate feature⚠️ This will disable "Support Tickets" for your agent.? Are you sure? Yes🔄 Updating feature...✅ Feature "Support Tickets" deactivated successfully
Customize how your agent uses a feature by editing its instructions.
1
Select Feature
Copy
$ lua features? What would you like to do? Manage a feature? Select feature: ✅ Knowledge Search (RAG)
2
Update Context
Copy
? What would you like to do? Update context/instructionsOpening editor to modify feature context...
Your system editor opens with the current context:
Copy
Search the knowledge base for information.Use categories: FAQ, policies, instructions.Always cite sources when providing information.
3
Edit and Save
Modify the instructions:
Copy
Search the knowledge base for product information.Categories available:- FAQ: Common customer questions- policies: Company policies and procedures- instructions: How-to guides and documentationGuidelines:- Always cite sources with document names- If information is not found, say so clearly- Suggest related topics when helpful- Keep responses concise but complete
Save and exit your editor.
4
Confirm
Copy
? Do you want to save these changes? Yes🔄 Updating feature context...✅ Context updated successfully
Update both feature status and context in one operation.
1
Select Feature
Copy
$ lua features? What would you like to do? Manage a feature? Select feature: ❌ Create Inquiry forms
2
Choose Batch Update
Copy
? What would you like to do? Update both status and context? New status for "Create Inquiry forms": › Enable Disable
3
Edit Context
Your editor opens for context editing…Save your changes.
4
Review and Confirm
Copy
Summary of changes:- Status: Inactive → Active- Context: Updated? Do you want to apply these changes? Yes🔄 Updating feature...✅ Feature "Create Inquiry forms" updated successfully
$ lua features# Enable RAG as primary source→ Manage: ❌ Knowledge Search → Activate→ Update context: "Primary information source. Always check here first."✅ RAG enabled# Enable Web Search as backup→ Manage: ❌ Web Search → Activate→ Update context: "Use only when RAG doesn't have the answer."✅ WebSearch enabled# Disable transactional features→ Manage: ✅ Support Tickets → Deactivate→ Manage: ✅ Inquiry Forms → Deactivate✅ Focused on information only
✅ Good:"Use this feature to search our internal knowledge basefor product documentation, FAQs, and policies."❌ Bad:"Search stuff."
When to Use
Specify appropriate situations:
Copy
✅ Good:"Create a support ticket when:- Customer reports a bug- Issue requires technical team review- Problem cannot be solved immediatelyDo NOT create tickets for:- Simple questions answered in FAQ- Billing issues (escalate to billing team)- General information requests"❌ Bad:"Create tickets for problems."
Guidelines and Rules
Set boundaries and expectations:
Copy
✅ Good:"When using web search:1. Use for current events and real-time data2. Verify information with multiple sources3. Cite sources in your response4. If search fails, inform user honestly5. Don't rely on search for company-specific info"❌ Bad:"Search the web when needed."
Examples
Provide concrete examples:
Copy
✅ Good:"Example inquiry form fields:- Name (required)- Email (required)- Company name- Company size (1-10, 11-50, 51-200, 201+)- Budget range- Timeline for decision- Additional notes"❌ Bad:"Collect customer information."
Create support tickets for customer issues that require tracking.When to create tickets:- Technical problems or bugs- Feature requests- Issues requiring follow-up- Problems needing escalationTicket information to collect:- Clear description of the issue- Steps to reproduce (for bugs)- Customer impact level (low/medium/high)- Any relevant contextDo NOT create tickets for:- Simple questions (answer directly)- Billing issues (escalate to billing)- General information (use knowledge base)
Search the internal knowledge base for information.Categories available:- FAQ: Frequently asked questions- policies: Company policies and procedures- instructions: Step-by-step guides- products: Product documentationSearch best practices:1. Try specific queries first2. Use category filters when possible3. Always cite the document source4. If not found, try broader terms5. Suggest related topics when helpfulWhen information is not found:- Say so clearly and honestly- Offer to escalate if needed- Suggest alternative resources
Use web search for real-time, current information.Appropriate for:- Current events and news- Real-time data (stock prices, weather)- Recent industry updates- Public information not in knowledge baseNot appropriate for:- Company-specific information (use RAG)- Customer data or internal systems- Proprietary information- Historical company informationAlways:- Verify information quality- Cite sources with URLs- Cross-reference when possible- Note the date of information
Create inquiry forms to collect lead information.Standard fields to include:- Full name (required)- Email address (required)- Phone number (optional)- Company name- Company size- Industry- Budget range- Timeline- Specific needs/requirementsQualification questions:- What problem are you trying to solve?- Have you used similar solutions?- What's your timeline for implementation?- Who else is involved in the decision?After form submission:- Thank the prospect- Set expectations for response time- Offer immediate resources if available
# 1. Configure features for your agent typelua features# 2. Enable necessary features→ Activate relevant features# 3. Customize each feature's context→ Update context for each enabled feature# 4. Test with chatlua chat# Test each feature's behavior# 5. Iterate based on resultslua features→ Adjust context as needed
# 1. Enable test featurelua features→ Activate feature→ Add initial context# 2. Test in sandboxlua chat# Try using the feature# 3. Review and refine# Based on test results# 4. Update contextlua features→ Update context with improvements# 5. Test againlua chat# Verify improvements# 6. Deploy when satisfiedlua push skilllua deploy
# 1. Review current featureslua features→ View all features and their usage# 2. Disable unused features→ Deactivate features not being used# Improves performance and reduces complexity# 3. Optimize active features→ Update context for better behavior→ Add examples and guidelines# 4. Test optimizationlua chat# Verify improvements# 5. Monitor results# Check conversations in admin dashboardlua admin
# 1. Enable featureslua features→ Enable: tickets, rag# 2. Update persona to mention capabilitieslua persona sandbox# Add: "I can search our knowledge base and create support tickets"# 3. Test togetherlua chat# 4. Deploy bothlua push personalua push skill
# Development: Enable all features for testinglua features→ Activate: All features# Production: Enable only needed featureslua features→ Activate: tickets, rag→ Deactivate: webSearch, inquiry
# ✅ Good: Start with essentialslua features→ Enable: tickets, rag only# Test and add more as needed# ❌ Bad: Enable everything "just in case"→ Enable: All features# Adds complexity and potential confusion
Write Clear Context
Detailed instructions improve results:
Copy
# ✅ Good: Detailed context"Create support tickets for technical issues.Include: problem description, steps to reproduce,customer impact, and priority level."# ❌ Bad: Vague context"Create tickets for problems."
Test After Changes
Always test feature changes:
Copy
lua features→ Update contextlua chat# Immediately test the changes# Verify behavior matches expectations
Document Your Setup
Keep notes on feature configuration:
Copy
# In README.md or docs## Active Features- Support Tickets: Create for technical issues- Knowledge Search: Internal docs only- Web Search: Disabled (use internal knowledge)- Inquiry Forms: Disabled (not doing lead gen)
Review Regularly
Audit features periodically:
Copy
# Monthly reviewlua features→ Check active features→ Disable unused features→ Update context based on learnings→ Test improvements