OpenSRE is a command-line agent that reads failed CI runs, traces causes, and can propose fixes using your own models and infrastructure. It also supports production incident analysis across connected observability tools.
Overview
OpenSRE targets teams whose pipelines fail without explaining root cause. When a run breaks, the agent gathers failing checks, logs, recent commits, and correlated telemetry, then reasons in a tool-calling loop to separate infrastructure issues from code defects.
You can run an interactive shell, issue one-shot headless prompts for scripts and CI jobs, or embed the Python API in internal services. Optional masking reduces sensitive identifiers before external LLM calls. Completed analyses can surface fixes on pull request branches for human review or post summaries to chat and paging systems.
Integrations span LLM providers, Git hosts, Kubernetes and cloud APIs, metrics and log platforms, databases, data orchestration tools, and incident channels such as Slack or PagerDuty. Deployment paths include a managed cloud gateway, EC2 gateway images, and self-hosted containers with configurable model providers.
The project labels itself public alpha: core flows work for early adopters but APIs may shift. Install scripts fetch binaries on macOS, Linux, and Windows without sudo by default, and documentation covers security expectations for production use.
Key features
- Failed CI log investigation
- Interactive and headless CLI modes
- Python in-process agent API
- Sixty-plus tool integrations
- Optional secret masking for LLMs
- Pull request fix proposals
- Slack and PagerDuty notifications
- Self-hosted and cloud gateway deploys
Use cases
- Triage red mainline builds quickly
- Automate first-pass incident analysis
- Measure CI failure and downtime costs
- Embed reliability checks in Python jobs