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
12•wiseprobe•2h ago

Comments

TheDong•58m 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•29m 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•7m 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."

Has the Strait of Hormuz Chokepoint Become a Checkpoint for Iranian Shipping? [video]

https://www.youtube.com/watch?v=Eqr3s6uTays
1•kamaraju•1m ago•0 comments

Show HN: Github.blog Down

2•linkregister•3m ago•2 comments

Show HN: Enterprise Process Governance for AI-Driven Delivery (Open Source)

https://github.com/torbenanderson/icebox-cli/blob/main/docs/process/README.md
2•TorbenAnderson•4m ago•0 comments

The Cloud won't save you. Owning your stack will – for less

https://fbo.network/en/articles/naddr1qvzqqqr4gupzq6wf24hjcdl0xen5ctygr7dw95r53wxwgey4dve7hmswlsf...
3•fiatjaf•9m ago•0 comments

GUI

https://gui.new/
1•handfuloflight•10m ago•0 comments

Meta shares jump after Reuters report on plans for layoffs of 20% or more

https://www.reuters.com/business/meta-shares-jump-after-reuters-report-plans-layoffs-20-or-more-2...
3•1vuio0pswjnm7•14m ago•1 comments

My AI didn't misread a receipt – it fabricated one from scratch

1•Raywob•15m ago•0 comments

Show HN: Cursor for LibreOffice Week 2&3 (AI agents and voice)

https://keithcu.com/wordpress/?p=5112
1•keithcu2•15m ago•2 comments

Minute Timer

https://1minutetimer.org/
4•peter_zou2022•15m ago•0 comments

Manitoba introduces bill to ban surveillance pricing

https://www.cbc.ca/news/canada/manitoba/bill-49-predatory-pricing-9.7131963
2•jprs•15m ago•0 comments

Show HN: Dump – easily share context with AI

https://www.dump.page
2•vochsel•16m ago•0 comments

AI firm Anthropic seeks weapons expert to stop users from 'misuse'

https://www.bbc.com/news/articles/c74721xyd1wo
1•bookofjoe•17m ago•1 comments

Revise.js: library for building contenteditable-based web text editors

https://revise.js.org/
1•thunderbong•18m ago•0 comments

Staying Relevant in a Post-AI World

https://benjaminsen.substack.com/p/staying-relevant-in-a-post-ai-world
1•geswit2x•18m ago•0 comments

Elon Musk's lawyers sidestepped SEC team in Twitter case settlement talks

https://www.ft.com/content/018528f9-964f-42ab-aea7-72fadd173918
1•1vuio0pswjnm7•19m ago•1 comments

Show HN: Vocaperso – Build vocabulary from books you read

1•61j3t•29m ago•0 comments

Monitor and improve your web app's load performance

https://blogs.windows.com/msedgedev/2026/03/17/monitor-and-improve-your-web-apps-load-performance/
1•xtrkil•31m ago•0 comments

Show HN: Local-first documentation MCP for AI agents

https://neuledge.com/
1•moshest•38m ago•0 comments

Google 2K

https://google2k.neoalpha.net/search?q=haha&btnG=Google+Search
1•keepamovin•38m ago•0 comments

Chrome Prepares Nudge to 'Move Tabs to the Side' as Vertical Tabs Near Release

https://onmsft.com/news/chrome-prepares-nudge-to-move-tabs-to-the-side-as-vertical-tabs-near-rele...
1•pabs3•39m ago•0 comments

Guarding Against Physical Attacks: The Xbox One Story (2019) [video]

https://www.youtube.com/watch?v=U7VwtOrwceo
1•mmooss•41m ago•1 comments

Too Much Color

https://www.keithcirkel.co.uk/too-much-color/
2•maguay•42m ago•1 comments

Do you make more money now that you use AI for everything?

1•hoppp•43m ago•0 comments

Show HN: AI agents that run real user interviews

https://github.com/junetic/usercall-mcp
2•jtccc•43m ago•0 comments

The Physics of Misunderstanding: When "Gaze" Almost Cost Me My Career

https://www.jsnover.com/blog/2026/02/27/the-physics-of-misunderstanding-when-gaze-almost-cost-me-...
1•joebig•46m ago•2 comments

Deploy Multiple OpenClaw AI Assistants with Local GPU Running DeepSeek-R1

https://www.pixelstech.net/article/1773650542-deploy-multiple-openclaw-ai-assistants-cluster-with...
2•misonic•47m ago•1 comments

'Celebrate, we're watching from the sky' Netanyahu to protect Iranians on Nowruz

https://www.i24news.tv/en/news/middle-east/iran-eastern-states/artc-celebrate-we-are-watching-fro...
2•thomassmith65•47m ago•1 comments

UBC study: artificial turf fields pose lethal chemical threat to salmon

https://todayinbc.com/2026/03/17/ubc-study-shows-artificial-turf-fields-pose-lethal-chemical-thre...
3•cf100clunk•49m ago•1 comments

Paintn't – A headless tribute to paint.exe, in TypeScript

https://github.com/RickCarlino/paintnt
1•rickcarlino•53m ago•0 comments

TIL Tues: Isotropic radiator [wiki]

https://en.wikipedia.org/wiki/Isotropic_radiator
1•sans_souse•57m ago•0 comments