frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Capsule Bash – Sandboxed Bash for Agents

https://github.com/capsulerun/bash
1•mavdol04•1h ago
I've always felt that existing Bash wasn't adapted for agents. It gives way too much freedom and not enough feedback to enrich the context after each command.

I ended up building this TypeScript-based sandboxed Bash. If we compare it to other alternatives, it is divided into two layers:

- The core, with all the Bash commands and the operator logic.

- The runtime, a pluggable part that manages code execution in the sandbox. There's a Wasm runtime available based on a Rust runtime I launched a few months ago. [1]

In practice, the core calls the runtime to execute code and get back structured information from the sandbox, including exact filesystem changes (what was created, modified or deleted) and direct feedback in stdout.

I added commonly used commands, including `python3 -c` and `node -e`, but if you find an edge case where the current commands aren't enough, let me know.

GitHub: https://github.com/capsulerun/bash

--

[1]: https://news.ycombinator.com/item?id=46871387

Comments

debarshri•1h ago
This is interesting. We are building something similar too but for remote agents.
mavdol04•1h ago
Nice, what are you building exactly ?
debarshri•55m ago
We are building cloud-native agent harnesses.

RaTeX: KaTeX-compatible LaTeX rendering engine in pure Rust

https://ratex.lites.dev/
1•atilimcetin•1m ago•0 comments

Keywords

https://keywords.bagpuss.org
1•scrumper•1m ago•1 comments

Secluso: E2E Encrypted Home Security Camera

https://secluso.com/
1•akyuu•1m ago•0 comments

What Addiction Does to the Brain

https://knowablemagazine.org/content/article/mind/2026/what-addiction-does-to-synapses-in-brain
1•gmays•2m ago•0 comments

How we know if our agent is right

https://www.mendral.com/blog/how-we-know-if-our-agent-is-right
2•shad42•3m ago•0 comments

Cursed Browser: web rendering engine using visual-LLMs

https://github.com/scosman/cursed_browser
2•scosman•4m ago•0 comments

'Longevity drug' rapamycin may have a surprising impact on exercise

https://www.washingtonpost.com/wellness/2026/04/29/rapamycin-exercise-study/
2•evo_9•8m ago•0 comments

Homebridge 2.0 is here, and it speaks Matter

https://www.theverge.com/tech/922877/homebridge-2-0-matter-update-robot-vacuums
2•Brajeshwar•8m ago•0 comments

Palantir Comes to Campus

https://nymag.com/intelligencer/article/palantir-yale-conference-ai.html
1•spenvo•8m ago•0 comments

Tokyo considering more trash cans following litter increase in touristed area

https://japantoday.com/category/features/lifestyle/tokyo-considering-law-requiring-more-trash-can...
2•firasd•8m ago•0 comments

Tribe v2: An AI Model of the Human Brain, Predicting Neural Responses

https://aidemos.atmeta.com/tribev2/
1•fidotron•8m ago•1 comments

Formula 1 plans to return to V8 engines by 2030

https://www.aljazeera.com/sports/2026/5/4/formula-one-plans-return-to-v8-engines-as-electrical-re...
1•butlike•9m ago•0 comments

Amazon Supply Chain Services – Amazon's supply chain is now yours

https://supplychain.amazon.com/
1•tmoertel•9m ago•0 comments

OpenAI Finalizes $10B Joint Venture with PE Firms to Deploy AI

https://www.bloomberg.com/news/articles/2026-05-04/openai-finalizes-10-billion-joint-venture-with...
2•nathanh•9m ago•0 comments

Async Rust never left the MVP state

https://tweedegolf.nl/en/blog/237/async-rust-never-left-the-mvp-state
3•bo0tzz•9m ago•0 comments

Mark Zuckerberg's virtual reality demo (2016) [video]

https://www.facebook.com/zuck/videos/heres-the-crazy-virtual-reality-demo-i-did-live-on-stage-at-...
1•downbad_•10m ago•1 comments

Can an A.I. Company Ever Be Good?

https://www.nytimes.com/2026/04/26/opinion/ai-company-good-altruism.html
2•pavel_lishin•10m ago•0 comments

Pixel 11 leak reveals new camera hardware, Tensor G6 details, more specs

https://9to5google.com/2026/05/04/google-pixel-11-specs-cameras-tensor-g6-leak/
2•Alupis•11m ago•1 comments

Lifting a 30k-Pound Mast from a Warship Built a Record-Breaking 261 Years Ago

https://www.smithsonianmag.com/smart-news/how-do-you-lift-a-30000-pound-mast-from-a-warship-built...
1•Alupis•12m ago•0 comments

Can anyone point me to a ShowHN first post policy documentation?

3•upwindchange•13m ago•0 comments

The Morass of Injustice

https://www.craigmurray.org.uk/archives/2026/05/the-morass-of-injustice/
1•jjgreen•13m ago•0 comments

Huawei's Programming Language, Cangjie [video]

https://www.youtube.com/watch?v=ujpl5_TmAaE
1•fhn•13m ago•1 comments

Welcome to the Great American Satellite Age

https://www.wired.com/story/welcome-to-the-great-american-satellite-age/
1•pd33•14m ago•0 comments

Show HN: Twitter X Posts Archiver and Video Downloader

1•rafayexalter•15m ago•0 comments

ShowHN: Fireshow - Don't send the deck later, walk them through it on the call

https://fireshow.live/
1•Villmike•18m ago•0 comments

The Mathematical Dance Inside Plant Cells

https://www.quantamagazine.org/the-hidden-mathematical-dance-inside-plant-cells-20260504/
2•lschueller•19m ago•0 comments

What Makes Art Great?

https://nabeelqu.substack.com/p/what-makes-art-great
2•aworks•23m ago•1 comments

What Happened with Mars Sample Return?

https://mceglowski.substack.com/p/what-happened-with-mars-sample-return
2•pavel_lishin•23m ago•0 comments

Barocal can cool your food and drink by squeezing a hunk of plastic crystals

https://techcrunch.com/2026/05/04/barocal-can-cool-your-food-and-drink-by-squeezing-a-hunk-of-pla...
1•Brajeshwar•24m ago•0 comments

For Google Advertisers Who Overpaid the Monopoly – Don't Hate, Arbitrate

https://www.adexchanger.com/antitrust/for-google-advertisers-who-overpaid-the-monopoly-dont-hate-...
2•omer_k•25m ago•0 comments