Triggers
Choose when your agents run and what they should do.
Triggers tell Stitch when to start an agent run. Each trigger selects an agent, a harness, a sandbox, and an initial prompt that tells the agent what to do.
Trigger Providers
| Provider | Events |
|---|---|
| GitHub | Repository activity, such as issues, pull requests, and pushes |
| Webhook | Events sent by your own tools or services |
| Cron | Schedules, such as nightly maintenance |
| Linear | New issues, selected issue changes, and comment commands |
Filters
Filters select which incoming events should start work. For example, you can match a GitHub label or branch, or a field in a webhook payload. All configured filter conditions must pass. Cron triggers have no filters; the schedule selects when to run.
Concurrency
An enabled trigger queues a run when its filters pass. Add an optional concurrency
setting to limit active runs for that trigger. Runs wait in the queue until capacity
is available. Organization concurrency limits also apply.
concurrency:
scope: repository
limit: 2limit must be an integer from 1 to 100. Both scope and limit are required.
Omit concurrency for no trigger-specific limit. Supported scopes vary by provider:
- GitHub:
repository,subject,commit, orevent, depending on the event type. - Linear:
repositoryorsubject(the issue UUID). - Webhook and Cron:
repository.
Limits are per trigger and event source. Webhook and Linear limits are also isolated by execution repository. A required scope identity that is missing skips the run instead of applying the limit to a wider scope.