LibreAI / Local LLM / agent-safehouse
// local-llm ยท eugene1g/agent-safehouse

agent-safehouse

Sandbox for local AI agents so they only touch what they need.

๐Ÿ’Ž Hidden gemโ˜… 2.1k starsโ‘‚ 99 forksApache-2.0updated 2026-09
โ–ฆ visual โ€” this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

agent-safehouse is an open-source local llm project by eugene1g (eugene1g/agent-safehouse on GitHub). It has 2,092 GitHub stars and 99 forks, is released under the Apache-2.0 license, and was last updated on GitHub on 30 September 2026.

GitHub stars
2,092
Forks
99
License
Apache-2.0
Last updated on GitHub
30 September 2026
Category
Local LLM
Listing
Hidden gem โ€” a shorter page for a lesser-known project
Official site
Official site
// how it works

How it works

  1. Install the safehouse

    Set it up on your machine.

  2. Define boundaries

    Choose which paths the agent may access.

  3. Launch the agent

    Run your coding agent inside the sandbox.

  4. Work safely

    The agent operates within its allowed scope.

// features

Why people love it

Filesystem sandbox

Agents see only approved paths.

Read-write control

Scope exactly what agents may touch.

Local agents

Built for agents running on your machine.

Mistake containment

Limits damage from agent errors.

Injection defense

Reduces prompt-injection blast radius.

macOS support

Works with Claude Code on Mac.

Advertisement
// run it

Run it yourself

  1. Step 1 โ€” Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/eugene1g/agent-safehouse.git
    cd agent-safehouse
  2. Step 2 โ€” Check the README

    Every project documents its own setup; start with install requirements.

    cat README.md | head -60
  3. Step 3 โ€” Run it

    Follow the project's launch command โ€” Docker, pip, npm, or a binary release.

    # see README for the exact launch command
// use cases

What you can build

Advertisement
// faq

Questions, answered

Is this like Docker for agents?

Similar idea: isolation, but scoped to what an AI agent may read and write.

Is agent-safehouse free for commercial use?

Apache 2.0 licensed โ€” commercial use allowed with attribution.

Which agents are supported?

Claude Code on macOS is the headline; check the docs for others.

Does it slow the agent down?

Sandboxing adds some overhead; check the docs for details.

Can the agent escape?

No sandbox is perfect; treat it as risk reduction, not a guarantee.

// keep exploring

Similar tools

Local LLM

exo

Run frontier AI locally.

โ˜… 47.7k starsApache-2.0
View guide โ†’
Local LLM

llmfit

Hundreds of models & providers. One command to find what runs on your hardware.

โ˜… 37.5k starsMIT
View guide โ†’
Local LLM

Soup

Fine-tune LLMs from one YAML. Layer streaming trains an 8B model on a 4 GB laptop GPU.

โ˜… 8.1k starsApache-2.0
View guide โ†’
Local LLM

agent-console

Local-first dashboard of tokens, models, and cost for coding agents.

โ˜… 800 starsMIT
View guide โ†’
Local LLM

OpenOSINT

AI OSINT agent with 20 tools and REPL โ€” for authorized research only.

โ˜… 1.7k starsMIT
View guide โ†’
Local LLM

zhigeng

A local-first context and memory layer for your AI agents.

โ˜… 490 starsNOASSERTION
View guide โ†’
// alternatives

Alternatives in Local LLM

The most-starred other Local LLM projects in the LibreAI catalogue โ€” the realistic shortlist if agent-safehouse is not the right fit.

Get agent-safehouse

Free and open โ€” grab the source, star the repo, and start creating.