OpenSRE
OpenSRE is an open-source CLI agent for CI/CD reliability that diagnoses failed builds, traces causes, and opens fixes as pull requests for review. It is self-hosted and works with your own models.
Visit Tracer-Cloud/opensreOverview
OpenSRE is an open-source CLI agent for CI/CD reliability. It investigates failed CI runs, reads logs, traces causes, and opens fixes as pull requests for review. It is self-hosted and works with your own models.
Key Features
- Investigates failed CI runs by reading logs, testing hypotheses, and recommending fixes.
- Separates CI-caused failures from code-caused failures so teams fix the right issue.
- Opens fixes as pull requests for review.
- Measures CI failure rate, blocked developer time, and how long main stays red.
- Connects to more than 60 tools across LLM providers, observability, infrastructure, databases, dev tools, incident management, and communication.
- Posts summaries directly to Slack, PagerDuty, or Telegram.
Use Cases
- Diagnose failed builds and trace root causes faster.
- Fix failing checks on a pull request or set up an agent that keeps CI green.
- Measure CI reliability costs and reduce how long main stays red.
- Give every team member senior-level investigation context.
Getting Started
- Ensure a terminal is open in a code project; a Git repository is recommended for the full workflow demonstration.
- Install on macOS or Linux with the installer, or on Windows with PowerShell, then run opensre.
- Run opensre to sign in and get started; the first launch activates the hosted model.
- Use opensre ask with a plain-language question for a non-interactive agent turn.
Deployment & Requirements
- OpenSRE Cloud managed gateway can be provisioned by an organization admin in the web app.
- The gateway AMI plus systemd deployment uses make build-gateway-image and make deploy-gateway; it is Telegram gateway only and does not use Docker.
- Self-hosted container deployment supports Railway, ECS, or Vercel by deploying the repo Dockerfile, selecting MODE, and setting LLM_PROVIDER plus its API key.
- DATABASE_URL is needed only when the gateway requires shared Postgres-backed state, such as Slack Events API replicas.
Before You Adopt
- License: Apache-2.0. Review its terms before using, modifying, or distributing the project.
- OpenSRE is in public alpha, so core workflows are usable for early exploration but not fully stable, and APIs and integrations may evolve.
- Self-hosted container deployments require an LLM provider and API key.