Manual Installation of Code Guardian
Before You Begin
| Requirement | Details |
|---|---|
| Agent Identity Security Platform access | You need administrator access to generate an API key. |
| Tenant details | Note your tenant ID or subdomain. For example, if your Agent Identity
Security URL is https://acme.ais.appvx.com, your tenant subdomain
is acme. |
| Network connectivity | Each endpoint needs outbound HTTPS access to
https://ais.appvx.com. Confirm that VPN, firewall, proxy, and
TLS inspection policies permit this connection. |
| Code Guardian package | Download the Code Guardian package for the target coding agent and operating system from the Agent Identity Security Platform. |
| Coding Assistant | One supported coding assistant installed on the target workstation (such as Claude Code, Cursor, or GitHub Copilot CLI). |
Generate an API Key
- Sign in to the Agent Identity Security Platform using your organization URL.
- In Agent Identity Security, navigate to .
- Select Generate API Key.
- In the Key Name field, enter a descriptive label (for example, Manual-Dev-Guardian).
-
Select the following three required permission scopes:
audit_logs:writeAllows Code Guardian to transmit audit and activity events.agent_discovery:writeAllows Code Guardian to register discovered agent sessions.policy:readAllows Code Guardian to retrieve runtime security policies.
- Select Generate.
-
Copy the generated API key and save it in a secure password manager.
Important:
- The API key is displayed only once. You cannot retrieve it after you close the dialog box.
- Create one API key per machine. Do not share a single key across multiple endpoints.
Install on Windows
Ensure you have generated an API key and verified that Python 3.9+ is available.
- In the Agent Identity Security Platform, go to .
- Download the build from the Integrations page.
-
Unzip the downloaded
<Build-file>.zip. -
Open a terminal, and navigate to the extracted folder:
cd ais-u-win -
Run the installer:
.\configure_ais_guardian_unified_windows.ps1 -
When prompted:
Install Ais Guardian for all detected agents? (y/n) [y]:Enter y. -
For Credentials, enter:
Tenant ID: <Tenant Id> API key: <API key shared separately> -
When prompted:
Apply this configuration to all selected agents? [Y/n]:Enter y.The Code Guardian installation is completed successfully, and all the coding agents are detected.
Install on Linux
- In the Agent Identity Security Platform, go to .
- Download the build from the Integrations page.
-
Unzip the downloaded
<Build-file>.zip. - Open a terminal, and navigate to the extracted folder:
-
Run the installer:
./configure_ais_guardian_unified_linux.sh -
When prompted:
Install Ais Guardian for all detected agents? (y/n) [y]:Enter y. -
For Credentials, enter:
Tenant ID: <Tenant Id> API key: <API key shared separately> -
When prompted:
Apply this configuration to all selected agents? [Y/n]:Enter y.The Code Guardian installation is completed successfully, and all the coding agents are detected.
Install on macOS
- In the Agent Identity Security Platform, go to .
- Download the build from the Integrations page.
-
Unzip the downloaded
<Build-file>.zip. -
Open a terminal, and navigate to the extracted folder:
cd ais-unified-macos -
Run the installer:
./configure_ais_guardian_unified_macos.sh -
When prompted:
Install Ais Guardian for all detected agents? (y/n) [y]:Enter y. -
For Credentials, enter:
Tenant ID: <Tenant Id> API key: <API key shared separately> -
When prompted:
Apply this configuration to all selected agents? [Y/n]:Enter y.The Code Guardian installation is completed successfully, and all the coding agents are detected.
Verify Manual Installation
-
Open Activity Logs in Agent Identity Security and look for an
event with action
Device.Registrationand an agent name matching the endpoint. -
Navigate to and confirm that the endpoint and expected coding agent are listed.
Verify that the newly discovered coding agent appears in the list with its active status and host metadata.
-
Run a test action in the assistant (such as reading a file or executing a command) to
verify that configured runtime policies are enforced.
Code Guardian is active on the endpoint and the discovered coding agent is populated in the Agent Identity Security Agent Registry and AIBOM.
