Skip to main content
About two minutes, once per machine. You need a Synapse seat in your organization and CLI 0.26.0 or later.
1

Install the CLI

Use bash, not sh: on Debian and Ubuntu, sh can’t run the installer. The script needs curl and python3. 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

Connect Claude Code

Run it yourself, in a terminal. It does each of these in turn, and reports each one as done, skipped or failed, with the command that fixes it:Running it again changes nothing that’s already set up. Skip a step with its --skip-… flag, for example --skip-telemetry.Using Cursor, Claude Desktop or Droid? Connect them over MCP as shown in Connect your agent. For the guard, see Set it up by hand.
4

Restart Claude Code

Restart it, so it loads the Synapse MCP server and the hooks. The first time Claude Code uses Synapse, it asks you to approve it in your browser. From then on, each shell command and file edit is checked before it runs.

Check it worked

--check changes nothing. A step that isn’t done says what’s missing and the command that fixes it. To see what the guard would decide for a command, without running it:
It prints the action it recognised and the verdict, with the rule’s own words for a deny or ask. In the TUI (run synheart), Synapse → Setup check (CLI 0.34.0 or later) shows the same as --check, and Synapse → Guard → Status (0.36.0 or later) shows whether the hook is installed, your team policy version and when it last synced.

Set it up by hand

synheart synapse setup runs these for you. Run them yourself to choose each part, or to set up Cursor or Droid:
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). Without --write, install only shows the change it would make. Using Cursor or Factory Droid? Add --host cursor or --host droid to guard install. In Cursor, file edits and reads can be stopped but not asked about. Connect their MCP server as shown in Connect your agent.

Let your agent adapt to you

With Synheart Life on your computer, your coding agent can keep it brief when you’re stretched and go into detail when you’re focused. See Connect Life.

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