What You Get
When you runlua init, you get a minimal, clean project ready for you to build your agent:
Empty Agent
A clean slate - no example code cluttering your project
TypeScript Setup
Full type safety and configuration included
Ready to Deploy
All configuration files in place
Quick Start Guide
Step-by-step instructions included
Minimal vs Full Template
- Minimal (Default)
- With Examples
Quick Start (Minimal Template)
1
Initialize Your Project
2
Chat with Your Agent
3
Create Your First Tool
Create
src/skills/tools/GreetingTool.ts:4
Create a Skill
Create
src/skills/greeting.skill.ts:5
Add to Your Agent
Update
src/index.ts:6
Test & Deploy
Examples (—with-examples)
When you uselua init --with-examples, you get comprehensive examples:
Example Skills & Tools
- Platform APIs
- External APIs
- Advanced Patterns
UserDataTool.ts- User API (get/update user data)ProductsTool.ts- Products API (CRUD operations)BasketTool.ts- Baskets API (shopping cart)OrderTool.ts- Orders API (order management)CustomDataTool.ts- Data API (custom collections + semantic search)
Example Webhooks
HTTP endpoints for external integrations:Example Jobs
Scheduled background tasks:Example Processors
Using the Examples
Copy What You Need
Move the Entire Structure
Key Files
src/index.ts
Your agent’s main configuration:lua.skill.yaml
Auto-managed configuration file:Next Steps
Build Your First Skill
Step-by-step tutorial
Project Structure
Understanding file organization
API Reference
Available platform APIs
Best Practices
Tips for building great agents

