Overview
Cronlet has two developer-facing surfaces:
Cronlet Cloudfor hosted scheduled tasks, run history, callbacks, and agent-triggered automation.cronletlocal runtime + CLI for file-based jobs inside your own Node.js app.
Use Cronlet Cloud when
- your product needs hosted scheduled tasks
- AI agents should be able to create or manage schedules
- you want callbacks when runs complete
- you need a dashboard, task history, manual triggering, and hosted execution
Use the local runtime when
- jobs should live entirely inside your app repo
- you want file-based job discovery
- you do not need the hosted Cloud control plane
- you want local scheduler + dashboard during development
Recommended reading order
Cloud + SDK
- Cloud Quickstart
- SDK Overview
- Tasks, Handlers, and Schedules
- Callbacks and Agent Loops
- Agent Tooling
- SDK API Reference
Local runtime + CLI
Package map
@cronlet/sdk: official Cloud SDK for tasks, runs, secrets, usage, audit, and LLM tool definitions@cronlet/shared: shared Cloud types and schemas used by the SDK and web appcronlet/cronlet-cli: local scheduler, file-based jobs, dev dashboard, and deployment helpers
Important accuracy notes
- The SDK accepts schedule objects and a constrained set of supported schedule strings.
- String schedules are parsed client-side into
ScheduleConfigobjects before the request reaches the API. - Naive
oncedatetime strings are interpreted as UTC unless the string includes timezone information. - Cloud callbacks do not currently include a populated
task.name, andstats.expiresAtis currentlynullin worker callbacks. Build callback handlers aroundtask.id,task.metadata, andrun.id.
If you are integrating Cronlet into a product, treat task.metadata + your own database records as the source of truth for ownership and lifecycle.