Skip to main content

Getting Started with Swif's Agentic Security (for Consumer)

Agentic Security helps you keep track of the AI agents on your devices. It finds the AI agents you have installed, flags settings that weaken their safeguards, and logs what agents like OpenClaw do on your machine. You can also monitor AI coding agents, such as Claude Code, Codex, and Cursor.

This guide walks you through setting up Agentic Security as a consumer user.

If your organization already uses Swif for device management (MDM), you can turn on Agentic Security from your existing Swif workspace, with no separate sign-up. See Getting Started with Agentic Security for Enterprise.

What you'll need

  • A computer running macOS, Windows, or Linux

  • An internet connection

  • About 5 minutes

Supported platforms

Platform

Versions

Installer package

Standalone installer

Architectures

macOS

macOS 12 or later

.pkg (universal), signed and notarized by Apple

installer-arm64.zip, installer-x64.zip

Apple silicon and Intel

Windows

Windows 10 or later

.msi, signed by Swifteam Inc.

installer-x64.exe, installer-arm64.exe

x64 and ARM64

Linux

Ubuntu 20.04+, Debian 11+, Fedora, RHEL / Rocky Linux / AlmaLinux 8+, openSUSE, with systemd

.deb (Debian, Ubuntu) or .rpm (Fedora, RHEL, Rocky Linux, AlmaLinux, openSUSE)

installer-x64, installer-arm64

x64 and arm64

Before you install

How installation works. Each installer installs agenticsecurity-install, a registration tool. Registering, with your Team ID and the device owner's details, downloads the Agentic Security agent, installs its background service, and enrolls the device. Without those details, the installer only installs the registration tool.

Don't run the agent-* files. Files named agent-x64, agent-arm64, or agent-x64.exe are the agent itself, not installers. Running one starts the agent in the window, which looks like it's stuck, and doesn't enroll the device. Always use the installer packages or standalone installers.

Use straight quotes. Type values in straight quotes ("), not curly quotes (“ ”). Curly quotes, which some apps add when you copy text, make enrollment fail.

Use the same region for the installer and the Team ID. Download the installer from the same Swif region, US or EU, as your workspace. To move a device to another region, remove the agent first.


Set up Agentic Security

Step 1: Create your account

Sign up for an Agentic Security account:

During sign-up, you'll answer a few questions, such as your name and how you plan to use Agentic Security. Fill in the required fields, and click Continue.

Step 2: Install the Agentic Security agent

After the sign-up questions, you'll be asked to install the Agentic Security agent.

  1. Choose your operating system. For Windows and Linux, also choose your processor type, and for Linux, your distribution.

  2. Enter your details. Type your First name, Last name, and Email. They're filled in to the install command, and Download turns on.

  3. Download the installer, and follow the steps for your platform below. The command shown in Swif already has your details. Your Team ID is also in Settings > Team.

  4. Confirm installation. Click I've Installed Agentic Security to continue.

Tip: To set up Agentic Security later, click Skip Setup to go to your dashboard. You can install the agent from the dashboard at any time.

macOS

With the .pkg package (recommended)

  1. Open the .pkg file, and follow the steps. Or, in Terminal:

    sudo installer -pkg agenticsecurity-installer-<VERSION>-macos-universal.pkg -target /
  2. Register the Mac. Use the full path to the registration tool:

    sudo /usr/local/bin/agenticsecurity-install -teamId="<TEAM_ID>" -name="<FIRST_NAME>" -surname="<LAST_NAME>" -email="<EMAIL>"

With the standalone .zip

Download the .zip for your Mac's processor, open Terminal in the folder that contains it, and run:

unzip installer-arm64.zip
chmod +x agenticsecurity/AgenticSecurityInstaller_arm64
sudo agenticsecurity/AgenticSecurityInstaller_arm64 -teamId="<TEAM_ID>" -name="<FIRST_NAME>" -surname="<LAST_NAME>" -email="<EMAIL>"

On an Intel Mac, use installer-x64.zip and AgenticSecurityInstaller_x64. For the EU region, the installer is named AgenticSecurityInstaller_eu_arm64 or AgenticSecurityInstaller_eu_x64.

Windows

Open PowerShell or Command Prompt with Run as administrator, in the folder that contains the installer.

With the .msi package, in one step (recommended)

msiexec /i "agenticsecurity-installer-<VERSION>-windows-x64.msi" TEAMID="<TEAM_ID>" NAME="<FIRST_NAME>" SURNAME="<LAST_NAME>" EMAIL="<EMAIL>"

This installs the registration tool, and registers the device. Use the uppercase properties shown, not -teamId and the other options used below. If any value is missing, the install rolls back.

With the .msi package, in two steps

  1. Double-click the .msi file, and follow the steps. It installs agenticsecurity-install.exe, and adds it to the system path.

  2. Open a new administrator terminal, and run:

    agenticsecurity-install.exe -teamId="<TEAM_ID>" -name="<FIRST_NAME>" -surname="<LAST_NAME>" -email="<EMAIL>"

With the standalone .exe

.\installer-x64.exe -teamId="<TEAM_ID>" -name="<FIRST_NAME>" -surname="<LAST_NAME>" -email="<EMAIL>"

On ARM64 devices, use installer-arm64.exe.

Linux

With the .deb or .rpm package (recommended)

  1. Install the package. Use apt, dnf, or zypper, not dpkg -i or rpm -i, so required packages, such as sudo, are installed too.

    • Debian, Ubuntu:

      sudo apt install ./agenticsecurity-installer-<VERSION>-linux-x64.deb
    • Fedora, RHEL, Rocky Linux, AlmaLinux:

      sudo dnf install ./agenticsecurity-installer-<VERSION>-linux-x64.rpm
    • openSUSE:

      sudo zypper install --allow-unsigned-rpm ./agenticsecurity-installer-<VERSION>-linux-x64.rpm

    On arm64 devices, replace x64 with arm64 in the package name.

  2. Register the device. Use the full path to the registration tool:

    sudo /usr/sbin/agenticsecurity-install -teamId="<TEAM_ID>" -name="<FIRST_NAME>" -surname="<LAST_NAME>" -email="<EMAIL>"

With the standalone installer

chmod +x installer-x64
sudo ./installer-x64 -teamId="<TEAM_ID>" -name="<FIRST_NAME>" -surname="<LAST_NAME>" -email="<EMAIL>"

On arm64 devices, use installer-arm64.

Check that your device is enrolled

OS

Run this

You should see

macOS

sudo launchctl print system/com.swifteam.agentsecurity-agent | grep state

state = running

Windows

Get-Service STAgentSecurity (in PowerShell)

Running

Linux

systemctl status agentsecurity-agent

active (running)

Your device also appears in your Agentic Security device list.

The installer seems stuck

You may have run an agent-* file, such as agent-x64, instead of an installer. It starts the agent in the window, and doesn't enroll the device. Press Ctrl+C, then use an installer package or standalone installer.

Enrollment fails, though the values look right

  • Check for curly quotes (“ ”). Retype them as straight quotes (").

  • Check that the installer and the Team ID are from the same region, US or EU.

  • On macOS and Linux, use the full path to the registration tool: /usr/local/bin/agenticsecurity-install on macOS, and /usr/sbin/agenticsecurity-install on Linux.

agenticsecurity-install isn't found on Windows

Open a new administrator terminal after installing the .msi, so the updated system path is loaded.

If enrollment fails

  • "team … is not valid": check your Team ID, then run the command again.

  • Already enrolled: running the installer again doesn't enroll the device twice, or create a duplicate.

  • Logs:

    • macOS: /var/log/agentsecurity.log

    • Windows: C:\Program Files\AgentSecurity\logs\log.txt

    • Linux: /var/log/agentsecurity.log, or journalctl -u agentsecurity-agent

Step 3: Turn on your policies

Agentic Security uses policies to decide what to monitor on your device. In this step, you turn on the required policies with a toggle. No other setup is needed.

Policy

What it does

Finds autonomous AI agents on your device, such as OpenClaw, Hermes, and Grok Bot. Reports how they're set up, and uploads OpenClaw's event logs.

Controls which tools OpenClaw can use, starting with a minimal profile

Turn on the required policies, and click Continue. The button becomes available once the required policies are on.

Step 4: See your AI agents

Once your policies are on, open your device in the Agentic Security device list to see:

  • Installed AI agents: OpenClaw, Hermes, Grok Bot, Claude Code, Codex, and Cursor, with their versions, and whether they're running (on Windows, OpenClaw and Hermes don't show running status).

  • Risky settings: for example, an OpenClaw gateway exposed to the network with no authentication.

  • OpenClaw events: under Logs. Events upload about every minute. The Source column shows which part of OpenClaw each event came from, and you can filter events by keyword and date.

  • Device details: encryption status, OS version, and last connected time.

OpenClaw event logs come from the Log Agents setting in the Swif Agent Inventory Policy. It's set to openclaw when you turn on the policy during setup.

Optional: Monitor Claude Code, Codex, and Cursor

To also see what AI coding agents do on your device, such as their sessions, prompts, and tool use, turn on the Swif AI Agent Activity Monitoring Policy. It monitors:

  • Claude Code

  • Claude Desktop

  • Codex

  • Cursor

  • Cline

  • Warp

To turn it on:

  1. Open your device in the Agentic Security device list.

  2. Go to the Policies tab.

  3. Find Swif AI Agent Activity Monitoring Policy, and click Create Policy.

  4. Turn on Enabled, and save.

Sessions appear on the device within about 15 minutes.

Intel Macs and Windows ARM64: AI agent activity monitoring isn't available yet on Intel Macs or Windows ARM64. Agent inventory and the other features work.

This policy collects prompts and responses. Session records can include your prompts, the agent's responses, project paths, and tool results. Turn it on only if you're comfortable with that data being stored in Swif. See the policy's article for details.


Manage your policies

You can create and assign policies from two places on a device.

From the Activity tab

  1. Open an Agentic Security-enrolled device from the device list.

  2. Go to the Activity tab.

  3. If no policy exists, you'll see a Missing Policy state.

  4. Click Create/Assign Inventory Policy.

  5. The tab refreshes to show the new policy status.

From the Policies tab

  1. Open an Agentic Security-enrolled device.

  2. Go to the Policies tab.

  3. If a policy shows Not Configured, click Create Policy.

  4. The status changes to Not Assigned or Enabled, depending on your setup.

Status

Meaning

Action

Not Configured

The policy hasn't been created yet

Click Create Policy

Not Assigned

The policy exists, but isn't applied to this device

Click Assign Policy

Enabled

The policy is active

Click Configure Policy to change it


What you can do with Agentic Security

Feature

What it gives you

AI agent inventory

See which AI agents are installed, such as OpenClaw, Hermes, and Grok Bot, and how they're set up

Risky setting detection

Spot settings that weaken an agent's safeguards

OpenClaw event logs

Review what OpenClaw did, in near real time, filtered by keyword and date

AI coding agent monitoring

With the AI Agent Activity Monitoring Policy, review Claude Code, Codex, and Cursor sessions

Sensitive data redaction

API keys, passwords, and credentials are detected and hidden before they appear in your logs

CLI privilege protection

OpenClaw and other monitored CLI agents can't run with sudo or root. See below.

Device overview

Encryption status, OS version, and last connected time

Policy management

Create and manage policies from the Configuration tab


Automatic agent updates

The Agentic Security agent updates itself on macOS, Windows, and Linux. When a new version comes out, enrolled devices download and install it in the background, so you always have the latest protections and fixes.

  • Hands-free: you don't need to download or run a new installer.

  • Signed updates: updates are downloaded from Swif's servers, and are signed by Swifteam.

  • No interruption: your policies and CLI privilege restrictions keep working after an update.

Check your agent version (macOS). Run this in Terminal:

/usr/local/agentsecurity/agentsecurity --version

If it still shows an older version, make sure the device is online. Then wait for the next update check, or restart the device.


CLI agent privilege restriction and root protection

Agentic Security stops CLI agents, such as openclaw, from running commands with root or sudo privileges.

Protection

What it means

Sudo and root blocking

Running monitored CLI agents with elevated privileges is blocked, including sudo openclaw, full binary paths (such as sudo /opt/homebrew/bin/openclaw), root shells (sudo -s), and preserved environments (sudo -E).

Normal use keeps working

AI agents keep working with standard user permissions, so your normal workflows aren't disrupted.

Only AI agents are restricted

Your other admin commands, such as sudo ls or sudo cat /etc/hosts, work as usual.

Persistent

Protection stays on across restarts and CLI updates.

Every user

Restrictions apply to all non-root accounts on the computer.

Logged

Blocked sudo attempts are logged on the device, in /usr/local/agentsecurity/, and shown on the device's Activity tab.


Remove the Agentic Security agent

To stop monitoring a device, without deleting it:

  1. Open the Agentic Security device list.

  2. Find the device, and open its action menu.

  3. Click Remove Agentic Security Agent.

  4. Confirm in the window, after checking the device name and serial number.

  5. The device's Agent Status changes to Inactive.

This removes the agent, its background service, and its data from the device, on macOS, Windows, and Linux. The device must be online. The agent is removed the next time it connects to Swif.

Note: Uninstalling the installer package from the device removes only the agenticsecurity-install command. The agent keeps running. Use Remove Agentic Security Agent to stop monitoring.

Delete an Agentic Security device

To permanently remove a device from Agentic Security:

  1. Open the Agentic Security device list.

  2. Find the device, and open its action menu.

  3. Click Delete Device.

  4. Confirm the deletion.

  5. The device is removed from the list, and no longer appears in search or filter results.


Frequently asked questions

Which AI tools does Agentic Security monitor?

Tools

Covered by

OpenClaw, Hermes, and Grok Bot

The Swif Agent Inventory Policy, which you turn on during setup. It also uploads OpenClaw's event logs.

Claude Code, Claude Desktop, Codex, Cursor, Cline, and Warp

The Swif AI Agent Activity Monitoring Policy, which you can turn on separately. See Optional: Monitor Claude Code, Codex, and Cursor.

What's the difference between removing the agent and deleting the device?

Removing the agent sets the device to Inactive, but keeps the device record. Deleting the device removes it from Agentic Security entirely.

Can I use Agentic Security on BYOD devices?

Yes. Agentic Security supports both company-managed and personal (BYOD) devices.

Can I skip the installation during setup?

Yes. Click Skip Setup in Step 2 to go to your dashboard, and install the agent later.

What happens if I don't turn on the policies?

Agentic Security doesn't inventory or monitor AI agents on your device. You can turn the policies on at any time from your dashboard's Configuration tab.

Why don't I see Claude Code or Cursor sessions?

These come from the Swif AI Agent Activity Monitoring Policy, which isn't turned on during setup. Turn it on, then wait about 15 minutes. See Optional: Monitor Claude Code, Codex, and Cursor.

Does Agentic Security rate each action as safe or risky?

No. Agentic Security flags risky settings, such as an exposed OpenClaw gateway, but doesn't rate individual events. Review events under Logs, and filter them by keyword and date.

Is Agentic Security the same as the Swif MDM agent?

No. Agentic Security is a separate product, focused on monitoring and securing AI agents. It doesn't include enterprise MDM features, such as remote lock, wipe, or fleet management. For those, upgrade to the full Swif workspace from the Plans page.

How do I install Agentic Security on other devices?

From your Agentic Security dashboard, click Setup Installer. You can also share the installation guide by entering people's email addresses.

Can I run OpenClaw or other CLI agents with sudo or root?

No. For your safety, Agentic Security stops monitored CLI agents from running with sudo or in root shells, to prevent unintended system changes. Run them as a standard user.

Will Agentic Security block my regular sudo commands?

No. The restriction applies only to monitored AI CLI tools. All your other sudo commands keep working.

Where can I see blocked privilege escalation attempts?

They're logged on your device, in /usr/local/agentsecurity/, and shown on the device's Activity tab.

Do I need to update the Agentic Security agent by hand?

No. The agent updates itself on macOS, Windows, and Linux. You only need to reinstall it if you removed it from the device.


Need help?

If you run into any issues during setup, contact Swif support at support@swif.ai.

Related resources

Did this answer your question?