AgentPerms is a small agent.permissions.yaml schema, validator, and evaluator for AI-agent permissions.
It defines what an agent may:
- call as tools
- read and write as files
- use as models
- spend per run
- expose to external destinations
corepack pnpm install
corepack pnpm build
node dist/cli.js --helpnode dist/cli.js init
node dist/cli.js validate agent.permissions.yaml
node dist/cli.js eval agent.permissions.yaml --tool github.pull_request.comment
node dist/cli.js eval agent.permissions.yaml --file .env --file-mode readBlocked evaluations exit with code 2, which makes the CLI useful in CI and runtime wrappers.
AgentPerms is a manifest and policy evaluation layer. It does not enforce anything by itself. Pair it with MCPGuard, BrowserGuard, AgentPassport, or another runtime that actually blocks unsafe actions.
corepack pnpm install
corepack pnpm format:check
corepack pnpm check
npm pack --dry-run