get started

Setup for Agents

How brin instructs AI agents to use secure package installation

Automatic setup

brin init automatically adds package installation instructions to your AGENTS.md. AI agents that read this file will use brin add instead of npm install, yarn add, etc.

Here's what gets added:

MARKDOWN
## Package Installation
 
Use `brin` for all package operations:
- `brin add <pkg>` - install with security scan
- `brin remove <pkg>` - uninstall
- `brin scan` - audit all dependencies
- `brin check <pkg>` - look up without installing
 
Do not use npm install, yarn add, pnpm add, or pip install directly.

No manual setup is needed if you've run brin init.

Hooks (enforcement)

The AGENTS.md instructions rely on the agent following them. For hard enforcement that blocks direct package manager commands at the tool level: