The AI SRE that hands you a tested fix, not an alert.
Dawnfix is an AI SRE (AI Site Reliability Engineer) for AWS and GCP that runs inside your own GitHub Actions. When a new production error appears, it measures the impact, writes a failing test, fixes the code and opens a draft PR for you to review. It uses your own AI API key (Claude today), and your logs never leave your accounts.
npx dawnfix init # .dawnfix.yml and a 15-line workflow
# then deploy the read-only role it prints
gh variable set DAWNFIX_AWS_ROLE_ARN
gh secret set DAWNFIX_AI_API_KEY
gh workflow run dawnfix.yml -f dry_run=trueFrom a production error to a draft PR
A new error in production is read and redacted in your own Actions, reproduced with a test that fails, fixed, and opened as a draft PR. You review it and decide.
Works with AWS CloudWatch Google Cloud GitHub GitHub Actions Claude GitLab Bitbucket (Bitbucket Cloud: diagnose only; fixes on self-hosted runners) CircleCI Not available yet
How it works
Four steps, every hour, inside your own GitHub Actions.
- Read, in your Actions. Every hour a job in your own GitHub Actions takes a read-only role in your AWS or GCP account (GitHub OIDC, no stored keys). It reads the last hour of errors from CloudWatch Logs, alarms, load balancer 5xx or Cloud Logging. A check script refuses a role that can write.
- Fingerprint, dedupe, redact. No LLM. A deterministic script folds errors into fingerprints, drops the ones it has seen, and redacts emails, ids, tokens and query strings. Nothing new: the run stops and spends no tokens.
- Fix, failing test first. Only for a new error, a second job runs Claude with your AI API key and no cloud credentials. It finds the cause in your code, measures the impact from the counts, writes a test that fails, then the smallest fix. If it cannot see the cause or make a test fail, it opens an issue instead.
- You review a draft PR. The PR's first commit is the failing test, the second the fix, labelled AI-generated. Dawnfix never merges or deploys. Start with
autonomy: diagnose: you get issues, not code, until you trust them.
Set it up in three steps
Free, no key. You type every secret yourself.
- Run
npx dawnfix init. It shows.dawnfix.ymland a 15-line.github/workflows/dawnfix.ymlin full, and writes them when you say yes. The workflow callsdawnfix/dawnfix/.github/workflows/dawnfix.yml@v0, below. - Deploy the read-only cloud role. A CloudFormation stack on AWS, or workload identity federation with
roles/logging.vieweron GCP.initprints the commands. - Set two repo settings, by name. The variable
DAWNFIX_AWS_ROLE_ARN(orDAWNFIX_GCP_WIF_PROVIDER) and the secretDAWNFIX_AI_API_KEY, your AI API key (Claude today).DAWNFIX_ENTERPRISE_KEYis optional, for Enterprise only.
# Dawnfix (https://github.com/dawnfix/dawnfix), written by `npx dawnfix init`. The jobs are in the
# reusable workflow below; each asks for less than the permissions granted here.
name: dawnfix
on:
schedule: [{ cron: "17 * * * *" }] # the `schedule` of .dawnfix.yml
workflow_dispatch: { inputs: { baseline: { type: boolean }, dry_run: { type: boolean } } }
permissions: { contents: write, pull-requests: write, issues: write, id-token: write }
jobs:
dawnfix:
uses: dawnfix/dawnfix/.github/workflows/dawnfix.yml@v0
with:
aws-role-arn: ${{ vars.DAWNFIX_AWS_ROLE_ARN }}
secrets:
DAWNFIX_AI_API_KEY: ${{ secrets.DAWNFIX_AI_API_KEY }} # your AI API key (Claude today)
DAWNFIX_ENTERPRISE_KEY: ${{ secrets.DAWNFIX_ENTERPRISE_KEY }} # optionalWhat leaves your account
One small JSON document per run: counts, severities, 16-character fingerprints, route templates like /users/:id, an error class and a PR link. No log lines, no messages, no service names, no account or project ids. The hosted service rejects anything else.
Free to run, Enterprise to host
All of the code is free and source available under FSL-1.1-ALv2, fixes included: it runs in your CI with your keys. Dawnfix Enterprise adds the hosted side, for a monthly subscription priced per organization.
Dawnfix Free, source available
The AI SRE itself: issues with the cause and impact, or a failing test, the fix and a draft PR. In your own Actions.
Dawnfix Receipt Free, source available
One comment on the PR or commit with the $/day change after each production deploy.
Dawnfix Enterprise Contact us
The hosted side: status page, daily digest and alerts, history, and support.
Dawnfix Fleet Enterprise
Every client's production on one screen, and a white-label weekly report.
An AI SRE that runs in your CI
Most AI SRE products run in the vendor's cloud and read your telemetry from there. Dawnfix runs in your own GitHub Actions with read-only roles and your own key, and what it hands you is a failing test and a draft PR, not a report.
Free tools
One-shot, read-only checks that run on your machine with your own credentials. Nothing uploaded.
Dawnfix Logbill Free
What your CloudWatch Logs bill is made of: $ per log group and per log line, and the savings.
Dawnfix Parity Free
Is prod configured like dev? Config drift and unread, never-rotated, orphaned secrets in AWS.
Dawnfix Flare Free
Who can reach your Cloudflare Workers: workers.dev exposure, missing sign-in, dangling DNS, over-scoped tokens.
Dawnfix Sweeper Free
What the old AWS stack left behind after a migration, with $/month and the teardown commands.
Dawnfix Leastpriv Free
An IAM role's unused permissions, as a pull request with a risk note per removal.
Set it up with your coding agent
Paste this into any coding agent, in your repo. It shows you every change before it makes it, keeps your cloud access read-only and never asks for a secret in the chat.
Set up Dawnfix (https://github.com/dawnfix/dawnfix), the source-available AI SRE, in this GitHub repo and try it once. Follow prompts/setup.md in that repo, step by step. In short: npx dawnfix init writes .dawnfix.yml and a 15-line workflow that calls dawnfix/dawnfix/.github/workflows/dawnfix.yml@v0. Then comes a read-only cloud role, then two repo settings set by name. For the local CLI, run pip install dawnfix==0.5.0.
Rules:
- Before you change anything (a file, a cloud role, a repo variable, a commit, a PR), tell me exactly what you will change and wait for my yes.
- Least privilege: the AWS role or GCP identity must be read-only. Check the AWS role with infra/aws/verify_readonly.py from the Dawnfix repo, and stop if it fails. Never widen a policy to make it pass.
- Never ask me to paste a secret into this chat, and never print one. I set my AI API key (Claude today) myself with gh secret set DAWNFIX_AI_API_KEY, and DAWNFIX_ENTERPRISE_KEY only if I have Enterprise.
- Start with autonomy: diagnose in .dawnfix.yml (issues only, no code changes). Never push to the default branch; everything goes through a PR I review.
- Tell me what it costs me: my own Claude tokens (on my AI API key), GitHub Actions minutes and small CloudWatch API charges. No Dawnfix key is needed.
To try it, run this with my read-only credentials and show me the JSON it prints:
dawnfix tick --config .dawnfix.yml --state "$(mktemp -d)/state.json" --baseline --dry-run
Then open the setup PR.More prompts, one per tool, are in prompts/. For Dawnfix Enterprise (hosted status page, digest, Fleet board), email dawnfix@sivakoza.ai.
Wake up to a tested fix, not an alert.
Start with issues, free. Switch on draft PRs once you trust what they say.