Configure Lifecycle
serverlessinteractivedaemon
Comparison
Serverless
Serverless is the default lifecycle. Use it for tasks that can complete within a bounded execution window. Examples:- summarize a document,
- generate a report,
- transform data,
- call external APIs.
Interactive
Interactive agents stream responses back to the user and work well for conversational interfaces. Use this for:- chat agents,
- multi-turn assistants,
- agents that need immediate UI feedback.
Daemon
Daemon agents run as long-lived machines. Use them when the agent needs to keep running after the initial request. Use this for:- Slack or Discord bots,
- monitors,
- scheduled or event-driven agents,
- persistent background workflows.
Choosing a Mode
Start withserverless unless you specifically need streaming or always-on behavior. Move to interactive for chat UX and to daemon for background processes.