Scaffold an agentlet
This command creates a working demo agentlet named my-agentlet within agentlet-core/../my-agentlet/, pre-packaged with all required external libraries.
# Full template (comprehensive example with all API features)npm run scaffold:agentlet:defaults
# Minimal template (simple starter, just 74 lines)npm run scaffold:agentlet -- --minimal
# Interactive scaffolding (choose template and options)npm run scaffold:agentletThe minimal template provides a clean 74-line starting point with basic structure and agentlet.Dialog API usage, while the full template includes comprehensive examples of all framework features.
Run the custom agentlet
Section titled “Run the custom agentlet”cd ../my-agentletnpm installnpm run buildnpm startSource: agentlet-core README.md, section “Getting started”.