Tracer-Cloud/opensre

▲ 438 stars today★ 13,037⑂ 1,899

The open-source agent for CI/CD reliability.

About Tracer-Cloud/opensre

Tracer-Cloud/opensre is an open-source project on GitHub, mainly written in Python. The open-source agent for CI/CD reliability. It currently holds 13,037 stars and 1,899 forks with 12 open issues, and was last pushed on 2026-11-19 (repository created 2026-01-13).

Project Overview

AI Homed tracks it on the Today's Trending board, currently at rank #13 with 438 new stars today.

GitHub Repository Details

Repository Tracer-Cloud/opensre · default branch main · size 199364 KB · watchers 65 · source: GitHub REST API and repository README

README

https://github.com/Tracer-Cloud/opensre/blob/HEAD/OpenSRE

OpenSRE: The open-source agent for CI/CD reliability

Your CI tells you it broke, but not why or how to fix it. OpenSRE is a CLI agent that reads the failed run, traces the cause and pushes a fix for you to review. Self-hosted, with your own models.

https://github.com/Tracer-Cloud/opensre/blob/HEAD/CI status https://github.com/Tracer-Cloud/opensre/blob/HEAD/Project status: public alpha https://github.com/Tracer-Cloud/opensre/blob/HEAD/Apache 2.0 License https://github.com/Tracer-Cloud/opensre/blob/HEAD/Discord https://github.com/Tracer-Cloud/opensre/blob/HEAD/Sponsored by Greptile

https://github.com/Tracer-Cloud/opensre/blob/HEAD/Tracer-Cloud%2Fopensre | Trendshift

Quickstart · Docs · FAQ · Security

---

🚧 Public Alpha: Core workflows are usable for early exploration, though not yet fully stable. The project is in active development, and APIs and integrations may evolve.

---

Before you begin

Make sure you have:

Step 1: Install and start opensre

macOS or Linux:

curl -fsSL https://install.opensre.com | bash -s -- -gh

Windows (PowerShell):

& ([scriptblock]::Create((irm https://install.opensre.com/install.ps1))) -gh

Then start OpenSRE:

opensre
OpenSRE CLI welcome screen with the sign-in prompt

Windows details: Windows.

The installer fetches the latest build from main without requiring sudo. If opensre is not found, follow the PATH instructions printed by the installer or open a new terminal.

For supported platforms and troubleshooting, see Install locally.

---

Table of Contents

---

Why OpenSRE?

AI writes more of the code every month. Someone still has to fix the build.

When CI goes red, it tells you _that_ something failed, not _why_ or how to fix it. Under deadline pressure, teams hit re-run and move on, flaky checks pile up, main stays red, and the real investigation waits for whichever senior engineer has time. OpenSRE is an open-source CI/CD reliability agent that does that investigation for you, built to run on your own infrastructure with your own models:

SWE-bench1 showed that agents improve fastest with realistic tasks and clear feedback. Pipeline failures are slower, noisier and harder to reproduce than local code tasks, so we hold OpenSRE to the same standard by: Start with the CI/CD overview: analyze a repository's CI reliability, fix failing checks on a PR, or set up an agent that keeps CI green.

1 https://arxiv.org/abs/2310.06770

---

Quick Start

Contributors: start at main.py for the process entrypoint map.

Run opensre to sign in and get started. The first launch activates the hosted model.

opensre

Webapp contributors can run opensre setup --dev to authenticate through http://localhost:3000.

Interactive shell — with no subcommand, opensre validates your account and starts a REPL (TTY required). You can exit and stay signed out, but the shell only opens for an active account. Describe incidents in plain language, watch the agent work, and use slash commands for session control (/help, /status, /cost, /sessions, /resume, /compact, /new, /exit) and integrations (/integrations list, /integrations verify). Ctrl+C cancels an in-flight turn without losing session state. See interactive shell commands for the full reference.

Headless CLI — run one agent turn non-interactively from a terminal, script, or CI job:

opensre ask "why is checkout-api slow?"

See Headless CLI for stdin prompts, JSON output, and tool approvals.

From Python — drive the agent in-process from your own code (source checkout required):

from surfaces.embedded import start_embedded_session

session = start_embedded_session() result = session.chat("why is checkout-api slow?")

`answered` is true for any reply text, including a failed model call.

That failure sets accounting_status to "not_run" and stop_reason to "error".

if result.action_result.accounting_status == "completed" and not result.cancelled: print(result.primary_response_text)

See Python API for sessions, conversations, and custom output sinks.

For your team's daily loop: embed OpenSRE in the Python services and automations your teammates already use. Start with the in-repo Python API guide, then use it every day to make incident response repeatable.

Other useful commands:

opensre integrations setup
opensre update
opensre uninstall   # remove opensre and all local data

---

Deployment

An OpenSRE Cloud managed gateway, an AWS EC2 path, and a general self-hosted option:

Full deployment steps and prerequisites → DEPLOYMENT.md

---

How OpenSRE Works

https://github.com/Tracer-Cloud/opensre/blob/HEAD/opensre-how-it-works-github

When a CI run fails, an alert arrives, or you ask a question, OpenSRE automatically:

1. Fetches the relevant context: failing checks and CI logs, recent commits and deploys, and correlated logs, metrics and traces 2. Masks sensitive identifiers (optional) before external LLM calls 3. Reasons across your connected systems to test hypotheses in a tool-calling loop, separating CI-caused failures from code-caused ones 4. Answers with an evidence-linked response in the conversation 5. Fixes the cause and pushes it to the PR branch for you to review, or suggests next steps and, optionally, executes remediation actions 6. Posts a summary directly to Slack, PagerDuty, or Telegram — no context switching needed

For the current code-level agent architecture after removing the old graph and chain framework layers, see AGENTS.md.

---

Integrations

OpenSRE connects to 60+ tools and services across the modern cloud stack, from LLM providers and observability platforms to infrastructure, databases, and incident management.

| Category | Integrations | Roadmap | | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | AI / LLM Providers | Anthropic · OpenAI · OpenAI Codex · Ollama · Google Gemini · OpenRouter · TrustedRouter · NVIDIA NIM · Bedrock | | | Observability | Image from the project README Grafana (Loki · Mimir · Tempo · annotations) · Image from the project README Datadog · Honeycomb · Coralogix · Image from the project README groundcover · Image from the project README CloudWatch · Image from the project README Sentry · Elasticsearch · Better Stack · Splunk · Victoria Logs · SignOz · OpenObserve · OpenSearch · Azure Monitor · New Relic | | | Infrastructure | Image from the project README Kubernetes · Image from the project README AWS (S3 · Lambda · EKS · EC2 · CloudTrail · Bedrock) · Image from the project README Azure · ArgoCD · Helm | | | Database | MongoDB · ClickHouse · PostgreSQL · MySQL · MariaDB · MongoDB Atlas · Azure SQL · Snowflake · Redis · RDS · Supabase · Neon | | | Data Platform | Apache Airflow · Apache Kafka · Prefect · RabbitMQ · Dagster · Temporal | | | Dev Tools | Image from the project README GitHub · GitHub MCP · Bitbucket · GitLab · Jenkins | | | Incident Management | Image from the project README PagerDuty · Jira · Alertmanager · incident.io · ServiceNow · Trello (client helpers only) | Linear | | Communication | Image from the project README Slack · Google Docs · Discord · Telegram · Image from the project README Rocket.Chat · WhatsApp · Buzz | Notion · Teams · Confluence | | Agent Deployment | Image from the project README Vercel · Image from the project README EC2 · Image from the project README ECS · Railway | | | Protocols | Image from the project README MCP | |

OpenSRE is community-built. Looking for a safe first contribution? Browse good first issue tickets or see the Good First Issues guide. See CONTRIBUTING.md for the full workflow.

Local environment: SETUP.md (all platforms, Windows, MCP).

Developing in this repo: docs/DEVELOPMENT.md (install from source, CI parity checks, dev container, deployment detail, telemetry reference).

https://github.com/Tracer-Cloud/opensre/blob/HEAD/Join our Discord

https://github.com/Tracer-Cloud/opensre/blob/HEAD/Star History Chart

Thanks goes to these amazing people:

https://github.com/Tracer-Cloud/opensre/blob/HEAD/Contributors

---

Security

OpenSRE is designed with production environments in mind: structured and auditable LLM prompts, local transcript handling by default, and no silent bulk export of raw logs. See SECURITY.md for responsible disclosure.

---

Telemetry

First-party product analytics and Sentry (errors) are opt-out. Quick disable:

export OPENSRE_NO_TELEMETRY=1

Full matrix, DSN override, and local event logging → docs/DEVELOPMENT.md

---

License

Apache 2.0 — see LICENSE.

Citations

1 https://arxiv.org/abs/2310.06770

GitHub Stars & Activity

13,037Stars
1,899Forks
12Open issues
PythonLanguage

GitHub Popularity

GitHub stars13,037
Forks1,899
Open issues12
Primary languagePython
LicenseApache-2.0
Stars gained today438
Created2026-01-13
Last pushed2026-11-19

Trending History

Daily boardrank #13 · ▲ 438 stars

Related AI Projects

1

mvanhorn / last30days-skill

Python★ 73,326⑂ 6,477▲ 790 stars
→
2

jingyaogong / minimind

Python★ 69,370⑂ 9,058▲ 828 stars
→
3

HKUDS / CLI-Anything

Python★ 63,464⑂ 5,767▲ 783 stars
→
4

wshobson / agents

Python★ 42,840⑂ 4,534▲ 48 stars
→
5

agentscope-ai / agentscope

Python★ 36,554⑂ 3,910▲ 78 stars
→
6

zhouxiaoka / autoclip

Python★ 14,301⑂ 2,202▲ 908 stars
→
7

SWE-agent / mini-swe-agent

Python★ 10,007⑂ 1,362▲ 43 stars
→
8

superdesigndev / treg

Python★ 8,802⑂ 872▲ 59 stars
→

More AI Rankings