Skip to main content

🚀 Quick Start (5 Minutes)

Get from zero to your first deployed AI skill in minutes.
1

Install the CLI

npm install -g lua-cli
2

Set up authentication

lua auth configure
Choose Email and follow the prompts:
  1. Enter your email
  2. Check email for 6-digit code
  3. Enter the code
  4. Done! API key automatically generated and saved
3

Create your first skill

mkdir my-first-skill && cd my-first-skill
lua init
Choose “Create new agent” and follow prompts to set up your agent
4

Test it locally

lua test
Select a tool and try it out with different inputs!
Congratulations! You now have a working AI skill! 🎉

What You Just Created

When you ran lua init, you got:
  • ✅ Multiple skill examples
  • ✅ 30+ tool examples
  • ✅ Integration with all Lua platform APIs
  • ✅ TypeScript configuration
  • ✅ Ready to customize and deploy

Try These Commands

Test Individual Tools

lua test
Select tools to test:
  • get_weather - Enter city: “London”
  • search_products - Enter query: “laptop”
  • create_basket - Create a shopping cart

Test Your Tools

lua test
Try testing these tools:
  • get_weather - Enter “Tokyo”
  • search_products - Enter “laptop”
  • create_basket - Create a shopping cart
  • add_to_basket - Add items to cart

Test on Real Channels

Want to test your agent on WhatsApp, Facebook, Instagram, Email, or Slack without setting up your own channels?

Quick Testing Channels

Link your agent to existing Lua channels for instant testing on any platform

Next Steps

Common First Tasks

  1. Open src/tools/GetWeatherTool.ts
  2. Modify the execute function
  3. Save the file (auto-reloads in dev mode)
  4. Test in the chat interface
  1. Create src/tools/MyTool.ts
  2. Implement the LuaTool interface
  3. Add to skill in src/index.ts
  4. Run lua test to try it
lua push      # Upload version
lua deploy    # Deploy to production
  1. Delete tool files you don’t need from src/tools/
  2. Update src/index.ts to remove references
  3. Test with lua test

Need Help?