# Fence

Hacker Approved page: https://hackerapproved.com/p/fence/

5 people recommended Fence in Hacker News comments and none criticized it, November 2025 to October 2026. It was recommended in 5 of 12 months, in 6 threads. It does not meet the Hacker Approved badge rule.

**Verdict:** Lightweight CLI sandbox that restricts filesystem and network access for commands, aimed at people running AI coding agents. Caveat: it cannot wrap Flatpak or similar namespace-based sandbox tools.

Summary written by Claude from 14 comments. It was written before the November 2026 recount, and 5 of those comments still count.

## Why people recommend it

- Restricts filesystem and network access (1 comment in the sample): "a lightweight process sandbox for CLI agents (or any command really) with filesystem and network restrictions" ([source](https://news.ycombinator.com/item?id=47859261))
- Adds controls on top of sandbox-runtime (1 comment in the sample): "Fence which was already doing the hard kernel work really well" ([source](https://news.ycombinator.com/item?id=47366962))

## The badge

A product earns the Hacker Approved badge when at least 10 people recommend it, recommenders outnumber critics at least 2 to 1 (mixed feelings count toward neither side), it was recommended in at least 4 of the 12 months and in at least 5 different threads, and no single thread supplies more than half of the people who recommend it. Health and money products are never badged.

## Cite as

Hacker Approved, "Fence", https://hackerapproved.com/p/fence/ (5 recommend, 0 mixed, 0 criticize; Hacker News comments, November 2025 to October 2026).

Counts updated 2 Nov 2026, with data through October 31, 2026.
