OpenSRE

作者 swapnildahiphale已验证

OpenSRE — the memory-first AI SRE. Self-hosted incident investigation with episodic memory, knowledge graph, web console, Slack & Teams. opensre.in

111
Stars
27
Forks
Python
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/swapnildahiphale/OpenSRE

快速入门

使用 OpenSRE 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

OpenSRE — Open-source AI SRE platform for automated incident investigation

OpenSRE — the memory-first AI SRE
Self-hosted · Episodic memory · Knowledge graph · Web console · Slack & Teams
opensre.in — not affiliated with Tracer / opensre.com

Apache 2.0 License GitHub Stars GitHub Forks PRs Welcome OpenSRE Documentation OpenSRE Website

OpenSRE is an open-source AI SRE agent that automatically investigates production incidents, finds root causes, and learns from every investigation. It combines episodic memory (remembering past incidents and what fixed them) with a Neo4j knowledge graph (understanding service dependencies and blast radius) and 51 production-ready skills for tools like Datadog, Grafana, PagerDuty, Elasticsearch, Kubernetes, and AWS. Self-hosted, direct Anthropic by default (provider-agnostic via the optional LiteLLM proxy), and licensed Apache 2.0.

OpenSRE demo — AI SRE agent investigating a production incident with episodic memory and knowledge graph
Click to watch OpenSRE investigate an incident in 60 seconds

Website · Docs · Live Demo · Contributing

Why OpenSRE?

Learns from every incidentOpenSRE remembers past investigations — what worked, what didn't. Similar incident at 3am? It already knows the playbook.
Understands your infrastructureNeo4j knowledge graph maps service dependencies, so the agent knows blast radius before it starts investigating.
Plugs into what you already use51 production skills for Datadog, Grafana, PagerDuty, Elasticsearch, Kubernetes, AWS, and more. No rip-and-replace.

Quick Start

git clone https://github.com/swapnildahiphale/OpenSRE.git
cd OpenSRE
cp .env.example .env
# Add your ANTHROPIC_API_KEY to .env (OpenRouter via the optional LiteLLM proxy)
make dev

This starts Postgres, config-service, Neo4j, sre-agent, and the web console. Migrations run automatically. Open http://localhost:3002 and paste the admin token shown in the terminal to sign in. (LiteLLM is an optional --profile litellm add-on.)

Full setup guide · Slack integration · Configuration

Architecture

OpenSRE architecture diagram — Claude Agent SDK orchestration with episodic memory, 51 investigation skills, and Neo4j knowledge graph

→ Detailed architecture docs · Architecture overview

Features

FeatureDescription
51 Production SkillsElasticsearch, Datadog, Grafana, PagerDuty, K8s, AWS, Jenkins, Argo CD, and more
Long-term MemoryNeo4j episodic memory — surfaces past solutions mid-investigation via memory-search
Knowledge GraphNeo4j service topology, dependency traversal, blast radius
Multi-provider LLMDirect Anthropic by default; optional LiteLLM for OpenAI, Gemini, and more
Web ConsoleInvestigations, memory hub, config editor
Slack IntegrationInvestigate incidents directly from Slack (make dev-slack)
Teams BotInvestigate incidents from Microsoft Teams (make dev-teams)

→ See all features · Roadmap

Useful Commands

CommandWhat it does
make devStart all services (Postgres, config, Neo4j, agent, web UI)
make dev-slackStart all services + Slack bot
make dev-teamsStart all services + Microsoft Teams bot
make stopStop all services
make statusShow service health status
make logsFollow all service logs
make logs-agentFollow sre-agent logs only
make cleanRemove containers, volumes, and images

Slack integration

Create a Slack app, add SLACK_BOT_TOKEN and SLACK_APP_TOKEN to .env, and run make dev-slack. Full guide.

Microsoft Teams

Configure TEAMS_APP_ID, TEAMS_APP_PASSWORD, and TEAMS_TENANT_ID in .env, then run make dev-teams. The bot listens on port 3978. See teams-bot/README.md.

E2E Testing with EKS

Run OpenSRE against a real Kubernetes cluster with the OpenTelemetry Demo app to test end-to-end investigations.

Prerequisites

  • An existing EKS cluster with kubectl and helm installed
  • AWS CLI configured with access to the cluster

Setup

export EKS_CLUSTER=my-cluster
export EKS_REGION=us-west-2
make e2e-setup-eks

This installs the otel-demo app on your EKS cluster, sets up port-forward tunnels to Prometheus/Grafana/Jaeger, starts sre-agent and the web UI, and generates a team token you can use to sign in.

Run fault injection tests

make e2e-test                    # Quick cart failure investigation (raw curl)
make e2e-test-cart               # Cart service fault — ~10% EmptyCart failures
make e2e-test-product            # Product catalog fault — ~5% GetProduct failures
make e2e-test-recommendation     # Recommendation service cache failure
make e2e-test-ad                 # Ad service failure — all requests fail
make e2e-test-all                # Run all 4 fault injection tests sequentially

Each test injects a fault into the otel-demo app via feature flags, then triggers an OpenSRE investigation to diagnose it.

EKS commands

CommandWhat it does
make e2e-setup-eksFull setup: otel-demo on EKS + tunnels + agent + token
make e2e-teardown-eksUninstall otel-demo from EKS and stop tunnels
make e2e-statusShow cluster, pods, and observability status
make e2e-tokenGenerate a team token for web UI access
make eks-port-forwardStart port-forward tunnels to EKS
make eks-port-forward-stopStop port-forward tunnels

Local cluster (Kind)

For testing without a cloud cluster, you can use Kind instead:

make e2e-setup       # Create Kind cluster + install otel-demo + start agent
make e2e-teardown    # Delete Kind cluster and clean up

Comparing OpenSRE

OpenSRE — the memory-first AI SRE at opensre.in is not affiliated with Tracer’s OpenSRE at opensre.com.

Built With

OpenSRE is built on top of proven open-source technologies:

  • Claude Agent SDK — Agent orchestration (root investigator → specialist subagents)
  • Neo4j — Knowledge graph for service topology and dependency traversal
  • FastAPI — Backend API with SSE streaming
  • Next.js — Web console (dashboard, memory browser, config editor)
  • LiteLLM — Optional multi-provider LLM proxy
  • PostgreSQL — Config and agent-run storage (episodes live in Neo4j)

Star History

Star History Chart

Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines. Please open an issue before starting major work.

Creator

Swapnil Dahiphale · SRE · Builder
"Built by someone who's been paged at 3am."
Portfolio   LinkedIn

License

OpenSRE is licensed under the Apache License 2.0.

常见问题

What is OpenSRE?

OpenSRE is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by swapnildahiphale. OpenSRE — the memory-first AI SRE. Self-hosted incident investigation with episodic memory, knowledge graph, web console, Slack & Teams. opensre.in. It has 111 GitHub stars.

Is OpenSRE safe to use?

Yes. OpenSRE passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install OpenSRE?

Clone the repository with "git clone https://github.com/swapnildahiphale/OpenSRE" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is OpenSRE written in?

OpenSRE is primarily written in Python. It is open-source under swapnildahiphale on GitHub, so you can review or fork the full source.

Are there alternatives to OpenSRE?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh OpenSRE against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情