frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Railyard – open and secure runtime for Claude Code

3•LunarFrost88•1h ago
We're a small startup (but have ~15 years of experience building software), so we try to run Claude Code as autonomously as possible. The goal is to spend most of our time talking to customers instead of babysitting the agent. But --dangerously-skip-permissions felt a bit too wild west for us.

So we built a runtime to make autonomous use safer. Railyard is an open-source runtime that sits between Claude Code and the shell and adds guardrails to agent commands.

Every command Claude runs goes through Railyard first. Most commands pass straight through. The ones that could cause damage (for example terraform destroy) get blocked or require approval.

Under the hood it runs commands inside an OS-level sandbox (sandbox-exec on macOS and bwrap on Linux) and applies deterministic rules. There’s no LLM scoring commands or guessing about intent — a command either matches a rule or it doesn’t. The check takes about 2ms.

By default it blocks destructive commands like terraform destroy or rm -rf, prevents access to sensitive paths like ~/.ssh, ~/.aws, and /etc, restricts certain network calls, and catches simple evasion tricks like base64, hex, or variable obfuscation.

It also snapshots file writes so you can roll back a session if something goes wrong.

In practice this lets us run Claude Code with --dangerously-skip-permissions, but with guardrails underneath so we can move fast without breaking or deleting production assets.

We built this because we wanted Claude Code to behave more like a software factory. Factories run at high volume, but only because the production line has quality and safety checks. Railyard is the guardrail layer that makes that possible for us.

Repo: https://github.com/railyarddev/railyard

It's MIT licensed and free to use. If you're experimenting with autonomous agents, feel free to clone it and try it out. I'm especially curious how people push or break these guardrails.

Happy to answer any questions about how it works.

Comments

joaquin_arias•1h ago
This looks really useful! I like how you added OS-level sandboxing and deterministic guardrails instead of relying on LLM-based intent checks — that feels much safer for running autonomous agents.

Curious: have you tried integrating this with multi-agent setups, where multiple Claude Code instances interact? I wonder how the guardrails would scale when agents start triggering each other’s commands.

Also, do you have plans for a lightweight visualization dashboard for monitoring blocked vs allowed commands in real time? It could help developers trust the system more quickly.

LunarFrost88•27m ago
Thanks for the feedback. Love the point about the visualization dashboard, will add that now!

>> have you tried integrating this with multi-agent setups, where multiple Claude Code instances interact?

We wanted to solve for the most frequent use case first (single-agent execution), but multi-agent is definitely on the cards. If you've got some use cases in mind, let me know and we'll apply Railyard to it.

simosmik•20m ago
That’s nice work guys. Knowing anthropic, their auto-mode which releases on the 12th is going to leave a lot to be desired

Nvidia's Groq Plot Thickens – The Chip Letter

https://thechipletter.substack.com/p/nvidias-groq-plot-thickens
1•rbanffy•3m ago•0 comments

The Latest Republican Efforts to Make It Harder to Vote in the Midterms

https://www.newyorker.com/news/the-lede/the-latest-republican-efforts-to-make-it-harder-to-vote-i...
1•mitchbob•4m ago•1 comments

The Dark Factory Is a .dot file

https://2389.ai/posts/the-dark-factory-is-a-dot-file/
1•paulsmith•5m ago•0 comments

Uber uses AI for development: inside look

https://newsletter.pragmaticengineer.com/p/how-uber-uses-ai-for-development
1•tmsh•5m ago•0 comments

Iowa Payphone Defends Itself (Associated Press, 1984)

https://www.payphone-project.com/iowa-payphone-defends-itself-ap-story-from-october-1984.html
1•TigerUniversity•6m ago•0 comments

Show HN: Quick Look Source Code in Finder on macOS

https://anybox.ltd/source-code-preview
1•francisfeng•8m ago•0 comments

Against Vibes: When Is a Generative Model Useful

https://www.williamjbowman.com/blog/2026/03/05/against-vibes-when-is-a-generative-model-useful/
1•takira•9m ago•0 comments

Show HN: KaraMagic – automatic karaoke video maker

https://karamagic.com/
1•godot•10m ago•0 comments

What comes after agents? AI employees

https://www.ycombinator.com/launches/Pf7-beyond-agents-the-era-of-ai-employees
1•karissaho•10m ago•0 comments

Photocopier No More: The Reckoning with AI Creativity Has Arrived

https://reviews.ofb.biz/safari/article/1401.html
1•trbutler•10m ago•0 comments

Inverse Occam's Razor

https://arxiv.org/abs/2204.08284
1•jerlendds•11m ago•0 comments

Tell HN: Apple development certificate server seems down?

5•strongpigeon•12m ago•1 comments

Mother of All Grease Fires

https://milk.com/wall-o-shame/bucket.html
2•xk3•12m ago•0 comments

6-Axis Milling for Enhancing Quality of Fused Granular Fabrication Parts

https://www.mdpi.com/2073-4360/18/5/608
1•PaulHoule•13m ago•0 comments

Working to Decentralize FedCM

https://atproto.com/blog/working-to-decentralize-fedcm
1•sgoto•13m ago•0 comments

Agent-sync – sync between Claude Code and Codex configs

https://github.com/matanabudy/agent-sync
1•matanabudy•13m ago•0 comments

Helix 02 living room tidy

https://www.youtube.com/watch?v=CAdTjePDBfc
1•hheikinh•15m ago•0 comments

Don't let LLMs write for you

https://justismills.substack.com/p/dont-let-llms-write-for-you
1•c-oreills•16m ago•0 comments

Deep Learning: Our Year 1990-1991

https://people.idsia.ch/~juergen/deep-learning-miraculous-year-1990-1991.html
1•untilted•18m ago•0 comments

Ask HN: I built an AI-native codebase framework–could you evaluate it?

1•xodn348•22m ago•1 comments

The Slowest Viral Thing

https://pilgrima.ge/p/the-slowest-viral-thing
1•momentmaker•22m ago•0 comments

SoftBank eyes up to $40B loan to fund OpenAI investment

https://www.reuters.com/business/media-telecom/softbank-seeks-up-40-billion-loan-finance-openai-i...
4•devonnull•23m ago•0 comments

SEIA Solar Market Insight Report 2025 Year in Review

https://seia.org/research-resources/us-solar-market-insight/
1•toomuchtodo•24m ago•0 comments

A vertical tab companion app for aerospace window manager

https://github.com/raghavendra-talur/aeromux
1•rtalur•24m ago•1 comments

Uber rolls out women-only option in the US

https://www.bbc.com/news/articles/cx2gvrzwdr7o
2•alephnerd•25m ago•0 comments

Meta Is Buying Moltbook

https://lifehacker.com/tech/meta-is-buying-moltbook
1•umangsehgal93•25m ago•1 comments

GoT Timeline – a daily timeline game to test your Game of Thrones skills

https://www.got-timeline.com
1•onion92•25m ago•0 comments

Claude Code makes local LLMs 90% slower

https://unsloth.ai/docs/basics/claude-code
4•telotortium•28m ago•1 comments

Eventbrite Enters into Definitive Agreement to Be Acquired by Bending Spoons

https://www.businesswire.com/news/home/20251202408560/en/Eventbrite-Enters-into-Definitive-Agreem...
5•DocFeind•29m ago•1 comments

Why doesn't V8 fit on my microcontroller? (2021)

https://medium.com/the-toit-take/why-doesnt-v8-fit-on-my-microcontroller-71dc6e2d8f5c
1•tosh•30m ago•0 comments