frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Freedom is the only thing that matters. Living freely. Creating freely

9•kaizenb•2h ago•4 comments

Ask HN: Are you too getting addicted to the dev workflow of coding with agents?

29•gchamonlive•9h ago•15 comments

With Mythos will we reach coding singularity?

2•kamalsrini17•2h ago•0 comments

Sandflare – I built a sandbox that launches AI agent VMs in ~300ms

2•ajaysheoran2323•3h ago•3 comments

Ask HN: Does anyone else notice that gas runs out faster than usual

16•cat-turner•9h ago•26 comments

LinkedIn uses 2.4 GB RAM across two tabs

774•hrncode•2d ago•441 comments

Ask HN: Gemini CLI vs. Claude Code

6•elC0mpa•5h ago•2 comments

Are you team MCP or team CLI?

13•sharath39•13h ago•12 comments

Ask HN: What was it like in the era of BBS before the internet?

22•ex-aws-dude•12h ago•25 comments

Curious. anyone here allow agents to make purchase decisions of >$100?

2•adityasriram•7h ago•8 comments

Ask HN: Who needs contributors? (March 2026)

23•Kathan2651•1d ago•11 comments

Ask HN: Is it actually possible to run multiple coding sessions in parallel?

11•sukit•20h ago•15 comments

Ask HN: Is anyone still resisting the slop onslaught?

7•0xDEFACED•8h ago•4 comments

Ask HN: Best stack for building a tiny game with an 11-year-old?

14•richardstahl•1d ago•25 comments

Ask HN: What's your favorite number, and why?

9•QuantumNomad_•12h ago•22 comments

Ask HN: How to Handle Claude's Stubbornness?

7•classicpsy•21h ago•9 comments

Ask HN: M5 MacBook Pro buyers, worth spending the $$$ to maybe run LLMs local?

9•tpurves•1d ago•10 comments

The risk of AI isn't making us lazy, but making "lazy" look productive

74•acmerfight•2d ago•87 comments

Ask HN: What's the latest concensus on OpenAI vs. Anthropic $20/month tier?

13•whatarethembits•2d ago•13 comments

Ask HN: Release Path for 'Transformers Alternatives'?

4•adinhitlore•1d ago•1 comments

Ask HN: Google Finance Replacement Without AI Slop?

5•rurp•17h ago•1 comments

Ask HN: How are you keeping AI coding agents from burning money?

8•bhaviav100•2d ago•29 comments

Why do SF billboards hit different?

3•YouAreExisting•1d ago•10 comments

Claude API Error: 529

25•anujbans•3d ago•14 comments

Operator23: Describe Your Workflow in English, Deploy Everywhere

4•Mrakermo•1d ago•0 comments

Ask HN: Anyone using Meshtastic/LoRa for non-chat applications?

13•redgridtactical•3d ago•0 comments

Ask HN: Is it just me?

17•twoelf•2d ago•31 comments

Repsy – A lightweight, open-source alternative to Nexus/Artifactory

7•nuricanozturk•3d ago•0 comments

Fear of Missing Code

9•lukol•3d ago•9 comments

You've reached the end!

Open in hackernews

Sandflare – I built a sandbox that launches AI agent VMs in ~300ms

2•ajaysheoran2323•3h ago
I've been building Sandflare for the past few months — it launches Firecracker microVMs for AI agents in ~300ms cold start. The idea came from running LLM-generated code in production. Docker felt too risky (shared kernel), full VMs too slow (5–10s). Firecracker hits the middle: real VM isolation, fast boot.

I also added managed Postgres because almost every agent I built needed persistent state. One call wires a database into a sandbox.

There are great tools in this space already (E2B, Modal, Daytona) — I wanted something with batteries-included Postgres, and simpler pricing

What I'm trying to figure out: how do I get cold start below 100ms? Currently the bottleneck is the Firecracker API + network setup. Would love to hear from anyone who's pushed Firecracker further.

https://sandflare.io

Comments

pasanhk•2h ago
This is a killer niche. Integrated Postgres solves the biggest headache with ephemeral sandboxes—actually keeping the agent's memory. 300ms is already solid, but getting under 100ms usually means moving from "booting" to Firecracker Snapshots.

If you haven't yet, look into pre-warming TAP devices and bypassing the HTTP API for direct process management. Exciting stuff!

ajaysheoran2323•2h ago
Thanks! The snapshot approach is exactly what we're using — UFFD (userfaultfd) to restore from a pre-booted snapshot, with on-demand page faulting so the VM responds before all memory is loaded. That's how we get to ~300ms.
aborsy•14m ago
How much more lightweight is firecracker compared to a minimal image vm?

Because one could simply create a proper lightweight vm.