cd /news/ai-agents/show-hn-fence-jiminy-cricket-for-ai-… · home topics ai-agents article
[ARTICLE · art-49821] src=news.ycombinator.com ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Show HN: Fence – Jiminy Cricket for AI coding agents

Andrios, founder of hoop.dev (YC W21), announced Fence, an open-source tool that prevents AI coding agents from executing catastrophic commands like 'rm -rf ~' by reading intention rather than using a denylist. The tool, developed during a 20% side-project time, is currently used with Claude Code and Codex, with plans to support Cursor next.

read1 min views1 publishedJul 7, 2026

Hi everyone, I'm Andrios, founder of hoop.dev (YC W21).

2 weeks ago, I told our eng team they could spend 20% of their week on side projects. The result: They came out with 3 open source projects. Tools we're using ourselves.

Fence is the first one. It prevents an agent, confused or poorly prompted, to execute a catastrophic command before it happens. This could be 'rm -rf~’, ‘rm -fr~’ or even ‘sudo rm -rf $HOME’. It’s different from a denylist, because it reads the intention, not only the string.

We use this for Claude Code and Codex. We want to see adoption before jumping to Cursor next.

The team is very excited to release this, so please to drop any comments with feedback or issues you find:

github.com/hoophq/fence

Comments URL: [https://news.ycombinator.com/item?id=48821039](https://news.ycombinator.com/item?id=48821039)

Points: 1

── more in #ai-agents 4 stories · sorted by recency
── more on @hoop.dev 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-fence-jiminy…] indexed:0 read:1min 2026-07-07 ·