# greywall

> greywall is an open-source AI tool for ai models and llm tooling. Sandbox and live activity feed for local AI coding agents on Linux and macOS. It is available on CLI, Linux, macOS and Self-hosted.

- **Kind:** Tool
- **Pricing:** Open source
- **Platforms:** CLI, Linux, macOS, Self-hosted
- **Website:** https://greywall.io
- **Repository:** https://github.com/greyhavenhq/greywall
- **GitHub stars:** 318
- **License:** Apache-2.0
- **Categories:** [AI models and LLM tooling](https://ai-powered.com/categories/ai-and-llm), [security](https://ai-powered.com/categories/security), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

Greywall runs a local AI coding agent under a boundary you control and records every file read, write and outbound connection the agent attempts. It is a command-line tool: you put greywall in front of the command you already use, such as claude or codex, and the agent runs as normal while the activity feed shows what it touches.

The default policy is allow, so the agent keeps moving. When you want tighter control, you can switch to ask or deny behaviour in a config file, add deny rules for paths, network destinations and commands, or change modes mid-session. On Linux it layers namespaces, Landlock, seccomp and a network capture device; on macOS it uses the built-in Seatbelt sandbox together with the same proxy dashboard.

It suits developers who run local coding agents on their own machines and want to see what those agents read, such as .env files or SSH keys, before deciding what to restrict.

## Features

- **Live activity feed:** Shows each read, write and outbound request as it happens, with the process and path involved.
- **Allow by default:** Lets the agent run without setup while logging everything it attempts.
- **Opt-in deny rules:** Blocks chosen file paths, network destinations and shell commands via a config file.
- **Ask and deny modes:** Switch to stricter behaviour during a session without restarting the agent.
- **Learning mode:** Traces filesystem access with strace and generates a least-privilege starting profile.
- **Built-in agent profiles:** Ships profiles for popular CLI coding agents and common toolchains.

## Good for

- Watch what a coding agent reads and sends before trusting it with a repository
- Keep .env files, SSH keys and shell configs out of reach of a local agent
- Generate a least-privilege profile for an agent by tracing a sample run
- Audit outbound requests made by an agent to external APIs

## FAQ

### What is Greywall?

Greywall is a command-line tool that wraps an AI coding agent in a local observability and control layer. Prefixing an agent command with greywall -- runs it with visibility into the reads, writes and network calls it makes.

### Does Greywall work on macOS?

Yes. On macOS it uses Seatbelt, Apple's built-in sandbox, together with the GreyProxy activity feed. Linux has more available layers.

### Is Greywall open source?

Yes, it is released under the Apache 2.0 licence and the source is on GitHub.

### Which AI agents does Greywall support?

It works with local CLI agents that run as normal processes on the machine, including Claude Code, Codex, Cursor, Aider, Goose, Gemini CLI, OpenCode and Cline.

### Is greywall free?

Yes. greywall is open source, so you can use and self-host it for free.

### What are the best alternatives to greywall?

The closest alternatives to greywall are prismor, clawmetry, agentshield, agent-manager and agent-standup.

## Where this comes from

- Description: written from the project's README and the project's website.

## Alternatives

- [prismor](https://ai-powered.com/tools/prismor): prismor is a freemium AI tool for security.
- [clawmetry](https://ai-powered.com/tools/clawmetry): clawmetry is a freemium AI tool for ai models and llm tooling.
- [agentshield](https://ai-powered.com/tools/agentshield-2): agentshield is an open-source AI tool for developer tools.
- [agent-manager](https://ai-powered.com/tools/agent-manager): agent-manager is an open-source AI tool for ai models and llm tooling.
- [agent-standup](https://ai-powered.com/tools/agent-standup): agent-standup is an open-source AI tool for developer tools.
- [codealmanac](https://ai-powered.com/tools/codealmanac): codealmanac is an open-source AI tool for knowledge and memory.
- [agent-governance-toolkit](https://ai-powered.com/tools/agent-governance-toolkit): agent-governance-toolkit is an open-source AI tool for security.
- [orca](https://ai-powered.com/tools/orca): orca is an open-source AI tool for coding.

---
Source: https://ai-powered.com/tools/greywall
