zlacker

Claude Code for Infrastructure

submitted by aspect+(OP) on 2026-02-04 18:34:08 | 209 points 150 comments
[view article] [source] [go to bottom]

NOTE: showing posts with links only show all posts
1. aspect+1[view] [source] 2026-02-04 18:34:08
>>aspect+(OP)
Hey HN, My name is Collin and I'm working on fluid.sh (https://fluid.sh) the Claude Code for Infrastructure.

What does that mean?

Fluid is a terminal agent that do work on production infrastructure like VMs/K8s cluster/etc. by making sandbox clones of the infrastructure for AI agents to work on, allowing the agents to run commands, test connections, edit files, and then generate Infra-as-code like an Ansible Playbook to be applied on production.

Why not just use an LLM to generate IaC?

LLMs are great at generating Terraform, OpenTofu, Ansible, etc. but bad at guessing how production systems work. By giving access to a clone of the infrastructure, agents can explore, run commands, test things before writing the IaC, giving them better context and a place to test ideas and changes before deploying.

I got the idea after seeing how much Claude Code has helped me work on code, I thought "I wish there was something like that for infrastructure", and here we are.

Why not just provide tools, skills, MCP server to Claude Code?

Mainly safety. I didn't want CC to SSH into a prod machine from where it is running locally (real problem!). I wanted to lock down the tools it can run to be only on sandboxes while also giving it autonomy to create sandboxes and not have access to anything else.

Fluid gives access to a live output of commands run (it's pretty cool) and does this by ephemeral SSH Certificates. Fluid gives tools for creating IaC and requires human approval for creating sandboxes on hosts with low memory/CPU and for accessing the internet or installing packages.

I greatly appreciate any feedback or thoughts you have, and I hope you get the chance to try out Fluid!

◧◩
47. aspect+aA[view] [source] [discussion] 2026-02-04 21:19:05
>>tobi_b+Dk
I wish, for my work it would be a safety nightmare. I left a comment on this topic. https://news.ycombinator.com/reply?id=46889704&goto=item%3Fi...
◧◩
60. aspect+FD[view] [source] [discussion] 2026-02-04 21:38:04
>>alexan+KB
Hey, thanks for the comment. I answer this question in more depth on the website https://fluid.sh or this comment: https://news.ycombinator.com/reply?id=46889704&goto=item%3Fi...

This lets AI work on cloned production sandboxes vs running on production instances. Yes you can sandbox Claude Code on a production box, but it cannot test changes like it would for production-breaking changes. Sandboxes give AI this flexibility allowing it to safely test changes and reproduce things via IaC like Ansible playbooks.

◧◩
72. aspect+gO[view] [source] [discussion] 2026-02-04 22:32:14
>>stacks+hF
Hey no problem! I'll work on the demo more. I discuss this in my comment here: https://news.ycombinator.com/reply?id=46889704&goto=item%3Fi...

and on the website: https://fluid.sh

But fluid lets AI investigate, explore, run commands, and edit files in a production-cloned sandbox. LLMs are great at writing IaC, but the LLMs won't get the right context from just generating an Ansible Playbook. They need a place to run commands safely and test changes before writing the IaC. Much like a human, hence the sandbox.

◧◩
94. raw_an+301[view] [source] [discussion] 2026-02-04 23:40:43
>>Uptren+SW
As are 95% of YC funded companies

https://docs.google.com/spreadsheets/d/1Uy2aWoeRZopMIaXXxY2E...

I don’t remember where I got this link from

124. jamesm+tg1[view] [source] 2026-02-05 01:46:42
>>aspect+(OP)
This general idea is exactly why I love nix. The immutability of it is powerful. It can be useful for both running your agents in a certain environment AND your agents are useful at writing your nix config. I expand on this in a blog post here https://jamesst.one/posts/agents-nix
125. wayeq+Sg1[view] [source] 2026-02-05 01:49:56
>>aspect+(OP)
> curl -fsSL https://fluid.sh/install.sh | bash

what could go wrong..

137. Yash16+tu1[view] [source] 2026-02-05 03:47:33
>>aspect+(OP)
I’m building the app https://picxstudio.com using Claude Code. It’s an AI image-generation site. I tried using a lightweight LLM to write prompts, but Claude Code with Claude Opus 4.5 writes prompts automatically without even asking. It just adds proper lighting and better details by default. I’ve noticed a huge difference in the generated images — Claude Opus 4.5 prompts are way better.
◧◩
145. sschue+jL1[view] [source] [discussion] 2026-02-05 06:43:52
>>fallou+0j
I am in the same boat but I recently found I could also use these tool so reverse engineer stuff as well. For example I purchased this label printer from china and was unsatisfied with the printing quality under Linux. So I "coded" a go script to print via BLE instead of CUPS [1]. To do this I de-compiled the android app that comes with the printer and instead of spending hours going through it I just told an Agentic AI to do this for me.

I am now so deep into the rabbit hole that I have made a version that runs entirely in the browser and an ESP32 version. I have now also taken the printer apart to find that the built in BLE is an external module and I could interface directly with the printer by replacing it with my own custom PCB...

[1] https://sschueller.github.io/posts/making-a-label-printer-wo...

[go to top]