Agents must not run INSERT, UPDATE, DELETE or DROP statements against production databases.Beacon checks your agents’ prompts and tool calls against your rules while they work, in Claude Code, Codex and Cursor. When an agent is about to break one, Beacon can steer it, ask you first, or block it. Or it can just watch and record what it would have done. One rule covers every agent on every machine you’ve connected. Guardrails are part of Beacon Cloud and are on every plan.
Get started
1
Connect Beacon 1.3.67 or newer
Check with
beacon version. If Beacon isn’t set up yet, follow the
quickstart and connect the machine to Beacon Cloud. On a Mac with
Homebrew, upgrade with brew update && brew upgrade beacon.2
Turn on enforcement
Paste this into Claude Code, Codex or Cursor, and the agent does the rest:Or run it yourself:This installs Beacon’s signed enforcement hooks for the agents on the machine. If Beacon was
installed for the whole machine (by an administrator, MDM or
--system), run it with sudo,
or on Windows from an elevated PowerShell.3
Add a guardrail
Open the Policy Library at
beacon.sh/dashboard/policy-library and click
Add on a rule, or choose New policy under Policies to write your own. Start it in
Monitor only.
4
Start a new agent session
Sessions that were already open don’t pick up enforcement. Start a new one, and check what’s
covered with
beacon endpoint enforcement status.How a guardrail works
Each guardrail has a rule and three settings.Mode
When a prompt breaks the rule
When a tool call breaks the rule
A rule with both checks off isn’t checked live, but Beacon Cloud still cites it when it
reviews your sessions.
Every decision, in either mode, becomes a finding that links to the session it
came from.
What each agent does
Each agent carries out a decision with its own controls, so a few results differ:What’s checked
- Prompts you send to the agent.
- MCP tool calls, such as Slack, GitHub, Linear, databases and cloud providers.
Write a good rule
The rule is what each prompt and tool call is judged against, so write it the way you’d explain it to a teammate:- Say what’s off limits, and where. “Agents must not post to public Slack channels” catches less by accident than “Don’t share things”.
- Name the tools, environments or data you mean. “production databases”, “#general”, “AWS”.
- Say what’s still allowed when that matters: “Read-only queries are allowed.”
- Keep it short. A rule can be 2,400 characters, but a rule that checks prompts is limited to 400, the part a prompt check reads.
Personal and organization guardrails
- Your guardrails apply to your own devices.
- Organization guardrails apply to every member’s devices. They need the organization to be on Beacon Cloud Team. Members can read them, and only admins can change them. With an organization active, switch between its guardrails and yours at the top of the Policies page.
Plans
An enforced action is a steer, ask or block that Beacon carried out. Monitor-only rules don’t
use any. On the free plan, after 50 enforced actions your guardrails stop being enforced until you
upgrade. See Plans and pricing.
Manage enforcement
Use
sudo (or an elevated PowerShell on Windows) for each of these if Beacon was installed for
the whole machine. Turning enforcement off removes Beacon’s hooks from Claude Code, Codex and
Cursor; telemetry keeps flowing as before.
If you install another agent later, run beacon endpoint enforcement enable again to cover it.
Limits
- Guardrails run through each agent’s hooks. They’re a safety net for everyday use, not a sandbox: someone with administrator rights on the machine can turn them off.
- If Beacon can’t reach Beacon Cloud, prompts and calls go through, and Beacon records that the check couldn’t run.
- Cloud agents and the Cursor CLI aren’t covered yet.
Related
Policy Library
Ready-made guardrails you can add in one click.
Findings
Where every guardrail decision is recorded.
Plans and pricing
What each plan includes.
Connect devices
Enroll a machine in Beacon Cloud.