frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Launch an autonomous AI agent with sandboxed execution in 2 lines of code

https://amaiya.github.io/onprem/examples_agent.html
13•wiseprobe•2h ago

Comments

TheDong•1h ago
I was curious, so I dug a bit.

Under the hood it's effectively running:

    docker run --rm -w $PWD:/workspace \
      python:3.11-slim \
      pip install -q patchpal && \
      <command>
Which cool, great, I sure love "pip install"ing every time instead of just baking a single container image with it already installed.

This isn't any sort of fancy or interesting sandboxing, this is shelling out to "docker run", and not even using docker as well as it could.

Quoting from the linked page:

> The tradeoff is ~5-10 seconds of container startup overhead

Sure, maybe it's 5-10 seconds if you use containers wrong. Unpacking a root filesystem and spinning up a clean mount namespace on linux is a few ms, and taking more than a second means something is going wrong, like "pip install"ing at runtime instead of buildtime for some reason.

I can spin up a full linux vm and run some code in quicker than 5 seconds.

davispeck•46m ago
This feels less like "agents" and more like a controlled generate → execute → fix loop.

Works great when you have a clear verification signal (tests passing), but what drives convergence when that signal isn’t well-defined?

gpubridge•24m ago
The "2 lines of code" framing is appealing but hides the real complexity: what happens when the agent needs to make external API calls at runtime?

Sandboxed execution solves the safety problem (agent cannot destroy your filesystem). But autonomous agents also need compute resources — inference, embeddings, image generation — that run outside the sandbox. The payment and authentication for those external calls is where the interesting engineering happens.

An agent running in a sandbox with a funded wallet (USDC on Base L2 via x402) can pay for its own compute without any human in the loop. That is the missing piece between "launch an agent" and "agent runs autonomously for weeks."

A Decade of Slug

https://terathon.com/blog/decade-slug.html
466•mwkaufma•8h ago•42 comments

Python 3.15's JIT is now back on track

https://fidget-spinner.github.io/posts/jit-on-track.html
298•guidoiaquinti•8h ago•112 comments

Microsoft's 'unhackable' Xbox One has been hacked by 'Bliss'

https://www.tomshardware.com/video-games/console-gaming/microsofts-unhackable-xbox-one-has-been-h...
576•crtasm•12h ago•213 comments

More than 135 open hardware devices flashable with your own firmware

https://openhardware.directory
42•iosifnicolae2•4d ago•6 comments

Mistral AI Releases Forge

https://mistral.ai/news/forge
173•pember•6h ago•26 comments

Get Shit Done: A Meta-Prompting, Context Engineering and Spec-Driven Dev System

https://github.com/gsd-build/get-shit-done
221•stefankuehnel•7h ago•127 comments

Show HN: Sub-millisecond VM sandboxes using CoW memory forking

https://github.com/adammiribyan/zeroboot
71•adammiribyan•13h ago•14 comments

The Pleasures of Poor Product Design

https://www.inconspicuous.info/p/the-pleasures-of-poor-product-design
29•NaOH•2h ago•5 comments

Launch HN: Kita (YC W26) – Automate credit review in emerging markets

32•rheamalhotra1•7h ago•5 comments

It Took Me 30 Years to Solve This VFX Problem – Green Screen Problem [video]

https://www.youtube.com/watch?v=3Ploi723hg4
182•yincrash•4d ago•80 comments

A tale about fixing eBPF spinlock issues in the Linux kernel

https://rovarma.com/articles/a-tale-about-fixing-ebpf-spinlock-issues-in-the-linux-kernel/
22•y1n0•2h ago•1 comments

Launch an autonomous AI agent with sandboxed execution in 2 lines of code

https://amaiya.github.io/onprem/examples_agent.html
13•wiseprobe•2h ago•3 comments

Unsloth Studio

https://unsloth.ai/docs/new/studio
197•brainless•12h ago•44 comments

Why AI systems don't learn – On autonomous learning from cognitive science

https://arxiv.org/abs/2603.15381
37•aanet•5h ago•13 comments

Electron microscopy shows 'mouse bite' defects in semiconductors

https://news.cornell.edu/stories/2026/03/electron-microscopy-shows-mouse-bite-defects-semiconductors
30•hhs•4d ago•5 comments

Chrome extension adjusts video speed based on how fast the speaker is talking

https://github.com/ywong137/speech-speed
107•MrBuddyCasino•4d ago•29 comments

Honda is killing its EVs

https://techcrunch.com/2026/03/14/honda-is-killing-its-evs-and-any-chance-of-competing-in-the-fut...
216•sylvainkalache•2d ago•502 comments

Show HN: Fatal Core Dump – A debugging murder mystery played with GDB

https://www.robopenguins.com/fatal_core_dump/
36•axlan•4d ago•1 comments

Ryugu asteroid samples contain all DNA and RNA building blocks

https://phys.org/news/2026-03-ryugu-asteroid-samples-dna-rna.html
201•bookofjoe•15h ago•102 comments

Edge.js: Run Node apps inside a WebAssembly sandbox

https://wasmer.io/posts/edgejs-safe-nodejs-using-wasm-sandbox
105•syrusakbary•9h ago•33 comments

Node.js needs a virtual file system

https://blog.platformatic.dev/why-nodejs-needs-a-virtual-file-system
233•voctor•12h ago•198 comments

Show HN: I built an interactive 3D three-body problem simulator in the browser

https://structuredlabs.github.io/threebodyproblem/
31•amrutha_•4d ago•14 comments

Arno's Engram Keyboard Layouts

https://github.com/binarybottle/engram
5•so-cal-schemer•4d ago•1 comments

Kagi Small Web

https://kagi.com/smallweb/
713•trueduke•17h ago•197 comments

Spice Data (YC S19) Is Hiring a Product Specialist

https://www.ycombinator.com/companies/spice-data/jobs/P0e9MKz-product-specialist-new-grad
1•richard_pepper•10h ago

OpenSUSE Kalpa

https://kalpadesktop.org/
179•ogogmad•13h ago•79 comments

'The Secret Agent': Exploring a Vibrant, yet Violent Brazil (2025)

https://theasc.com/articles/the-secret-agent-cinematography
125•tambourine_man•11h ago•65 comments

Torturing Rustc by Emulating HKTs

https://www.harudagondi.space/blog/torturing-rustc-by-emulating-hkts/
53•g0xA52A2A•3d ago•6 comments

Meta and TikTok let harmful content rise to drove engagement, say whistleblowers

https://www.bbc.com/news/articles/cqj9kgxqjwjo
233•1vuio0pswjnm7•7h ago•147 comments

Java 26 is here

https://hanno.codes/2026/03/17/java-26-is-here/
191•mfiguiere•8h ago•153 comments