Skip to main content

What You Get

When you run lua 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

Creates a clean project with just the essentials:
Best for: Experienced developers who want a clean slate

Quick Start (Minimal Template)

1

Initialize Your Project

2

Chat with Your Agent

Select sandbox mode. Your agent works out of the box!
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 use lua init --with-examples, you get comprehensive examples:

Example Skills & Tools

  • 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:
Don’t manually edit skillId, webhookId, or jobId - they’re auto-managed by the CLI!

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