Skip to main content
The Policy Library is a set of ready-made guardrails for the risks developers run into most with coding agents: production data, credentials, destructive actions, data leaving the company, and more. Open it at beacon.sh/dashboard/policy-library, or from Control → Policies → Policy Library in the dashboard.

Add a guardrail from the library

  1. Find a rule. Filter by theme, or search by tool, service or keyword (“Slack”, “production”, “secrets”).
  2. Click Add. The New policy form opens with the rule’s name, text and finding category filled in.
  3. Edit the rule to fit how you work. Name your own tools, channels or environments if you like.
  4. Choose how it’s enforced. A library rule starts in Monitor only, with prompts and tool calls set to Off, so nothing changes until you choose. See How a guardrail works.
  5. Click Create policy.
If you haven’t turned enforcement on for your machine yet, follow Get started.
Not sure where to start? These three cover the most common risks for an individual developer: No deleting cloud resources (tool calls: Ask), No secrets in prompts (prompts: Block), and No writes to production databases (tool calls: Ask).
Every rule in the library fits within the 400 characters a prompt check reads, so any of them can check prompts as well as tool calls. With an organization active, a rule is added to the organization’s guardrails if you’re an admin, or you can switch to your own. On the free plan, you can hold 5 guardrails; the page tells you when you’re at the limit.

What’s in the library

Data access

What agents may read and change in your systems.

Data leakage

Keeping code and internal data inside the company.

Secrets

Credentials, keys and tokens.

Privacy

Personal, health and payment data.

Destructive actions

Deletes, deploys and merges that are hard to undo.

Communications & money

Acting for the user with people or payments.

Shadow AI

AI services and MCP servers the company has not approved.

Agent safety

Instructions agents should not take from untrusted content.

Guardrails

Turn on enforcement and choose how each rule is enforced.

Findings

See what your guardrails caught.