$ lua init? What would you like to do? Create new agent? Enter business name: My Coffee Shop? Enter agent name: CoffeeBot? Select business type: Food & Beverage? Select brand personality: Friendly? Enter brand traits: Warm, welcoming, knowledgeableπ Creating agent...β Agent created successfully!β Created lua.skill.yamlβ Copied template filesβ Updated LuaAgent configurationπ¦ Installing dependencies...β Lua skill project initialized successfully!π‘ Tip: Use `lua init --with-examples` to include example code
Copy
$ lua init --with-examples? What would you like to do? Create new agent? Enter business name: My Coffee Shop? Enter agent name: CoffeeBot...β Created lua.skill.yamlβ Copied template filesβ Included example skills, tools, jobs, and webhooksβ Updated LuaAgent configurationπ¦ Installing dependencies...β Lua skill project initialized with examples!π‘ Check the examples/ folder for sample skills, tools, jobs, and webhooks
Copy
$ lua init? What would you like to do? Select existing agent? Select organization: My Organization? Select agent: CoffeeBotβ Created lua.skill.yamlβ Copied template filesπ¦ Installing dependencies...β Lua skill project initialized successfully!
agent: agentId: agent_abc123 orgId: org_xyz789skills: [] # Auto-populated during compilation
The lua.skill.yaml file is auto-managed by the CLI. Do not manually edit it except for incrementing version numbers. All configuration belongs in your code (src/index.ts).
Persona is stored in your LuaAgent code (in src/index.ts), not in YAML. The YAML file is state-only and tracks IDs and versions.
lua compile # Default: check for drift, prompt if foundlua compile --no-sync # Skip drift check entirelylua compile --force-sync # Auto-update local from server if drift found
$ lua push? What would you like to push? βΊ skill personaπ¦ Pushing skill: customer-serviceCurrent version: 1.0.0? Enter new version to push: (1.0.1) βπ Updating version from 1.0.0 to 1.0.1β Authenticatedπ Compiling skill...β Skill compiled successfully - 10 tools bundledπ Pushing version to server...β Version 1.0.1 of "customer-service" pushed successfully? Would you like to deploy this version to production now? No[Version pushed, use 'lua deploy' to deploy later]
$ lua push skillπ¦ Pushing skill: customer-serviceCurrent version: 1.0.0? Enter new version to push: (1.0.1) βπ Updating version from 1.0.0 to 1.0.1β Authenticatedπ Compiling skill...β Skill compiled successfully - 10 tools bundledπ Pushing version to server...β Version 1.0.1 of "customer-service" pushed successfully? Would you like to deploy this version to production now? No[Version pushed, use 'lua deploy' to deploy later]
$ lua pushπ¦ Pushing skill: order-managementCurrent version: 0.5.0? Enter new version to push: 1.0.0π Updating version from 0.5.0 to 1.0.0β Authenticatedπ Compiling skill...β Skill compiled successfully - 8 tools bundledπ Pushing version to server...β Version 1.0.0 of "order-management" pushed successfully? Would you like to deploy this version to production now? Yesβ οΈ WARNING: You are about to deploy to PRODUCTION!β οΈ This will affect ALL users immediately.? Are you absolutely sure you want to deploy? Yesπ Publishing version...β Version 1.0.0 deployed successfully to production
$ lua deployβ Authenticatedπ Fetching available versions...? Select a version to deploy: 1.0.2 - Created: Oct 3, 2025 by[email protected] 1.0.1 - Created: Oct 2, 2025 by[email protected]β― 1.0.0 (CURRENT) - Created: Oct 1, 2025 by [email protected]? β οΈ Warning: This version will be deployed to all users. Do you want to proceed? Yesπ Publishing version...β Version 1.0.0 deployed successfully
# Configure environment if neededlua env sandbox # Add new API keys locallylua env production # Update production env vars# Make changes to src/tools/*.ts# Test your agentlua chat # Choose sandbox mode# Optional: Test specific toolslua test # For debugging individual tools# When satisfied, push (direct mode - faster!)lua push skill# Update production persona if neededlua persona production # Or: lua push persona# Deploy to productionlua deploy