Triggers
Run agents on schedules or matching events.
An agent has at most one trigger. Without one, it runs only when you start it from the dashboard or API. Each run starts a new session that stays open for follow-ups unless the agent sets conversation.interactive to false. For event triggers, the session's first message includes the event.
Schedules
Runs at 09:00 UTC on weekdays. schedule is a 5-field cron expression (minute, hour, day of month, month, day of week) in UTC:
Runs every 6 hours, at 00:00, 06:00, 12:00, and 18:00 UTC. If Ellipsis is unavailable when a run is due, that run is skipped and the next one starts on schedule.
Pull requests
Runs on each push to a non-draft pull request into main that changes a matching path, including when the pull request opens.
| Event | When it fires |
|---|---|
opened | Opened, reopened, or marked ready for review |
pushed | New commits, including when the pull request opens |
merged | Merged |
closed | Closed without merging |
review_submitted | A review is submitted |
commented | A comment is added |
Branch pushes
Runs when a push to the default branch or a release/ branch changes package.json or the lockfile. Push triggers have no on field.
Issues
Runs when someone opens an issue labeled bug in api-repo.
Repositories and authors
Filters only decide which events match. They don't grant access or choose which repositories the session checks out; the environment does.
- An empty repository list matches every installed repository
- Branch filters accept exact names, prefixes ending in
*, anddefault - Labels match when any listed label is present
- Paths are globs of files to match;
!patterns aren't allowed - Every matching agent runs
Linear issues
Runs when a person creates a Linear issue; issues created by bots don't count. The session receives the issue. Name the repositories it needs in session.environment.
Slack channels
Runs when someone creates a Slack channel. The session receives the channel's name and purpose. To answer messages instead, use Slack mentions.
Sentry alerts
Runs when an issue alert fires in the api Sentry project. on accepts issue_alert and metric_alert; omit projects to match every project. A sentry.yaml file, when present, replaces these triggers.
Mentions
@ellipsis mentions are configured separately, in GitHub, Slack, and Linear handler files.