OpenSRE CI Troubleshooting Agent

OpenSRE is a command-line agent that reads failed run logs when CI turns red, validates several hypotheses, and then pushes fixes for your review. It also tracks failure rates, hours lost due to CI instability, and how long the main branch has been red. After integrating with Kubernetes, CloudWatch, Grafana, Datadog, Slack, GitHub, and others, you can describe production incidents in plain language via the interactive interface or forward alerts directly to it. Supported models include Anthropic, OpenAI, Gemini, OpenRouter, Ollama, and more. It also provides a Python interface for embedding into your own services.

Original title: Tracer-Cloud/opensre

OpenSRE is a command-line agent that reads failed run logs when CI turns red, validates several hypotheses, and then pushes fixes for your review. It also tracks failure rates, hours lost due to CI instability, and how long the main branch has been red. After integrating with Kubernetes, CloudWatch, Grafana, Datadog, Slack, GitHub, and others, you can describe production incidents in plain language via the interactive interface or forward alerts directly to it. Supported models include Anthropic, OpenAI, Gemini, OpenRouter, Ollama, and more. It also provides a Python interface for embedding into your own services.

Why it matters It distinguishes between CI environment issues and code issues, preventing users from simply clicking rerun. The same agent can also connect to monitoring tools to troubleshoot production incidents.

Stars 16136 (+328 / 24h)

Reasons

  • 328 new stars in 24 hours, total stars 16136 (indicating attention level only); Apache-2.0 license, created in 1 this year, with commits still occurring on 28 11
  • The README states there is an end-to-end testing directory; self-hosted containers only require setting LLM_PROVIDER and the corresponding API Key

Usage

  • macOS / Linux: curl -fsSL https://install.opensre.com | bash -s -- -gh, then run opensre; for a single query, use opensre ask "why is checkout-api slow?"
  • Self-hosted: Deploy the Dockerfile in the repository, setting MODE, LLM_PROVIDER, and API Key

Risks

  • Officially labeled as public Alpha; interfaces and integrations are subject to change. The default interactive interface requires account login, and managed models are enabled on first startup.
  • Product analytics and Sentry error reporting are enabled by default; disable them using export OPENSRE_NO_TELEMETRY=1. Define clear scopes before granting it permissions to push code and read production systems.

Open

Trendshift(GitHub Trending 快照)

Explore the latest AI Radar updates