EveryDev.ai
Subscribe
Home
Tools

5,681+ AI tools

  • Featured
  • Gems
  • Trending
  • New
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents2962
  • Coding2238
  • Infrastructure1060
  • Projects817
  • MCP790
  • Research740
  • Analytics561
  • Marketing527
  • Design485
  • Testing473
  • Data442
  • Security408
  • Integration288
  • Communication284
  • Prompts282
  • Extensions238
  • Voice210
  • DevOps189
  • Commerce183
  • Web128
  • Learning122
  • Finance44
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • Users
  • Rate Tools
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai ©
    1. Home
    2. Tools
    3. Fence
    Fence icon

    Fence

    Code Security
    Featured

    Lightweight, container-free sandbox that wraps commands and terminal agents with default-deny network and scoped filesystem rules.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fence CLI sandbox released under the Apache-2.0 license; free to use, modify and distribute.

    Engagement

    Available On

    Windows
    macOS
    Linux
    API
    SDK

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Code SecurityCommand Line AssistantsAgent Harness

    Alternatives

    CC Safety NetYoloAIsafeagents
    Developer
    Tusk AI, Inc.San Francisco, CAEst. 2023$500000 raised

    Listed Nov 2026

    About Fence

    Fence is an open-source command-line sandbox for macOS and Linux, built by Tusk and released under Apache-2.0. It wraps any command, including CLI coding agents, in an OS-level sandbox that blocks outbound network access by default and restricts filesystem access and risky commands according to a reviewable policy file.

    What It Is

    Fence runs semi-trusted code such as package installs, build scripts, CI jobs, unfamiliar repos, and AI coding agents with controlled side effects. It does not require a VM or container, so you keep using the repos, tools, and local state you already have. It can be used as a CLI or as a Go package.

    How the Policy Workflow Works

    A typical setup starts with fence config init, which creates a starter config extending the built-in code template. Running a workflow in monitor mode (-m) shows what gets blocked, so you can allow only the domains, paths, and commands you need, then run normally. Policies live in fence.json or fence.jsonc, support inheritance from templates or shared configs, and can be inspected with fence config show. Users of Claude Code can import existing permissions with fence import --claude --save.

    Controls and Platform Backends

    Fence provides default-deny outbound networking with domain allowlists, path-scoped read and write rules, command-level denial (for example git push or npm publish), and SSH command and host filtering. On macOS it generates Seatbelt profiles via sandbox-exec. On Linux it uses bubblewrap and socat, with optional bpftrace for filesystem violation visibility in monitor mode.

    Agent Compatibility

    The project lists compatibility with Claude Code, Codex CLI, Cursor Agent, Amp, Droid, OpenCode, Gemini CLI, GitHub Copilot, and Pi, and says it can wrap other agent CLIs. The project describes it as complementing agents' own sandboxes as defense-in-depth.

    Fence - 1

    Community Discussions

    Be the first to start a conversation about Fence

    Share your experience with Fence, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Fence CLI sandbox released under the Apache-2.0 license; free to use, modify and distribute.

    • Licensed under Apache License 2.0 (OSI-approved)
    • Default-deny outbound network
    • Path-scoped filesystem policy
    • Command-level blocking
    • Built-in templates and config inheritance

    Capabilities

    Key Features

    • Default-deny outbound network with domain allowlisting
    • Path-scoped filesystem read/write restrictions
    • Command-level blocking of dangerous commands
    • SSH command and host filtering
    • Built-in templates such as code
    • Config inheritance and reviewable fence.json policy
    • Monitor mode to log blocked attempts
    • Import existing Claude Code permissions
    • Usable as a CLI or Go package

    Integrations

    Claude Code
    Codex CLI
    Cursor Agent
    Amp
    Droid
    OpenCode
    Gemini CLI
    GitHub Copilot
    Pi
    Homebrew
    Nix
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate Fence and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    Tusk AI, Inc.

    Tusk AI builds AI-powered automated testing tools that help engineering teams ship faster with confidence. Backed by Y Combinator, the company transforms production traffic into comprehensive unit and API tests. Tusk serves fast-growing companies including DeepLearning.AI, Wefunder, and HitPay, helping them achieve significant test coverage gains while maintaining code quality.

    Founded 2023
    San Francisco, CA
    $500000 raised
    4 employees

    Used by

    DeepLearning.AI
    Wyndly
    Afterword
    Payflow
    +10 more
    Read more about Tusk AI, Inc.
    WebsiteGitHubLinkedInX / Twitter
    2 tools in directory

    Similar Tools

    CC Safety Net icon

    CC Safety Net

    A pre-execution guard that blocks destructive commands and secret file access before AI coding agents run them.

    YoloAI icon

    YoloAI

    A lightweight, no-frills AI command-line tool hosted on GitHub that lets you interact with AI models directly from your terminal.

    safeagents icon

    safeagents

    A lightweight local proxy that checks an agent's model tool calls and blocks unsafe ones before the coding harness runs them.

    Browse all tools

    Related Topics

    Code Security

    Tools that analyze code for security vulnerabilities and issues.

    102 tools

    Command Line Assistants

    AI-powered command-line assistants that help developers navigate, search, and execute terminal commands with intelligent suggestions and context awareness.

    404 tools

    Agent Harness

    Infrastructure, orchestrators, and task runners that wrap around LLM coding agents — covering session management, context delivery, worktree isolation, architecture enforcement, and issue-to-PR pipelines.

    444 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions