{"slug": "show-hn-fence-jiminy-cricket-for-ai-coding-agents", "title": "Show HN: Fence – Jiminy Cricket for AI coding agents", "summary": "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.", "body_md": "Hi everyone, I'm Andrios, founder of hoop.dev (YC W21).\n\n2 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.\n\nFence 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.\n\nWe use this for Claude Code and Codex. We want to see adoption before jumping to Cursor next.\n\nThe team is very excited to release this, so please to drop any comments with feedback or issues you find:\n\ngithub.com/hoophq/fence\n\nComments URL: [https://news.ycombinator.com/item?id=48821039](https://news.ycombinator.com/item?id=48821039)\n\nPoints: 1\n\n# Comments: 0", "url": "https://wpnews.pro/news/show-hn-fence-jiminy-cricket-for-ai-coding-agents", "canonical_source": "https://news.ycombinator.com/item?id=48821039", "published_at": "2026-07-07 17:38:58+00:00", "updated_at": "2026-07-07 18:00:00.082198+00:00", "lang": "en", "topics": ["ai-agents", "ai-safety", "developer-tools"], "entities": ["hoop.dev", "YC W21", "Andrios", "Fence", "Claude Code", "Codex", "Cursor"], "alternates": {"html": "https://wpnews.pro/news/show-hn-fence-jiminy-cricket-for-ai-coding-agents", "markdown": "https://wpnews.pro/news/show-hn-fence-jiminy-cricket-for-ai-coding-agents.md", "text": "https://wpnews.pro/news/show-hn-fence-jiminy-cricket-for-ai-coding-agents.txt", "jsonld": "https://wpnews.pro/news/show-hn-fence-jiminy-cricket-for-ai-coding-agents.jsonld"}}