Skip to main content

Overview

Explore 15 complete, production-ready AI agent implementations across different industries and IoT use cases. Each demo shows full TypeScript code using the v3.0.0 LuaAgent pattern with external APIs, Lua Platform APIs, and edge computing.
All demos updated for v3.0.0: Every demo now uses LuaAgent for unified configuration, showing how to combine skills, webhooks, jobs, and processors in real-world applications.

Customer-Facing

6 demos for end-user interactions

Internal Operations

5 demos for business operations

IoT & Edge Computing

4 demos for Raspberry Pi and hardware control

v3.0.0 Features

All demos use LuaAgent pattern with webhooks, jobs, and processors where applicable

External APIs

Stripe, Zendesk, Plaid, UPS, MLS, BambooHR, and more

Platform APIs

Products, Baskets, Orders, Data (vector search), Jobs, Templates

Edge APIs

Custom Flask APIs on Raspberry Pi for GPIO, sensors, and camera

Production-Ready

Complete code with error handling, validation, and best practices

v3.0.0 Features in Demos

See real-world usage of v3.0.0 features across different demos:
Used in: ALL demosEvery demo shows proper agent configuration:
export const agent = new LuaAgent({
  name: "demo-agent",
  persona: "...",
  skills: [...],
  webhooks: [...],
  jobs: [...]
});

Customer-Facing Agents

1. E-commerce Shopping Assistant

E-commerce Assistant

Complete shopping experience using Lua Platform APIsFeatures: Product search, cart management, checkout, order trackingAPIs: Products, Baskets, Orders (Lua Platform)Use case: Online stores, marketplaces

2. Customer Support Agent

Customer Support

Support automation with Zendesk + knowledge baseFeatures: Knowledge base search, ticket creation, status trackingAPIs: Zendesk API (external) + Lua Data (vector search)Use case: Help desks, customer service teams

3. Financial Services Onboarding

Financial Onboarding

KYC onboarding with document verificationFeatures: Document upload, identity verification, qualifying questions, account creationAPIs: Stripe Identity API (external) + Lua Data (applications)Use case: Banks, fintech, investment platforms

4. Hotel Booking Agent

Hotel Booking

Reservation management with availability checkingFeatures: Room search, bookings, cancellations, room serviceAPIs: Lua Data API (rooms, reservations)Use case: Hotels, resorts, vacation rentals

4. Restaurant Ordering System

Restaurant Ordering

Food ordering and table reservationsFeatures: Menu browsing, order placement, reservationsAPIs: Lua Products API (menu) + Data API (orders)Use case: Restaurants, cafes, food services

5. Real Estate Assistant

Real Estate

Property search with MLS integrationFeatures: Property search, viewings, favorites, comparisonsAPIs: MLS API (external) + Lua Data (cache, favorites)Use case: Real estate agencies, property management

Internal-Facing Agents

8. HR Operations Assistant

HR Assistant

Employee management with BambooHR integrationFeatures: Employee lookup, time off requests, policy searchAPIs: BambooHR API (external) + Lua Data (policies)Use case: HR departments, employee self-service

9. Finance Operations Agent

Finance Operations

Banking operations with Plaid integrationFeatures: Account balances, transactions, transfersAPIs: Plaid API (external banking)Use case: Finance teams, accounting, treasury

10. SaaS Onboarding Assistant

SaaS Onboarding

User onboarding with product API integrationFeatures: Account creation, documentation search, usage trackingAPIs: Your SaaS API (external) + Lua Data (docs)Use case: SaaS products, internal tools

11. Healthcare Patient Portal

Healthcare Portal

Patient services with EMR integrationFeatures: Appointments, medical records, prescriptionsAPIs: EMR/FHIR API (external) + Lua Data (health info)Use case: Healthcare providers, patient portals

12. Logistics & Shipping Tracker

Logistics Tracker

Multi-carrier package trackingFeatures: Track packages (UPS, FedEx, USPS), rate comparisonAPIs: UPS, FedEx, USPS APIs (all external)Use case: Logistics, shipping, warehouse operations

IoT & Edge Computing Agents

Control physical hardware and sensors on Raspberry Pi through natural language. All demos use a lightweight Flask Edge API running on the Pi.

13. Smart Light / GPIO Control

Smart Light Control

Control GPIO relays and LEDs via chatFeatures: Turn devices on/off, scheduled automation, safe GPIO controlHardware: Raspberry Pi + relay module + gpiozeroUse case: Home automation, smart lighting, device control

14. Greenhouse Climate Monitor

Greenhouse Climate

Monitor temperature, humidity, and pressure with BME280Features: Real-time readings, automated alerts, historical trackingHardware: Raspberry Pi + BME280 sensor (I²C)Use case: Greenhouses, server rooms, environmental monitoring

15. Security Camera Snapshot

Security Camera

Capture photos on-demand with Pi CameraFeatures: On-demand capture, scheduled snapshots, motion-triggered photosHardware: Raspberry Pi + Camera Module 3/HQ + rpicam-stillUse case: Security monitoring, time-lapse, remote observation

16. Door Access Control

Door Assistant

WhatsApp-controlled door locks for hotels and apartmentsFeatures: Guest access verification, time-window control, audit logging, WhatsApp integrationHardware: Raspberry Pi + relay + 12V electric strike/maglockUse case: Hotels, apartments, coworking spaces, vacation rentals

API Integration Breakdown

External APIs Used

DemoExternal APIsPurpose
Customer SupportZendeskTicket management
Real EstateMLSProperty listings
HR AssistantBambooHREmployee data
FinancePlaidBanking operations
SaaS OnboardingYour APIProduct integration
HealthcareEMR/FHIRMedical records
LogisticsUPS/FedEx/USPSShipping tracking
Smart LightEdge API (Flask)GPIO relay control
GreenhouseEdge API (Flask)BME280 sensor readings
CameraEdge API (Flask)Photo capture (rpicam-still)
Door AssistantEdge API (Flask)GPIO relay + access control

Lua Platform APIs Used

DemoPlatform APIsPurpose
E-commerceProducts, Baskets, OrdersShopping workflow
Customer SupportDataKnowledge base search
Hotel BookingDataReservations, rooms
RestaurantProducts, DataMenu, orders
Real EstateDataProperty cache, favorites
HR AssistantDataPolicy search
SaaS OnboardingDataDocumentation search
HealthcareDataHealth information
GreenhouseDataClimate history tracking
CameraDataPhoto metadata logging
Door AssistantDataGuest access control + audit logs

Edge APIs Used

|| Demo | Edge Technology | Hardware | |------|-----------------|----------| | Smart Light | Flask + gpiozero | Raspberry Pi + relay module | | Greenhouse | Flask + BME280 library | Raspberry Pi + BME280 (I²C) | | Camera | Flask + rpicam-still | Raspberry Pi + Camera Module 3/HQ | | Door Assistant | Flask + gpiozero | Raspberry Pi + relay + electric strike |

Integration Patterns Demonstrated

Finance, Logistics100% external API integration
  • Plaid for banking
  • UPS/FedEx for shipping
Shows: Complete custom integration

Learning Paths by Feature

Choose demos based on what v3.0.0 features you want to learn:
Every demo shows the v3.0.0 agent pattern
  • How to configure agent with persona
  • Adding skills to agent
  • Welcome message best practices
  • Complete agent structure
Start with: E-commerce (simplest) or Customer Support (comprehensive)
Demos with webhook integration:
  • E-commerce Assistant - Stripe payment webhooks
  • Customer Support - Zendesk ticket webhooks
  • Financial Onboarding - Identity verification webhooks
  • Camera (IoT) - Motion-triggered captures
Learn: HTTP event handling, signature verification, real-time updates, hardware triggers
Demos with scheduled tasks:
  • HR Assistant - Daily attendance reports
  • Finance Operations - Weekly reconciliation
  • Customer Support - Follow-up reminders
  • Smart Light (IoT) - Automated on/off schedules
  • Greenhouse (IoT) - Hourly climate monitoring
  • Camera (IoT) - Daily snapshots
Learn: Cron patterns, scheduled notifications, automated reports, hardware automation
Demos with message filtering:
  • Healthcare Portal - Patient consent verification
  • Financial Onboarding - Information validation
  • Customer Support - Business hours filtering
  • Door Assistant (IoT) - Rate limiting for security
Learn: Content filtering, routing, validation, rate limiting, security patterns
Demos with response formatting:
  • Healthcare Portal - Medical disclaimers
  • Financial Onboarding - Compliance footers
  • Customer Support - Branding and signatures
Learn: Adding disclaimers, branding, formatting, personalization
Demos with hardware integration:
  • Smart Light - GPIO control with relays and LEDs
  • Greenhouse - I²C sensor reading (BME280)
  • Camera - Photo capture with rpicam-still
  • Door Assistant - WhatsApp access control with time-window validation
Learn: Edge APIs, Flask on Pi, gpiozero, hardware control via chat, WhatsApp integration, access control, security patterns

Code Complexity Levels

  • E-commerce: Platform APIs only
  • Hotel Booking: Lua Data API
  • Restaurant: Products + Data
Great for learning Platform APIs and basic LuaAgent configuration
  • Customer Support: Zendesk + vector search + webhooks + jobs
  • Real Estate: MLS + Lua Data
  • HR Assistant: BambooHR + Lua Data + jobs
  • SaaS Onboarding: Your API + Lua Data
  • Smart Light (IoT): Edge API + GPIO control + jobs
  • Greenhouse (IoT): Edge API + I²C sensors + jobs
  • Camera (IoT): Edge API + rpicam-still + jobs + webhooks
  • Door Assistant (IoT): Edge API + WhatsApp + access control + preprocessors
Shows hybrid integration patterns with v3.0.0 features and hardware control
  • Finance: Plaid banking integration + jobs
  • Healthcare: FHIR-compliant EMR + pre/post processors
  • Logistics: Multi-carrier APIs
  • Financial Onboarding: Stripe Identity + webhooks + processors
Complex external integrations with full v3.0.0 feature usage

v3.0.0 LuaAgent

Every demo shows:
  • Proper agent configuration
  • Persona best practices
  • Welcome message patterns
  • Skill organization

API Integration

You’ll see how to:
  • Call external APIs (Stripe, Zendesk, etc.)
  • Use Platform APIs (Products, Data, etc.)
  • Mix both approaches
  • Handle authentication

Advanced Features

Selected demos show:
  • Webhooks for external events
  • Jobs for scheduled tasks
  • PreProcessors for validation
  • PostProcessors for compliance

Production Patterns

Best practices:
  • Error handling
  • Input validation
  • Security patterns
  • Testing strategies

Quick Start with Demos

1

Choose a Demo

Pick one that matches your industry or use case
2

Copy the Code

All code is production-ready and copy-paste friendly
3

Set Environment Variables

Add required API keys to .env file
4

Test Locally

lua chat  # Primary testing
lua test  # Optional: Specific tools
5

Customize

Modify for your specific needs
6

Deploy

lua push && lua deploy

All Demos at a Glance

DemoTypeExternal APIsPlatform APIsComplexity
E-commerceCustomerNoneProducts, Baskets, Orders
SupportCustomerZendeskData⭐⭐
Financial OnboardingCustomerStripe IdentityData⭐⭐⭐
HotelCustomerNoneData
RestaurantCustomerNoneProducts, Data
Real EstateCustomerMLSData⭐⭐
HRInternalBambooHRData⭐⭐
Finance OpsInternalPlaidNone⭐⭐⭐
SaaSInternalYour APIData⭐⭐
HealthcareInternalEMR/FHIRData⭐⭐⭐
LogisticsInternalUPS/FedEx/USPSNone⭐⭐⭐
Smart LightIoTEdge API (Flask)None⭐⭐
GreenhouseIoTEdge API (Flask)Data⭐⭐
CameraIoTEdge API (Flask)Data⭐⭐
Door AssistantIoTEdge API (Flask) + WhatsAppData⭐⭐

Learn Concepts Through Demos

See Key Concepts in action within real-world demos:

Next Steps