Skip to main content
About two minutes, once per machine. You need a Synapse login in your organization.
1

Install the CLI

macOS builds are signed and notarized by Apple. If synheart isn’t found afterwards, see Add to PATH.
2

Sign in

A browser window opens. Sign in with your work account.
3

Join your team and add the hook

Run synheart, open Synapse → Set up guard. Or from the command line:
team join fetches your organization’s rules. install --write adds the guard hook to ~/.claude/settings.json, keeping your other settings and hooks and saving a backup first. Add --project to install it for the current repository only (.claude/settings.local.json).Using Cursor or Factory Droid? Add --host cursor or --host droid (CLI 0.22.0 or later). Without --write, install only shows the change it would make. In Cursor, file edits and reads can be stopped but not asked about.
4

Restart Claude Code

Restart it, or run /hooks inside it. From now on, each shell command and file edit is checked before it runs.

Check it works

check runs nothing. It shows what the guard would decide for a command in the current directory. In the TUI, Synapse → Guard status shows whether the hook is installed, which team policy version you have, and when it last synced.

What happens when a rule fires

  • deny — the agent is told no, with the rule’s own words, and tries another way.
  • ask — Claude Code asks you before the action runs.
  • Nothing matches — the agent’s own permission settings decide, as before.

Letting something through

When a rule is right in general but wrong right now, grant yourself a scoped exception. Only you can, from your own terminal; an agent can’t.
  • --for defaults to 1h; the maximum is 168h (a week).
  • --repo, --branch and --path narrow where it applies.
  • synheart guard rules lists the rules in force here and your active exceptions.

Your own numbers

It shows how many actions were checked, stopped, asked about and let through, per rule, for the last 7 days (--since 720h for 30). The same totals appear under Agents → Mine at synapse.synheart.ai, split by coding agent when you use more than one. Only rule ids and counts leave your machine: never a command, a file path or a prompt. Synapse keeps your daily counts for 90 days, and deletes them when you erase your Synapse data or your organization is deleted.

Your verdict on an agent’s edit

Tell Synapse whether you accepted what your agent did. Synapse uses it to count correction cycles: how often you rejected an edit before accepting one.
It needs CLI 0.23.0 or later and runs only at your own terminal, never in an agent’s shell. You can also accept or reject from the Agent checks page. To see each guard check there too, turn on decision sharing (off by default):
It sends the rule id, what the rule did, the coding agent, the time and the agent’s session id. It never sends the command, a path, a prompt, the repository or the branch, and only you see these records.

Commands

Troubleshooting