swenyai/SWEny Triage — SRE Alert Investigation
Monitor alerts, investigate root cause, file tickets, and open fix PRs — automatically.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| agent | Coding agent provider (claude, codex, gemini). Defaults to claude. | no | claude |
| claude-oauth-token | Claude Code OAuth token. Use this OR anthropic-api-key. OAuth tokens do not consume API credit. | no | — |
| anthropic-api-key | Anthropic API key for Claude. Use this OR claude-oauth-token. | no | — |
| openai-api-key | OpenAI API key (when agent = codex). | no | — |
| gemini-api-key | Gemini API key (when agent = gemini). GOOGLE_API_KEY is also accepted by the CLI. | no | — |
| observability-provider | Observability provider(s). Comma-separated for multiple (e.g. 'loki,sentry'). All configured providers are queried in parallel. Valid: datadog, sentry, betterstack, cloudwatch, splunk, elastic, newrelic, loki, prometheus, honeycomb, axiom, pagerduty, heroku, opsgenie, vercel, supabase, netlify, fly, render, file. | no | datadog |
| dd-api-key | Datadog API key (when observability-provider = datadog). | no | — |
| dd-app-key | Datadog Application key (when observability-provider = datadog). | no | — |
| dd-site | Datadog site, e.g. datadoghq.com, datadoghq.eu. | no | datadoghq.com |
| sentry-auth-token | Sentry auth token (when observability-provider = sentry). | no | — |
| sentry-org | Sentry organization slug. | no | — |
| sentry-project | Sentry project slug. | no | — |
| sentry-base-url | Sentry base URL (default: https://sentry.io). | no | https://sentry.io |
| betterstack-api-token | Better Stack API token, used for both Uptime and Telemetry. | no | — |
| betterstack-source-id | Better Stack Telemetry source ID — scopes log queries to a specific source. | no | — |
| betterstack-table-name | Better Stack Telemetry ClickHouse table name (e.g. "t273774.my_source"). | no | — |
| loki-url | Grafana Loki base URL (when observability-provider includes loki). e.g. https://logs-prod-036.grafana.net | no | — |
| loki-api-key | Grafana Cloud API key for Loki authentication (HTTP Basic user:key). | no | — |
| loki-org-id | Grafana Cloud org/user ID (X-Scope-OrgID header for multi-tenant Loki). | no | — |
| newrelic-api-key | New Relic User API key (when observability-provider = newrelic). | no | — |
| newrelic-region | New Relic region (us, eu). Defaults to us. | no | us |
| issue-tracker-provider | Issue tracker provider (github-issues, linear, jira). Defaults to github-issues. | no | github-issues |
| linear-api-key | Linear API key (when issue-tracker-provider = linear). | no | — |
| linear-team-id | Linear team UUID. | no | — |
| linear-bug-label-id | Linear label UUID for bugs. | no | — |
| linear-triage-label-id | Linear label UUID for agent-triage issues. | no | — |
| linear-state-backlog | Linear workflow state UUID for Backlog. | no | — |
| linear-state-in-progress | Linear workflow state UUID for In Progress. | no | — |
| linear-state-peer-review | Linear workflow state UUID for Peer Review. | no | — |
| jira-base-url | Jira base URL, e.g. https://myco.atlassian.net (when issue-tracker-provider = jira). | no | — |
| jira-email | Jira user email for API authentication. | no | — |
| jira-api-token | Jira API token. | no | — |
| issue-override | Work on a specific existing issue (e.g. an issue ID/URL) instead of discovering new ones. | no | — |
| issue-labels | Comma-separated extra labels applied to every agent-created issue (e.g. agent UUID for Linear, 'agent' for GitHub Issues). | no | — |
| source-control-provider | Source control provider (github, gitlab). Defaults to github. | no | github |
| github-token | GitHub token for API access and PR creation. | no | ${{ github.token }} |
| bot-token | Optional bot token with elevated permissions (cross-repo dispatch, push to protected branches). | no | — |
| gitlab-token | GitLab personal access token (when source-control-provider = gitlab). | no | — |
| gitlab-project-id | GitLab project ID or path (e.g. my-group/my-project). | no | — |
| gitlab-base-url | GitLab instance base URL. | no | https://gitlab.com |
| notification-provider | Notification provider (console, github-summary, slack, teams, discord, email, webhook, file). Defaults to github-summary. | no | github-summary |
| notification-webhook-url | Webhook URL for Slack, Teams, Discord, or generic webhook notifications. | no | — |
| workspace-tools | Comma-separated workspace tool integrations (slack, notion, pagerduty, monday, asana). | no | — |
| slack-bot-token | Slack bot token (when workspace-tools includes slack). | no | — |
| slack-team-id | Slack workspace/team ID. | no | — |
| notion-api-key | Notion integration token (when workspace-tools includes notion). NOTION_TOKEN is also accepted. | no | — |
| pagerduty-api-token | PagerDuty API token (when workspace-tools includes pagerduty). | no | — |
| monday-token | Monday.com API token (when workspace-tools includes monday). | no | — |
| asana-access-token | Asana personal access token (when workspace-tools includes asana). | no | — |
| mcp-servers-json | JSON object mapping server names to McpServerConfig. Merged into the auto-detected MCP set. | no | — |
| time-range | Time range to analyze (e.g. 1h, 6h, 24h, 7d). | no | 24h |
| severity-focus | Severity focus (errors, warnings, all). | no | errors |
| service-filter | Service filter pattern (e.g. my-service, api-*, *). | no | * |
| investigation-depth | Investigation depth (quick, standard, thorough). | no | standard |
| max-investigate-turns | Max Claude turns for investigation phase. | no | 50 |
| max-implement-turns | Max Claude turns for implementation phase. | no | 30 |
| base-branch | Target branch for PRs (e.g. main, master, develop). | no | main |
| pr-labels | Comma-separated list of labels applied to created PRs. | no | agent,triage,needs-review |
| dry-run | Dry run mode — analyze only, do not create issues or PRs. | no | false |
| verbose | When 'true', print each tool call's input and output inline. Truncated for readability; locally, the CLI's --stream flag yields full untruncated NDJSON. Helpful for debugging a triage run that halts or routes unexpectedly. Requires @sweny-ai/core >= 0.1.97. | no | false |
| review-mode | PR merge behavior: 'auto' (enable GitHub auto-merge when CI passes — automatically suppressed for high-risk changes such as migrations, auth, lockfiles, or >20 files), 'review' (open PR and wait for human approval). | no | review |
| novelty-mode | Only report novel issues not already tracked in your issue tracker. | no | true |
| additional-instructions | Additional instructions for Claude (e.g., "focus on the webhook handler"). | no | "" |
| service-map-path | Path to the service ownership map YAML file. | no | .github/service-map.yml |
| cli-version | Version of @sweny-ai/core to install (the package that ships the `sweny` CLI). Defaults to latest. | no | latest |
| node-version | Node.js version to install. | no | 24 |
| working-directory | Working directory to run from. Defaults to the repository root. | no | . |
| cloud-token | SWEny Cloud project token (sweny_pk_...) for reporting triage results to cloud.sweny.ai. Optional. Equivalent to setting the SWENY_CLOUD_TOKEN env var; either form is accepted. | no | — |
Outputs
no outputs