Tracer-Cloud/opensre

▲ 23 stars today★ 11,343⑂ 1,660

Build your own AI SRE agents. The open source toolkit for the AI era.

About Tracer-Cloud/opensre

Tracer-Cloud/opensre is an open-source project on GitHub, mainly written in Python. Build your own AI SRE agents. The open source toolkit for the AI era. It currently holds 11,343 stars and 1,660 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

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

GitHub Repository Details

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

README

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

OpenSRE v0.1: Build Your Own AI SRE Agents

The open-source framework for AI SRE agents, and the training and evaluation environment they need to improve. Connect the 60+ tools you already run, define your own workflows, and answer production questions on your own infrastructure.

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?

When something breaks in production, the evidence is scattered across logs, metrics, traces, runbooks, and Slack threads. OpenSRE is an open-source framework for AI SRE agents that resolve production incidents, built to run on your own infrastructure.

We do that because SWE-bench1 gave coding agents scalable training data and clear feedback. Production incident response still lacks an equivalent.

Distributed failures are slower, noisier, and harder to simulate and evaluate than local code tasks, which is why AI SRE, and AI for production debugging more broadly, remains unsolved.

OpenSRE is building _that_ missing layer:

an open reinforcement learning environment for agentic infrastructure incident response, with end-to-end tests for realistic production failures

We do that by:

Our mission is to build AI SRE agents on top of this, scale it to thousands of realistic infrastructure failure scenarios, and establish OpenSRE as the benchmark and training ground for AI SRE.

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), integrations (/integrations list, /integrations verify), and local agent fleet monitoring (/agents). 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 bootstrap.embedded import start_embedded_session

session = start_embedded_session() result = session.chat("why is checkout-api slow?") if result.answered: 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 fleet scan
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 you ask a question or an alert arrives, OpenSRE automatically:

1. Fetches the relevant context and correlated logs, metrics, traces, and recent deploys 2. Masks sensitive identifiers (optional) before external LLM calls 3. Reasons across your connected systems to test hypotheses in a tool-calling loop 4. Answers with an evidence-linked response in the conversation 5. 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.

---

Capabilities & integrations

| | | | ---------------------------------------- | -------------------------------------------------------------------------------- | | 🔍 Evidence-driven diagnosis | Correlated analysis across logs, metrics, traces, deploys, and config | | 📋 Runbook-aware reasoning | OpenSRE reads your runbooks and applies them automatically | | 🔗 Evidence-backed root cause | Every conclusion is linked to the data behind it | | 🛡️ Reversible identifier masking | Redact pods, clusters, and account IDs before external LLM calls; restore in output | | 📊 Session cost & history | Per-session token tracking (/cost) and resumable REPL sessions (/sessions) | | 👥 Local agent fleet | Monitor Claude Code, Cursor, Codex, and other coding agents on your machine | | 🤖 Full LLM flexibility | Bring your own model — Anthropic, OpenAI, Codex, Ollama, Gemini, OpenRouter, TrustedRouter, NVIDIA NIM, Bedrock |

OpenSRE connects to 60+ tools across LLMs, observability, cloud infrastructure, data platforms, incident management, and MCP. The full matrix (with roadmap links) lives in the product docs; a detailed catalog is also maintained in-repo as the project grows.

---

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 | Grafana (Loki · Mimir · Tempo · annotations) · Datadog · Honeycomb · Coralogix · groundcover · CloudWatch · Sentry · Elasticsearch · Better Stack · Splunk · Victoria Logs · SignOz · OpenObserve · OpenSearch · Azure Monitor · New Relic | | | Infrastructure | Kubernetes · AWS (S3 · Lambda · EKS · EC2 · CloudTrail · Bedrock) · Azure · Yandex Cloud · ArgoCD · Helm | | | Database | MongoDB · ClickHouse · PostgreSQL · MySQL · MariaDB · MongoDB Atlas · Azure SQL · Snowflake · Redis · RDS · Supabase | | | Data Platform | Apache Airflow · Apache Kafka · Prefect · RabbitMQ · Dagster · Temporal | | | Dev Tools | GitHub · GitHub MCP · Bitbucket · GitLab · Jenkins | | | Incident Management | PagerDuty · Opsgenie · Jira · Alertmanager · incident.io · ServiceNow · Trello (client helpers only) | Linear | | Communication | Slack · Google Docs · Discord · Telegram · Rocket.Chat · WhatsApp · Buzz | Notion · Teams · Confluence | | Agent Deployment | Vercel · EC2 · ECS · Railway | | | Protocols | 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

11,343Stars
1,660Forks
0Open issues
PythonLanguage

GitHub Popularity

GitHub stars11,343
Forks1,660
Open issues0
Primary languagePython
License-
Stars gained today23
Created-
Last pushed-

Trending History

Daily boardrank #47 · ▲ 23 stars

Related AI Projects

1

Panniantong / Agent-Reach

Python★ 88,395⑂ 7,785▲ 683 stars
→
2

ComposioHQ / awesome-claude-skills

Python★ 76,358⑂ 8,919▲ 80 stars
→
3

microsoft / VibeVoice

Python★ 54,602⑂ 6,138▲ 36 stars
→
4

ayghri / i-have-adhd

Python★ 52,899⑂ 3,046▲ 277 stars
→
5

PostHog / posthog

Python★ 40,105⑂ 3,463▲ 40 stars
→
6

google / skills

Python★ 20,694⑂ 1,718▲ 78 stars
→
7

NVIDIA / SkillSpector

Python★ 19,080⑂ 1,662▲ 167 stars
→
8

tile-ai / tilelang

Python★ 8,234⑂ 829▲ 237 stars
→

More AI Rankings