Proposal: Agentveil Whitepaper (Agent Privacy Gateway) - #66
Merged
will-lamerton merged 1 commit intoAug 19, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR introduces the working whitepaper for Agentveil (formerly referred to as Agent Privacy Gateway). Agentveil is an open-source, local-first policy gateway that intercepts sensitive actions taken by AI coding agents and evaluates them against a strict, user-authored allowlist.
Problem Addressed
As local coding agents like Nanocoder become more autonomous, they require broader permissions (filesystem, shell, network, MCP). Giving an agent full access to your computer grants it much more capability than it actually needs for a given task, making users vulnerable to indirect prompt injections, out-of-bounds secret reads, and unintended data exfiltration.
Proposed Solution
Agentveil mediates the agent's actions by sitting at the process boundary. It enforces least-privilege semantics across four layers:
.env,~/.ssh, etc. by default).It seamlessly composes with
prompt-scrubandNanocoderto form a complete, local-first privacy envelope for the Nano Collective ecosystem.Key Principles
policy.yaml), diffable, and version-controlled.Next Steps / Review
The whitepaper outlines the threat model, v1 scope, and competitive landscape. We are opening this for public review to get feedback on:
permissive,balanced,strict)