r/devops • • 20h ago

Discussion Looking for Open Source AI Agent Recommendations for SRE / DevOps Workflows

Hey everyone!

I'm exploring AI agents that can assist with day-to-day SRE and DevOps operations, and I'd love to hear your recommendations based on real-world experience.

I'm particularly interested in agents that can help with:

  • Infrastructure: AWS, Terraform, Kubernetes, Docker.
  • CI/CD: GitHub Actions, Jenkins, deployment troubleshooting.
  • Monitoring & Observability: Prometheus, Grafana, Loki, alert analysis.
  • Incident Management: Log analysis, root cause analysis, debugging and remediation suggestions.
  • Linux & Networking: Server troubleshooting, system diagnostics, performance analysis.
  • Security: Vulnerability scanning, configuration auditing and security recommendations.

I'm not necessarily looking for a simple chatbot or coding assistant. I'm more interested in autonomous or semi-autonomous agents that can understand infrastructure context, interact with tools, investigate issues, and potentially execute tasks with appropriate permissions and human approval.

A few questions:

  1. Which AI agents or frameworks are you currently using for SRE/DevOps?
  2. Have you tried any open-source or self-hosted solutions?
  3. How reliable are they in real production environments?
  4. Are there any agents that integrate particularly well with existing monitoring and infrastructure tools?

I'd appreciate recommendations, especially from people who have actually deployed these agents in production.

Thanks!

0 Upvotes

24 comments sorted by

3

u/InconsiderableArse 19h ago

I haven't tried open source ones, but I use claude code, I use cli tools (gcloud cli, aws cli, atlas cli, vault cli, etc.) and it integrates using them.

2

u/Front-Chain7108 18h ago

I use claude too. but i need something like 24/7 watcher for incident.

1

u/Kaelin 16h ago

Check out HolmesGPT

1

u/planbskte11 8h ago

We have bedrock access, so all data stays "in house".

But with that we have a watcher on our IT support chat. Each message a small model diags it. If it's a system outage a container spins up with a API caller to bedrock. It can then ssh into a system and diag for us (user is very locked down).

We also have a binary service that a separate agents polls for outages. We have lots of onprem stuff so it's been helpful

Edit: I'm just posting this use case based off of your single comment there. There may be other more cost-effective ways to trigger agent runs, but this has been pretty cheap for us so far. We just run haiku on the whole pipeline you see here

2

u/mikepun-locol 18h ago

Nanoclaw works really well with Claude. As in I don’t directly set up Nanoclaw agents. I tell Claude what I need the agent to do, and Claude sets up the agent. Nanoclaw can use Claude as the LLM interface and Nanoclaw handles the communication channels.

But key is that Nanoclaw is architectured exactly how you would want an agent harness doing infrastructure work would be... sandboxed containers. Architectured so that you can deploy in the way you need for it to fit into your environment. Permission and workload isolation with least permissions, etc..

And of course open source. So I have my own customized nanoclaw running my agents. With customized guardrails etc. Running 24/7 and reporting to me via my own discord server.

1

u/Front-Chain7108 17h ago

thanks.let me check it then.

6

u/Dobsen_Runjie 9h ago

have you looked at Prilog for the debugging and remediation side? id definitely keep human approval on anything touching prod infra though, autonomous terraform changes sound terrifying

1

u/benbutton1010 18h ago

We use claude/codex/opencode for local, kagent in k8s, and custom agents in agent-sandbox in k8s too.

Depends what your use case is. If you need multi-user per agent, you'll need a different agent than most harnesses are built for.

0

u/Front-Chain7108 18h ago

Incident Management: Log analysis, root cause analysis, debugging and remediation suggestions. I need a watcher like this that will update us in slack. but i found one in git from fuzzlylabs that use claude. but its not udpated for 9 months

1

u/benbutton1010 18h ago

You're chasing the wrong thing. Any agent can do incident management w/ the right mcps and clis.

What you need to be concerned about is authentication/authorization/security and your usability model.

If all you're looking for is a good slackbot, then look for the slackbot connector instead of the whole agent.

1

u/Front-Chain7108 18h ago

woah.thanks for the suggestion. i shoudl try that first

1

u/Common_Dream9420 17h ago

we build infra workflows internally which covers most of the stuff u described.. but the hard is not building ...managing agent actions/tool access/permissions etc.. we have HITL loop every prod action .agent takes... 16 agents coordinate devops/SRE tasks/workflows, handles...

curious whats ur biggest pain? are you building something internalluy or looking for something out of the box/oss?

2

u/Front-Chain7108 11h ago

I m building internally.i m not a good coder so i m not trying to build from scratch that's why searching for a oss one.

1

u/Common_Dream9420 10h ago

got it.. we have few pieces and will DM you maybe that helps u.. let me know.. atleast to start with

2

u/platypus-3719 8h ago

Radar for Kubernetes, easy.

https://github.com/skyhook-io/radar

Point your agent at the MCP server, whatever agent you use

1

u/mohamed_am83 19h ago

Opencode with whatever LLM you have access to (better self hosted) + your own prompts + cron or your favourite scheduler.

Completely open source and customised for your use case.

1

u/madtopo DevOps 14h ago

If you don't yet have experience with agentic coding, I can recommend starting with either pi or opencode and just talk to your agent and get comfortable.

Once you have discovered your own workflow then you can start thinking about automatic it, either by creating your own agent or using something that you can find on the Internet.

I personally have been using it for the bast 18 months (started with opencode, then migrated to pi) for all sorts of SRE/DevOps tasks (writing terraform, ansible, CICD pipelines for Github and Forgejo, setting up monitoring, debugging issues in production by accessing central logs and pipeline logs, etc.) and it's been great. It goes as far as I let it.

Good luck.

1

u/ProfessionalCan6210 13h ago

Whatever harness you pick, how you split permissions matters more than the agent itself. What I've seen work:

  • Start read-only. Logs, metrics, kubectl get/describe, terraform plan, no apply. Investigation and RCA is where these agents are most useful anyway.
  • Writes go through the same path a human's would: the agent opens a PR or proposes the exact command, and a person approves it. No long-lived admin creds, mint short-lived scoped ones per task.
  • Tier actions by blast radius. Restarting a pod in staging can be automatic; anything touching prod data, IAM or DNS waits for a named approver.
  • Log every tool call with the input, who approved it and the result, so you can reconstruct what happened when something goes wrong.

On reliability: they're good at correlating logs and alerts and drafting a fix, much less reliable at deciding when not to act. That's why the approval step matters more than the model choice.

1

u/ParsaKhaz 5h ago

agree. i decide by what a mistake costs, anything touching prod stays lights on with a person doing the apply, the cheap to undo stuff can run on its own

1

u/DoOmXx_ 7h ago

opencode with read-only aws and kubectl creds gets you most of the way, i'd skip the purpose built sre agents

•

u/rankinrez 2m ago

Gemini, Qwen there are quite a few to choose from.

A lot will depend on what hardware you have. I’ve been having some success using Strata/MoE models of late as I’ve a fairly modest PC setup.