1. Open the Automations Panel
Navigate to Automations in the sidebar. The panel has three tabs:- Rules — your active and paused automation rules
- Templates — pre-built rule templates you can clone and customize
- History — past automation runs with status, duration, and output
2. Choose a Trigger
Every rule starts with a trigger. Select one from the trigger type dropdown:Git Push
Git Push
Fires when commits are pushed to a matching branch pattern.
- Branch filter — glob pattern (e.g.,
feature/*,main) - Path filter (optional) — only fire when specific files are changed
feature/* branches.Pull Request
Pull Request
Fires on PR lifecycle events: opened, updated, merged, or review requested.
- Event filter — select which PR events to match
- Label filter (optional) — only fire for PRs with specific labels
needs-ai-review.Schedule (Cron)
Schedule (Cron)
Fires on a cron schedule.
- Cron expression — standard 5-field cron syntax
- Timezone — defaults to your system timezone
File Change
File Change
Fires when watched files change on disk.
- Path pattern — glob pattern for files to watch (e.g.,
src/api/**/*.ts)
src/api/ changes.3. Select an Executor
The executor determines how the triggered work runs. Choose one:| Executor | Best for | Output location |
|---|---|---|
| Agent Session | Quick, focused tasks (linting, reviews, small fixes) | Automations > History |
| Mission | Multi-step work requiring planning, validation, and artifacts | Missions tab |
| Built-in Task | Predefined ADE operations (pack refresh, conflict scan) | Automations > History |
{{branch}}, {{files}}, and {{event}} placeholders to inject trigger context into the prompt.
Coming soon: detailed prompt template reference with all available placeholders.
4. Configure Budget Caps
Every automation rule should have a budget cap to prevent runaway spend.Set a per-run cap
Navigate to the Guardrails section of the rule editor. Set the maximum token count or dollar amount per run.
Set a monthly cap (optional)
Limit total spend across all runs of this rule within a calendar month.
5. Set Guardrails
Beyond budgets, guardrails control what the automation is allowed to do:- File scope — restrict which files the agent can read or write
- Branch scope — restrict which branches the agent can push to
- Tool allowlist — limit the MCP tools available to the agent
- Approval gate — require human approval before the agent commits or pushes
6. Enable the Rule
Review your rule configuration, then toggle the Enabled switch. The rule is now live and will fire the next time its trigger condition is met. You can pause, edit, or delete rules at any time from the Rules tab. Paused rules retain their configuration but do not fire.Monitoring Runs
Check Automations > History to see past runs. Each entry shows:- Trigger event that fired the rule
- Executor type and run duration
- Status (completed, failed, budget-exceeded)
- Link to the full output (agent session transcript or mission)
Next Steps
Automation Concepts
Deep dive into automation architecture, trigger routing, and execution surfaces.
Guardrails Reference
Full reference for budget caps, file scopes, and approval gates.