TL;DR

Last verified: November 29, 2026.

OpenSRE (Tracer-Cloud/opensre) is an open-source command-line agent for when CI goes red. It reads the failed GitHub Actions run and works out whether the code or the CI itself is at fault. Then it pushes a fix to the pull request branch for you to review. The same agent also investigates production incidents across more than 60 integrations: Grafana, Datadog, Kubernetes, CloudWatch, PagerDuty, Slack and others.

As of November 29, 2026 the repository has 16,537 stars, 2,246 forks and 19 open issues. It is Apache-2.0 licensed and labelled public alpha. Releases are cut from main every night; the latest is v0.1.2026.11.29, published November 29, 2026. It is written in Python 3.12+ by Tracer, the company behind opensre.com, and GitHub Trending lists it among this week’s top Python repositories.

Use it if your team loses real hours to flaky GitHub Actions checks and you want numbers on that loss, plus a bounded agent that tries the fix. Wait if you need GitLab or Jenkins pipeline repair, a stable API, or an agent that asks before it acts by default. Out of the box it doesn’t ask.

Not run by us: our hands-on lab (a throwaway GitHub Actions container) did not start on November 29, 2026. GitHub refused the job over a billing limit on our account, so the planned install, opensre version and opensre doctor run never executed. The interactive shell also needs an OpenSRE account sign-in, and real CI analysis needs a GitHub token. Everything below comes from the repository source and docs as of November 29, 2026, its release history and public coverage.

What OpenSRE actually is

The README’s pitch: “Your CI tells you it broke, but not why or how to fix it.” OpenSRE started as a general AI SRE framework (an April 2026 r/OpenSourceDiscovery post calls it “an open-source framework for building AI SRE agents”). It now leads with CI/CD reliability, with incident investigation billed as “not just CI/CD”.

It comes in three forms:

SurfaceHow you run itNeeds
Interactive shellopensreAn active OpenSRE account (TTY required)
Headless CLIopensre ask "..."Signed-in account, or LLM_PROVIDER plus a provider API key
Python APIstart_embedded_session() from a source checkoutSame as headless

Behind each one is the same tool-calling loop: fetch context (failing checks, CI logs, commits, deploys, logs, metrics, traces), optionally mask identifiers, reason across connected systems, answer with evidence links, push a fix, and post a summary to Slack, PagerDuty or Telegram.

The CI/CD features, one by one

The CI/CD overview lists five capabilities. The first two only read. The last three push commits.

CapabilityReadsWrites
CI reliability analysis30 days of Actions runs for one repoA report in the shell
Health scanOpen PRs and branch heads across your orgsNothing
Fix a PRFailing checks and logs of one PR or branchA commit on the PR branch, or a fresh repair branch
Reliability agentThe last 7 days, every weekday morningA report in the shell inbox
Repair loopOne PR’s failing checksUp to three repair pushes within ten minutes

The reliability report

This is the recommended first demo, and the most original part of the project. You type analyze owner/repo CI/CD performance for the last 30 days. OpenSRE reads the Actions history and reports:

  • CI reliability failures: failures where the identical commit passed later, by re-run or a fresh run. CI was at fault, not the code.
  • Source-code failures: failures that only passed after the branch moved to a new commit.
  • Developer downtime from unreliable CI: the working-hours share of each wait (Monday to Friday, 09:00 to 18:00 in your timezone), charged to the PR author.
  • Wall-clock wait on merged PRs: how much later commits went green than they would have with normal CI.
  • Default-branch red time: hours main had a failing push-triggered check, with mean time to recovery.

The methodology in the analytics demo doc is careful. Only merged PRs count toward blocked time, parallel workflows failing on the same commit count once, and “normal duration” is the median of first-attempt passing runs. The report ends with a dated comparison against langchain-ai/langchain and anomalyco/opencode; your own repository is always read live from GitHub.

Splitting “the identical commit passed later” from “passed after a new commit” is the core idea. It turns “CI is flaky” into a figure a manager can act on.

Fixing a failing PR

fix failing checks on Tracer-Cloud/opensre#4597
fix CI on main in Tracer-Cloud/opensre and push

According to the Fix GitHub CI doc, OpenSRE reads the PR metadata and compact log excerpts for the failing jobs. It works in an isolated checkout, or in a linked worktree if you point it at a local repo, so your uncommitted changes stay untouched. If the PR branch is behind its base, it merges the base first. Then it applies the fix, commits only the files the fix changed, and pushes. After that it waits up to 15 minutes for the new checks and reports pass, fail, superseded or timed out.

The edit itself is delegated to a logged-in coding-agent CLI (Pi, Claude Code, Codex or Cursor), or else to a built-in agent on your configured LLM. The built-in agent runs only inside the repair checkout, without your secrets in its environment, and never commits or pushes by itself.

Guardrails written into the docs:

  • Fork PRs are refused. It only pushes to same-repository branches.
  • Branch targets get a new branch. “Fix the CI on main” creates an opensre/ci-fix-* branch. It pushes straight to main only if you explicitly ask, never with force, and nothing is pushed if main moved during the repair.
  • No checks failing, no push. The one exception is a PR that conflicts with its base: GitHub never starts checks on it, so merging the base counts as the fix.
  • Unresolvable conflicts stop the run. If the coding agent can’t resolve a merge conflict, OpenSRE aborts the merge, lists the files a person must decide, and comments on the PR.

Loops: the scheduled agent and the repair loop

set up an agent that improves CI/CD reliability for owner/repo schedules the report for weekdays at 08:00 local time. Later runs cover the last 7 days. Reports go to the shell inbox (/loops messages), never to Slack. The loop only fires while the shell is open, unless you run /loops service install, which registers launchd on macOS or systemd on Linux.

The repair loop watches one PR every 30 seconds and stops after three failed attempts or ten minutes. Those limits are the right instinct: an unbounded fix-push-wait loop is how you burn a day of runner minutes. A managed variant runs the same loop on an organization’s hosted gateway.

From a CI job

Headless runs can’t answer prompts, so mutating tools are allowed one by one, per run:

# read-only: works as-is
opensre --json ask "how many PRs currently have failing CI in my-org?"

# mutating: authorize the one tool the task needs
opensre ask --allowed-tool fix_github_pr_ci \
  "fix failing checks on my-org/my-repo#123"

An unsigned machine needs LLM_PROVIDER, a provider key and a GitHub token. For permissions, cost caps and review gates, see how to run AI coding agents in CI/CD.

Setup

curl -fsSL https://install.opensre.com | bash -s -- -gh
opensre                                  # sign in, then the demo picker
opensre integrations setup github        # browser auth or a token
opensre integrations verify

The installer needs no sudo, puts the binary in ~/.local/bin, and downloads GitHub’s gh CLI if missing. It installs the latest main build unless you pass --release or --version. Prebuilt Linux binaries need glibc 2.35+ (Ubuntu 22.04 or newer; no Alpine). Windows has a PowerShell installer.

On first launch you sign in, which activates a hosted model paid with account credits (opensre credits shows the balance). We found no public price list for those credits: opensre.com/pricing returned a 404 on November 29, 2026. To use your own billing, run opensre login and pick a provider. The LLM providers page lists Anthropic (defaults: claude-opus-4-7 for reasoning, claude-haiku-4-5 for tool calls), OpenAI, Gemini, DeepSeek, OpenRouter, Bedrock, Vertex AI, Azure OpenAI, Groq, NVIDIA NIM, MiniMax, ChatGPT and Grok subscriptions, custom OpenAI- or Anthropic-compatible endpoints, and Ollama for local models.

Self-hosting is supported: deploy the repo’s Dockerfile in web, gateway or scheduler mode with LLM_PROVIDER and a key. But the interactive shell only opens for an active OpenSRE account, so account-free use means the headless CLI, the Python API or a container.

Honest limitations

The default autonomy is high, literally. The interactive shell’s /auto setting defaults to high. The docs describe it as “alpha: no tool prompts”: every tool except Python execution runs immediately. That includes shell commands, file edits and the coding agent. The CI-fix doc warns that at the default level, “checkout, edit, commit, push” all run without prompts. Set /auto med before pointing it at a repo you care about. The docs also say plainly that /auto “is not a shell-command allowlist”.

GitHub Actions only, for repairs. GitLab, Jenkins and Bitbucket show up in the integrations table as dev tools, but every CI/CD doc (analysis, health scan, fix, repair loop) is written around GitHub Actions and gh. If your pipelines live elsewhere, the investigation side may help. The repair side as documented won’t.

No accuracy numbers. The project’s benchmark README says it reports duration, token usage and estimated LLM cost on three synthetic incident scenarios, and explicitly does not report accuracy, false positives or false negatives. The README cites SWE-bench as inspiration and points to end-to-end tests in tests/e2e. But there is no published fix-success rate for CI repairs. How often its pushed fix actually turns a check green is the number that matters, and it isn’t there.

Masking is opt-in and partial; telemetry is opt-out. Reversible masking of pod names, hostnames, account IDs, IPs and emails is off by default, and when on it applies “at opt-in edges” rather than “as a single central step on every LLM call”. Product analytics and Sentry error reporting stay on unless you set OPENSRE_NO_TELEMETRY=1.

Alpha churn. Nightly releases from main and a README warning that “APIs and integrations may evolve” mean a pinned --release install is safer for anything scheduled.

The downtime figure is a floor. A check that fails once and is ignored, or a PR closed rather than merged, doesn’t count toward blocked time.

Community reactions

Discussion is thin compared with the star count. Hacker News has only low-traction submissions; the most substantive, “Evaluating AI SRE Agents in Production (OpenSRE)” (August 2026), got one point and one comment. This week’s coverage (Kongchang’s GitHub Daily, AICrier, Hackertab’s trending feed) mostly restates the README.

16.5K stars in under eleven months (the repo was created January 13, 2026) shows enthusiasm for the problem, not production use. Public reports from teams running the repair loop on real monorepos are still missing.

OpenSRE vs the alternatives

OptionWhat it doesWhere it differs
OpenSREMeasures CI reliability, fixes failing Actions checks, investigates incidentsOpen source, self-hostable, bring your own model; alpha
A coding-agent GitHub Action (Claude Code, Codex)Runs an agent on a PR when triggeredYou build the “read logs, decide CI vs code, retry” logic yourself; OpenSRE packages it
Flaky-test trackers (Trunk Flaky Tests, BuildPulse)Detect and quarantine flaky testsMeasure and isolate, don’t write fixes; mature products
Commercial AI SRE agents (AWS DevOps Agent, Datadog Bits AI, Cleric)Investigate production incidentsFocused on alerts and telemetry, not CI repair; managed and priced per investigation

For the production-incident half of OpenSRE, our comparison of AI SRE agents for incident response covers the commercial field and its pricing.

Who should use it

  • Teams on GitHub Actions with a flaky-CI problem they can’t size. Run the read-only 30-day analysis first; it is useful even if you never let the agent push.
  • Platform teams building internal agents. Apache-2.0, a Python API and 60+ integrations make it a reasonable base to fork.
  • Not yet: GitLab or Jenkins shops wanting automated repair, and anyone who needs a stable interface for scheduled production jobs.

Verdict

OpenSRE’s best idea is the measurement: CI-caused versus code-caused failures, with developer hours next to the split. That read-only report is worth trying on any busy GitHub repository today. The repair side is sensibly bounded: same-repo branches only, no force pushes, three attempts in ten minutes, a fresh branch unless you say otherwise. But it ships with prompts turned off and no published success rate. Treat it as a promising alpha. Start with analysis, set /auto med, pin a release, and let the fix numbers come from your own repos.

FAQ

Is OpenSRE free?

The code is free under Apache-2.0, and you can self-host it with your own LLM key or a local Ollama model. The default interactive shell signs you in to an OpenSRE account and uses a hosted model paid with credits. We found no published credit pricing as of November 29, 2026. Your own provider’s API costs apply when you bring a key.

Does OpenSRE push directly to main?

Not by default. For a pull request it pushes to the PR’s own branch. For a branch target such as main it creates a fresh opensre/ci-fix-* branch. It pushes straight to main only when you explicitly ask, never with force, and it pushes nothing if main moved during the repair or a branch protection rule requires a PR.

Does OpenSRE work with GitLab CI or Jenkins?

GitLab, Jenkins and Bitbucket are listed as integrations, but as of November 29, 2026 the documented CI/CD analysis, health scan and fix features target GitHub Actions through the gh CLI. Treat non-GitHub pipeline repair as unsupported until the docs say otherwise.

Can OpenSRE run with a local model?

Yes, for headless and self-hosted use. Set LLM_PROVIDER=ollama (default model llama3.2, no API key). The project publishes no accuracy figures for any model, and a small local model is likely to struggle with multi-step CI diagnosis. The interactive shell still needs an OpenSRE account sign-in.

How is OpenSRE different from just running Claude Code on a failing PR?

OpenSRE wraps a coding agent (it can call Claude Code, Codex, Cursor or Pi to make the edit). Around that agent it does the CI-specific work: fetching failing check logs, deciding whether CI or code is at fault, merging the base branch, waiting for the new checks, and bounding retries. It also produces the reliability report, which a bare coding agent doesn’t.

Sources