@on decorator to bind an event trigger plus one of:
@task— single-turn automations (one-shot per trigger; can still be long-running). Use this by default.@agent— multi-turn agents that continue a conversation with the user across Slack, Linear, or the dashboard.
The order of the decorators can be interchanged.

