Endpoint Guard deployment guide
How to try Cortega Endpoint Guard on one machine, then enroll licensed devices with MDM or administrator-provided certificates.
The product is Cortega Endpoint Guard (the headless agent) and Cortega AI Booster (the native desktop app). This guide calls the running software "the agent" and the product "Endpoint Guard."
Quick reference
The Endpoint Guard agent is a native agent that captures AI traffic from desktop apps, browsers, and local MCP tools, the traffic Cortega's gateway never sees because it isn't pointed at the gateway. It installs as a system-level service (macOS: a LaunchDaemon; Windows: an SCM service) and runs before login, with no per-user setup, available for macOS and Windows.
System requirements:
- macOS: 11.0 Big Sur or later. One universal package installs on both
Apple Silicon and Intel Macs. Endpoint Guard requires an administrator.
AI Booster installs
Cortega AI Booster.appinto/Applicationsand does not ask for an administrator. It does not install or restart Endpoint Guard. - Windows: a current, supported Windows 10/11 release. Endpoint Guard requires an administrator. AI Booster installs into the current user's LocalAppData and does not. It does not install or remove Endpoint Guard.
Packages:
cortega-endpoint-guard-<version>.pkg # macOS, agent only
cortega-endpoint-guard-<version>-windows.msi # Windows, agent only
cortega-ai-booster-<version>.pkg # macOS, AI Booster app
cortega-ai-booster-<version>-windows.msi # Windows, AI Booster app
Pick the endpoint-guard package for headless fleet deployment, and the ai-booster package when users need the desktop app. The two packages install separately and can both be on one machine. Endpoint Guard with a client certificate keeps its own seat. Without a certificate, it takes the sign-in AI Booster delivers and keeps that seat after AI Booster is removed. If Endpoint Guard is installed and its process is not answering, AI Booster shows that the guard is stopped. It does not send that seat's heartbeat, so a stopped service does not stay marked healthy. See Install for where to get these packages.
Before testing any mode, restart AI apps such as Claude Desktop, ChatGPT, and other agent clients so existing provider connections close and reconnect through Endpoint Guard. Browsers and desktop AI clients read the system proxy and the trusted CA once at launch.
Endpoint Guard leaves Microsoft 365 and Windows services (sign-in, OneDrive and SharePoint, Teams, Outlook and Office, the Microsoft Store, Windows Update) alone: they are never decrypted or blocked, even when an Apps rule names one, and on Windows they bypass the proxy and connect directly. Microsoft Copilot's own sites (copilot.microsoft.com, copilot.com, Bing) still follow their Apps setting, but are never blocked by IP address because Microsoft 365 shares those addresses. Copilot chat messages that travel over substrate.office.com, which Teams and Outlook also use, are not checked.
Route AI assistants through AIBG
Endpoint Guard has two separate paths: Apps policies govern intercepted traffic to its original destination, while AI Assistants configures supported local tools to send their inference requests through AI Border Gateway.
- Install and enroll Endpoint Guard on the user's device, and keep its native app running so it can apply the per-user assistant configuration.
- Configure the team that AI assistant keys use, and its model routing, in AIBG. For private inference, select self-hosted models and keep fallback routes private too.
- Open Endpoint Guard → AI Assistants and enable Route AI assistant traffic through AIBG.
- Select Default team for AI assistant keys. Every device's key is minted into this team, or the tenant's Default team if you leave it blank.
- Check the assistants to configure. Endpoint Guard detects installed tools and applies the gateway URL and a Cortega API key through their local settings. One key per device is shared across its enabled assistants.
- Let the device receive the updated runtime configuration. Restart the assistant if needed to reload its settings; quit and reopen Cursor after its configuration changes. Run a real request and confirm the caller, team, and private model in AIBG observability.
What unticking an assistant does. While Endpoint Guard is running on a device it removes the gateway address and key from an unticked assistant's settings on its next pass, within about a minute. Restart the assistant: one that is already running keeps its old settings until it is restarted. One key per device is shared by every ticked assistant, so unticking one assistant does not revoke the device key; unticking Route AI assistant traffic through AIBG revokes every device's key. Unticking does not switch off other features: usage collection for Claude Code and Codex CLI, the prompt check and tool monitoring are separate settings, so an unticked assistant can still send usage numbers (and its prompts and responses, when that option is on). The Routing page says so beside each assistant. Manage those settings on Usage monitoring and Tool monitoring.
Supported assistants are Claude Code, Codex CLI, OpenCode, Pi, Cursor, Goose, Aider, and Continue (VS Code). The console lists the files and settings changed for each tool. Codex Desktop shares the CLI's configuration file.
Continue: installing the VS Code extension is enough. If the extension has never been
started, Endpoint Guard still sets Continue up on its next pass and creates ~/.continue
(Windows: %USERPROFILE%\.continue) itself. A person with neither the extension nor that
folder is left alone. Endpoint Guard saves the original config.yaml in
.cortega-config-backup.json, then manages config.yaml with a Cortega local
profile for chat, edit, apply, and autocomplete. Select that local profile in
Continue; reload the extension if it has not refreshed. While enabled, remote
changes update the gateway, key, and routed model, and local edits to this file
are overwritten. Unchecking Continue restores the original file byte for byte
(or removes the generated file if none existed). Existing rules and other
settings in the saved original are inactive while the managed profile is used.
Cloud-selected configs, workspace overrides, embeddings, reranking, and other
VS Code extensions are not managed. This is configuration management, not a
lock against choosing another profile. The selected model must support streaming
and tool calls; test autocomplete compatibility separately.
Microsoft Copilot: there is no supported local model endpoint/API-key setting for this integration to redirect its Microsoft-hosted inference to AIBG. Use Endpoint Guard → Apps for supported interception/policy coverage; interception does not replace Microsoft's models. GitHub Copilot Chat, Windsurf, Cline, and Gemini CLI are not automatically configured. VS Code extensions need individual integrations; Continue is the supported extension here.
Configuration is reapplied as settings change. Unchecking an assistant removes Cortega's managed configuration for that tool when the native app applies the updated selection. Turning off the master switch immediately revokes the existing device assistant keys for the tenant; turning it back on reactivates the same keys. This is not just a setting for future enrollments.
Routing setup does not guarantee model compatibility. Test the selected model with the assistant's required API, streaming, and tool calls. In particular, Codex uses streaming tool calls on the Responses API, which not every self-hosted endpoint supports. External SaaS assistants and browser traffic remain governed separately through Endpoint Guard → Apps.
Collect AI assistant usage
Collect AI assistant usage is a second checkbox on Endpoint Guard → AI Assistants. It reports how each developer uses Claude Code and Codex. It does not send their requests through AI Border Gateway. Each developer keeps their own Claude or ChatGPT subscription and signs in as before.
What is sent: session counts, active time, token totals, models used, an estimated cost, lines changed, and edits accepted or rejected. Prompt text, response text and tool arguments and output are dropped by the collector unless the second checkbox, Collect prompts, responses and tool use, is ticked. See that section below.
The two checkboxes work on their own. Route-only keeps today's behavior. Collect-only is the setup for a team that wants to keep its subscriptions. With both on, requests are routed and the usage numbers add what the gateway cannot see, such as lines changed.
The collector
The collector is a core service. Every AWS install runs it, behind a small ingest service that is the only part developers reach. The installer creates the install secret and sets the address, so there is nothing to set by hand.
- With a load balancer, developers reach the collector at
telemetry.<gateway suffix>. After the install finishes, create a DNS record for that name that points to the load balancer. Cloudflare terminates TLS. - Without a load balancer, developers reach the collector at
http://<core public IP>:4320. Port 4320 opens to the same network as the app's public port:AWS_ALLOWED_HTTP_CIDRin the AWS installer, orapp_ingress_cidrin Terraform.
The management backend reads the collector address and secret when it starts. If you change either one, restart the management backend and the ingest service. Changing the secret invalidates every device credential until each device syncs again.
Local Docker Desktop installs do not start the collector. To run it locally, add
--profile client-telemetry to the compose command and set a token in .env.
Turn it on
- Open Endpoint Guard → AI Assistants and tick Collect AI assistant usage. The page warns you if the install has no collector address and token.
- Check Claude Code and Codex CLI in the assistant list. These are the two tools that can send usage. The other assistants are route-only.
- Endpoint Guard writes the settings for each checked
tool on their next sync: Claude Code's
~/.claude/settings.json(theenvblock) and Codex's~/.codex/config.toml(an[otel]section). Existing settings in those files are kept. Ifconfig.tomlalready has its own[otel]section, Cortega leaves it alone and reports that usage was not written. Restart the tool if it was running. - Unticking the box, or unchecking a tool, removes only what Cortega wrote. Usage collection is separate from routing: unticking an assistant on Governance → Routing does not stop it sending usage numbers while Collect AI assistant usage is on.
Collect prompts, responses and tool use
Collect prompts, responses and tool use sits under the usage checkbox and needs it ticked. It makes Claude Code and Codex send the text of the work, not only the counts. This can include source code, commands, file contents and anything a developer types, so tell developers before you turn it on.
| Tool | What is collected | Setting Cortega writes |
|---|---|---|
| Claude Code | Prompt text, assistant response text, and tool arguments (commands, file paths, search patterns) | OTEL_LOG_USER_PROMPTS=1, OTEL_LOG_ASSISTANT_RESPONSES=1, OTEL_LOG_TOOL_DETAILS=1 in ~/.claude/settings.json |
| Codex | Prompt text, tool arguments and tool output. Codex does not export response text. | log_user_prompt = true in the [otel] section of ~/.codex/config.toml |
The ingest service sets a content flag for the collector from the tenant's
setting, and the collector keeps the text fields only when that flag is set.
Without it, the collector deletes
prompt, prompt_text, response, tool_parameters, tool_input, command_name,
arguments, output and body from every log record before it is stored.
Codex sends tool arguments and tool output with every tool result, so this
deletion is what keeps them out of storage when the box is off.
Claude Code truncates text over 60 KB. Claude Code tool output is not collected, because it is only available in traces, which the client collector does not take. Devices pick up a change at their next sync, and a tool that is already running keeps its old settings until it is restarted. Neither tool offers scrubbing of secrets in this text.
Read the text
Endpoint Guard → AI Assistant Conversations lists each developer's Claude Code and Codex sessions, newest first. Pick one to read its prompts, the assistant's responses and the tool calls in time order. Filter by time window, tool or developer email. A tool call opens to show its arguments and output.
The page needs the data:pii:view permission, which the admin role has and the
other roles do not, plus the observability screen. Every list and every
conversation opened is written to the audit log with who opened it. A tenant sees
only its own developers' sessions.
A record shows "Text was not collected" with the length the tool declared when the developer's tenant had the box off at the time, or the tool had not yet restarted with the new settings. Codex sends no response text, so its sessions show prompts and tool calls only. Claude Code tool output is not collected.
Collect repository inventory
Collect repository inventory is a checkbox on Endpoint Guard → AI Assistants. It is off by default. When on, the AI Booster app scans the signed-in user's home directory from the signed-in user session. The Endpoint Guard agent also scans when it can read local profiles. Cortega stores the local path, remotes, organization, branch, Git identity, and working-tree state. Source code is not uploaded. Public or private visibility is not classified.
- Open Endpoint Guard → AI Assistants and tick Collect repository inventory.
- If AI Booster is installed, keep the app signed in. Settings shows Repository inventory under Telemetry when the checkbox is on. The app uploads after the next refresh, about every 15 minutes.
- Open Endpoint Guard → Developer repositories. The page needs Observability and PII view. Click a row for the full local path, remotes, and Git identity. Rows from the AI Booster app or the Endpoint Guard agent are labeled Endpoint Guard.
The AI Booster app and Endpoint Guard upload after the next scan (first scan shortly after the setting is on, then a refresh about every 15 minutes).
Read the report
Open Endpoint Guard → AI Assistant Usage. Each developer row includes combined session, estimated cost, and token totals for Claude Code and Codex. Totals with unpriced Codex models carry an asterisk and exclude those models from estimated cost. It lists each developer with Claude Code and Codex usage for the last 7, 30 or 90 days. A developer whose email is not a Cortega user in the tenant is marked. A table splits usage by model, and each developer row opens to show that developer's models. Claude Code reports its own cost estimate. Codex reports none, so Cortega computes one from its token counts and the lowest list price for the model in the rate catalog. Both are API-equivalent estimates and neither is a charge on a subscription. A model with no catalog price shows "no price", not $0. Cursor is not included.
The same data is available to scripts at GET /api/v1/analytics/coding-tools/usage
with an API key that has the analytics:read scope.
Each device sends its own credential, minted for the developer's email (the one
they enrolled or signed in with) and their tenant. The ingest service reads the
tenant and the person from that credential and sets them on every record. The
tools send no identity headers, and any X-Cortega-* header a tool sends is
discarded. A credential works only for its own person and tenant, and only while
the tenant has usage collection on. The install secret that signs credentials is
never given to a device. A credential stolen from one laptop can send data as that
one developer and no one else.
Collect AI app inventory
Collect AI app inventory is a checkbox on Endpoint Guard → Governance → Usage monitoring, next to Collect repository inventory. It is off by default. When on, Endpoint Guard reports the AI software on each device:
- desktop apps such as Claude, ChatGPT, Copilot, Cursor and Gemini
- command-line tools such as Claude Code, Codex, Gemini CLI, OpenCode and Aider
- editor extensions such as GitHub Copilot, Continue, Cline and Roo Code
- local model runtimes such as Ollama, LM Studio, llama.cpp and vLLM, with the models they have downloaded
- model files of 100 MB or more (
.gguf,.safetensors,.ggml) outside any known model folder
Endpoint Guard looks in application folders, installed-program lists, tool and package folders, editor and browser extension folders, and model folders, for every person on the machine. It also checks running processes and listening ports, so a local model server shows as running. Cortega stores the app, version, install path, OS user, model names and sizes. File contents are not read.
- Open Endpoint Guard → Governance → Usage monitoring and tick Collect AI app inventory.
- Each device runs a full scan shortly after the setting reaches it, then a full scan every 24 hours. Running apps are refreshed every 15 minutes.
- Open Endpoint Guard → Observability → Monitoring → AI Apps. Local model runtimes and model folders are listed first. Click an app for the devices, users, versions, ports and models. Large model files found elsewhere are listed under Model files.
- The device detail on Devices has an AI apps section for that device.
The page needs Observability. Install paths, file paths, OS user names and emails
show as [redacted] without PII view.
Confidence says how sure the match is:
- Verified: the app matched and its code signer is the expected publisher.
- Matched: the app matched by its bundle, installed program, file or package.
- Possible: only a weak sign, such as a known model-server port held by another process. Ollama running in Docker shows this way.
Cortega updates the list of AI apps it recognizes. A new app needs no Endpoint Guard update.
Collect device security posture
Collect device security posture is a checkbox on Endpoint Guard → Governance → Usage monitoring. It is off by default. When on, Endpoint Guard reports whether these settings are on, on each macOS and Windows device:
- disk encryption (FileVault on macOS, BitLocker on Windows)
- the firewall (all network profiles on Windows)
- antivirus (Windows: Microsoft Defender or another registered antivirus)
- Gatekeeper (macOS)
- System Integrity Protection (macOS)
- OS updates (macOS: no update is waiting, not counting Command Line Tools. Windows: an update was installed in the last 60 days)
- the screen lock (macOS: locks within 15 minutes. Windows: a machine-wide policy locks within 15 minutes)
It also reports the hardware model, serial number, memory, disk size and free space, and the accounts in the local administrators group.
Endpoint Guard checks every 30 minutes and reports a change right away, and at least once a day. It sends on, off or unknown for each setting with a short line from the OS, such as "FileVault is On." It does not send files.
- Open Endpoint Guard → Governance → Usage monitoring and tick Collect device security posture.
- Open Endpoint Guard → Observability → Monitoring → Device Security. Each device
shows a result:
- Pass: every setting that applies to the device is on and it has been in contact in the last 30 days.
- Otherwise the result names each problem: a setting that is off or unknown, Dormant, or Not reported (the device has not sent a report yet).
- Click a device to see its hardware, its local administrators, what the OS said for each setting and every time a setting changed.
- Download report (CSV) has one row per device. Download changes (CSV) has one row per change, for the whole audit period. Both are evidence for an auditor.
macOS must have disk encryption, firewall, Gatekeeper, SIP, OS updates and screen lock on. Windows must have disk encryption, firewall, antivirus and OS updates on. Windows keeps the screen lock for each person, so it is shown when a machine-wide policy sets it and does not decide the result.
Downloading needs Observability and PII view. A setting the device could not read shows as Unknown and counts as not passing. A device that has been removed keeps its change history.
Collect installed software
Collect installed software is a checkbox on Endpoint Guard → Governance → Usage monitoring, next to Collect device security posture. It is off by default. When on, Endpoint Guard reports the name, version and publisher of each application installed on the device. It reads the list every 24 hours and sends it when it changed. It does not send file paths or contents.
- macOS: applications outside Apple's own system applications.
- Windows: applications installed for all users, from the system's list of installed programs. An application installed for one person only is not listed.
Open Endpoint Guard → Observability → Monitoring → Installed Software. Each row is an application with its publisher, the number of devices and the versions found. Click a row to see the devices. Use Search to find an application or publisher, and Download list (CSV) for one row per device and application. The download needs Observability and PII view.
IT reports
Two tabs under Endpoint Guard → Observability → Monitoring summarize the devices for the IT team. They use the data from the settings above and need no setting of their own.
IT Summary is one page of where devices stand today:
- devices that fail a security check, and devices with OS updates waiting
- devices that never reported, and dormant devices (no contact for 30 days)
- devices with an out-of-date Endpoint Guard agent
- devices low on disk space (under 20 GB or under 15% free)
- devices where an AI app that your Apps policy blocks is installed
- devices of people without an active account
- devices enrolled in the last 7 days
Each section shows the count and the first 10 devices. Download summary (CSV) has every section. Sections that need device data show devices as they report it, so turn on Collect device security posture and Collect AI app inventory for a full picture.
Offboarding lists devices whose user does not have an active Cortega account: a suspended user, a user waiting for approval, or an email with no account. A device that contacted Cortega in the last 7 days is marked Still in use, so a person who left can be found while their laptop is still working. Deleting a user also removes their devices, so those do not appear here. Download report (CSV) has the same rows.
Collect assistant settings
Collect assistant settings is a checkbox on Endpoint Guard → Governance → Usage monitoring. It is off by default. When on, Endpoint Guard reads Claude Code, Codex and Cursor settings for every person on the device every 15 minutes and reports:
- Account: the email, organization or workspace, and plan each assistant is signed in with, or that it uses an API key or the Cortega gateway.
- MCP servers: each server's name, where it is configured (user, local or a
project's
.mcp.json), the program or package it runs or the URL it connects to, and the names of its environment variables. - Plugins: Claude Code and Codex plugins, skills and marketplaces, and Cursor extensions and plugins, with versions and whether each is turned on.
- Autonomy: the settings that decide how freely each assistant runs without asking, such as Claude Code's permission mode, Codex's approval policy and sandbox, and Cursor's auto-run.
Keys, tokens, environment variable values, header values and command arguments are not sent. When an MCP server has a key or token written into its config, Cortega records only that it does.
Results appear on four tabs under Endpoint Guard → Observability → Monitoring:
- Assistant Accounts: company or personal for each account (see the next section), the plan, and whether the company sign-in is enforced on the device.
- MCP Servers: each server across devices, with the number of people and devices. Secret in config marks servers with a key or token in the file. Click a row for the devices.
- Plugins: each plugin, skill, marketplace and extension, with versions and the number of people who have it turned on. Click a row for the devices.
- Autonomy: High means the assistant runs anything without asking, for example
Claude Code in bypassPermissions mode, Codex with approval
neverand the sandbox off, or Cursor's run-everything auto-run. Elevated means it runs a broad set of actions without asking. The Why column lists the settings.
The tabs need Observability. Emails, OS user names and project paths show as
[redacted] without PII view. To print one device's report, run as root:
sudo "/Library/Application Support/Cortega/cortega-edge-agent" assistant-settings
Company accounts
Endpoint Guard → Governance → Accounts sets which accounts are the company's.
- Company email domains: an account at one of these domains is a company account. Used for Cursor, and for Claude Code or Codex when no organization ids are listed.
- Claude organization ids: when listed, only these organizations count. A work email on a personal Pro or Max plan is personal.
- ChatGPT workspace ids: the same for Codex.
Seen on devices lists the Claude organizations and ChatGPT workspaces people are signed in to. Add as company puts one in the list. Save to apply.
To stop personal subscriptions, tick:
- Only allow these organizations in Claude Code. Endpoint Guard writes
managed-settings.d/50-cortega-account.jsonin Claude Code's admin settings folder (/Library/Application Support/ClaudeCodeon macOS,C:\Program Files\ClaudeCodeon Windows) withforceLoginMethodandforceLoginOrgUUID. Claude Code then refuses a sign-in to any other organization. A person signed in to another one must sign in again. A managed settings file your MDM already delivers is left as it is. - Only allow these workspaces in Codex. Endpoint Guard writes
/etc/codex/requirements.tomlwithallowed_login_methods = ["chatgpt"]andallowed_chatgpt_workspaces. Codex then accepts only a ChatGPT sign-in to these workspaces. If a requirements file that Endpoint Guard did not write is already there, it is left alone and the device reports Blocked by another file. This is macOS only.
Both files are written as root, so a person cannot remove them. Turning enforcement off removes them. Cursor has no device setting that limits the account, so Cursor accounts are reported only.
Check shell commands before AI assistants run them
A coding agent such as Claude Code runs shell commands with the developer's own
credentials. A command like aws ec2 terminate-instances never passes through the
gateway, so the gateway cannot govern it. Tool governance checks each command
before it runs. Cortega answers allow, ask or deny, and administrators can review
denials, grant exceptions and suspend a device.
It covers Claude Code on a device that runs AI Booster. It checks the Bash tool, and the Write and Edit tools (so an AWS SDK call written into a new script is seen).
Turn it on
- Open Endpoint Guard → AI Assistants and tick Claude Code in the assistant list.
- Open the Tool governance tab and tick Check shell commands before AI assistants run them. You need the Endpoint Guard admin write permission.
- Choose what happens When Cortega cannot be reached: allow the command (the default), ask the developer, or deny it.
- Add rules (below) and click Save rules. A tenant with no rules allows every command.
On its next refresh AI Booster writes a PreToolUse hook and two permission rules
into the developer's ~/.claude/settings.json. The hook runs the agent's
hook-check command. The permission rules deny Claude Code's Read tool on
~/.aws/** and ~/.azure/**. AI Booster keeps every other setting in that file and removes only
what it added when you turn the setting off. The Claude Code folder ~/.claude
must already exist on the device.
A command is checked every time, so a policy change, an exception or a suspension applies to the next command with no sync wait.
Policy and templates
A policy is a list of rules. For each command Cortega splits it into actions (a
pipe, &&, ;, $(...) and bash -c can each hold more). For each action, the
first rule that matches decides, and an action that matches no rule is allowed.
The strictest answer across the actions is the answer for the command. Each
action carries these fields:
| Field | Meaning |
|---|---|
kind | aws_cli, sdk_call (boto3 or the AWS JavaScript SDK in inline code or a script), script_run, decode_exec (base64 -d | sh, eval, curl … | sh) or other |
service, action | For example ec2 and terminate-instances |
class | read for names starting describe, list, get, head, lookup or batch-get. write for create, delete, terminate, put, update, modify, run, start, stop, attach, detach, invoke, send or publish. Anything else is unknown. |
profile, region, role_arn, account | From flags, prefix variables such as AWS_PROFILE=x, or the environment. AI Booster reads ~/.aws/config and sends the profile names with their role ARNs and SSO account ids, so a profile named dev that points at the production account is treated as production. |
The Templates list adds rules for you:
| Template | Rule it adds | Effect |
|---|---|---|
| Production AWS: block writes | aws_prod_write | Denies aws_cli and sdk_call actions of class write or unknown in the listed account. Reads stay allowed. A profile that does not resolve to an account also matches. |
| Block decode-and-execute | decode_exec | Denies commands that decode or download text and run it. |
| Protect AWS credentials | aws_creds_read | Denies the Read and Bash tools on any path inside ~/.aws. |
| Protect Azure credentials | azure_creds_read | Denies the Bash, Write and Edit tools on any path inside ~/.azure. |
The production template ships with the placeholder account 111111111111.
Replace it with your production account id in the Rules box before you save.
The Rules box holds the rules as JSON, so you can write rules the templates
do not cover. A rule that is not valid is refused with a message that names the
field, such as rules[1].decision.
Repeated denials. Tick Halt a session after repeated denials to stop a session that keeps hitting denials, then set how many denials within how many minutes halt it (3 in 15 minutes to start with). Untick it to turn the limit off; a denied command is then refused and the session carries on. The setting is saved with the rules, so click Save rules after you change it. A tenant that has never turned it on has no limit.
What the developer sees
| Answer | What happens in Claude Code |
|---|---|
| Allow | Nothing. The hook prints nothing and Claude Code behaves as it would without the hook, including its own permission prompts. |
| Ask | In an interactive session Claude Code shows its permission prompt with Cortega's reason, and the developer picks Yes or No. In a headless run (claude -p) there is no one to ask, so the command is refused. |
| Deny | The command does not run. The model receives the reason, which names the blocked action, tells it not to try another way to do the same thing, and says where to request an exception. The session continues. |
| Halt | A deny that also stops the turn. The developer sees the stop reason in Claude Code. A halt happens when the session reaches the denial threshold, or when the device or session is suspended. |
When a session reaches the denial threshold, Cortega also sends an alert to every user who holds the approver permission (below). The alert appears on those users' enrolled devices.
If AI Booster cannot reach Cortega within 2 seconds, it applies the When Cortega cannot be reached setting. It keeps a record of each such decision (without the command text) and sends it when Cortega is reachable again.
Exceptions
An exception lets one rule pass for a limited time. Approvers need the
edge:tool_exceptions:approve permission. Migration 000193 gives it to the
roles administrator, operations manager and tenant admin. Open Endpoint Guard →
Tool exceptions (under Agent).
- Request. The denial message includes a link of the form
<console address>/edge/tool-exceptions?d=<decision id>. The page behind it is for approvers, so a developer without the permission tells an approver. Any signed-in user can file a request through the API, and the AI Booster agent can file one for its own denial. Approvers are alerted. - Approve or deny. Pending requests lists each request with the rule, the requester and the note. Pick This device, This session or This user and click Approve for 1 hour, or click Deny.
- Grant without a request. Under Active exceptions, choose a device and a
rule id (a rule id, or
*for every rule), choose Device or Device owner, set the minutes and click Grant exception. The default is 60 minutes. The most is 30 days. - Effect. The next command that matches that rule for that device, session or user passes. The agent resumes in the same session. Revoke ends an exception at once. An expired exception stops applying on its own.
Suspend
Under Suspended, choose a device and the number of hours (default 24) and click
Suspend. While suspended, every check on that device answers deny with halt, whether
or not the developer's traffic goes through the gateway. Tick Also revoke the
device's coding key to stop that device's routed model traffic as well. Resume
ends the suspension, and Resume and restore key also reactivates the key. A single
session can be suspended through the API (POST /api/v1/edge/tool-suspensions with
kind set to session).
How strong the control is
Be clear about what this does and does not stop.
- The hook lives in the developer's own
~/.claude/settings.json. The developer can edit that file and remove it. AI Booster puts it back on its next refresh. It does not run with administrator rights, so it cannot lock the file. - AI Booster reports the state of the hook on every refresh as ok, drifted or
missing. Drifted means the hook entry was edited, the agent file is not on the
device, the AWS deny rule is gone, or
disableAllHooksis true. Missing means Cortega previously applied the hook and none of it is there. When the state changes to drifted or missing, Cortega writes an audit entry and alerts approvers. A repeat report of the same state raises no second alert. - The check is a guardrail. It reads the command text. A determined agent can run
AWS calls in ways the parser does not recognize. It can also read
~/.awsthrough a program, because the Read deny rule covers the Read tool only. Theaws_creds_readrule covers shell commands that name the path. - The real boundary is the credentials. Give agent sessions a read-only or short-lived AWS role, so a command that gets past the check still cannot do damage.
- A hook failure never blocks work on its own. A crash, a timeout or a missing agent file lets the command run, unless the setting for an unreachable Cortega is deny.
- Managed settings that the developer cannot edit need an administrator-level writer such as MDM. AI Booster does not write one.
- Tool governance covers local Claude Code. Traffic that goes through the gateway is covered separately by the tool call review guardrail (see the Guardrails Guide).
What Cortega stores for each check: the decision, the rule, the parsed actions and
the command cut to 500 characters, with AWS key ids, --secret values, bearer
tokens and *_TOKEN or *_SECRET variables replaced by [redacted]. For Write
and Edit it stores the file path, not the content.
Check prompts before AI assistants send them
Check prompts is a checkbox on Endpoint Guard → Governance → Tool monitoring. When it is on, Endpoint Guard runs the Edge guardrails on each prompt a person types into Claude Code, Codex or Cursor, before the assistant sends it. This covers people on their own Claude or ChatGPT plan, and Cursor, whose model traffic never passes through the device's proxy.
It uses the guardrails on Endpoint Guard → Governance → Filtering → Guardrails that apply to requests:
- A Reject or Mask guardrail blocks the prompt. The assistant shows the person which kinds of data it found and asks them to remove it and send again. An assistant cannot change a typed prompt, so Mask blocks too.
- An Observe guardrail lets the prompt through and records the hit.
The check runs on the device. The prompt is not sent to Cortega. A hit appears on Endpoint Guard → Observability → Filtering → Guardrail with the assistant name, the guardrail and the detectors, without the prompt text. When Endpoint Guard is not running, prompts go through.
Turning Check prompts off stops the check on the device itself, as soon as the device has picked up its settings (about a minute at most): the program answers every prompt with allow and records nothing, even where an assistant still has the hook in its file or has already loaded it. The hook entries are taken out of the assistants' files separately.
Endpoint Guard adds the hook to each assistant's own file:
| Assistant | Event | File |
|---|---|---|
| Claude Code | UserPromptSubmit | ~/.claude/settings.json |
| Codex | UserPromptSubmit, with a trust record | ~/.codex/hooks.json, ~/.codex/config.toml |
| Cursor | beforeSubmitPrompt | Cursor's device-wide hooks file, or ~/.cursor/hooks.json |
The Autonomy page shows per device whether the prompt check hook is in place.
How traffic reaches the agent
The agent does not attach to Chrome, ChatGPT, or Claude. Packaged
install starts it with --system-proxy, which:
- Points OS HTTP and HTTPS proxies at
127.0.0.1:8888. - Turns PAC / Auto Proxy off so a leftover PAC URL cannot override that.
- Does not turn on the OS SOCKS checkbox. A SOCKS5 listener still
listens on
127.0.0.1:1080for clients you point at it yourself.
Anything that honors those HTTP(S) settings then opens TCP to loopback
and sends CONNECT to the destination host. The agent decrypts only
Apps Observe / Police hosts. Unlisted hosts still reach the agent and
are tunneled (encrypted, no capture). Block hosts are dropped.
System-proxy coverage: clients such as curl and Claude Code may ignore
OS proxy settings. Use Endpoint Guard → AI Assistants for automatic AIBG
configuration of supported tools (including Claude Code), or configure their
gateway endpoint and key manually. On macOS, Endpoint Guard does not set
HTTP_PROXY / HTTPS_PROXY. Assistant configuration is separate from proxy
interception.
AI Query Log: Target is the HTTP host of that request, not a guess from
the prompt. App undetected plus kind other means the classifier did not
treat the call as a chat/MCP send — PID labeling is skipped for other.
The UI hides the URL path; dump GET http://127.0.0.1:7878/api/captures
to see url, host, kind, app. ChatGPT.app on macOS uses the HTTP
proxy (:8888), not SOCKS. The bundled codex app-server ignores the OS
proxy unless ~/.codex/config.toml has [features] respect_system_proxy = true (singular). Fully quit and reopen ChatGPT.app after that change. Edge
does not write that file yet.
Deployment modes
Endpoint Guard supports a local trial mode and licensed enrollment modes. The trial mode never talks to Cortega. New licensed deployments should prove device identity with a per-device client certificate; a shared enrollment key remains available as a test-only path.
| Mode | Who uses it | Identity proof | Security | Manageability |
|---|---|---|---|---|
| MDM rollout | Enterprise fleet deployment | MDM-issued per-device client cert | Highest; unique device cert, MDM lifecycle, optional non-exportable key | Best for fleets; MDM owns install, cert, config, removal |
| Self rollout | Admin-managed pilots | Cortega-generated per-device client cert | High; unique cert per device, no shared secret | Good for pilots; secure distribution required |
| Shared key-based activation | Internal installs/testing | Shared enrollment key | Lowest | Simple and familiar |
Recommended default: use MDM rollout or self rollout without MDM, and use key-based activation only as a test path while certificate enrollment is adopted.
The modes above cover the headless Endpoint Guard service. The AI Booster desktop app enrolls differently: it signs the user in through SSO or an invitation link, and an unknown user is routed to a Cortega admin for approval rather than being auto-provisioned.
Certificate model
Licensed Endpoint Guard enrollment uses one trusted enrollment authority and one client certificate per device. Do not share one client certificate across machines; a shared cert would behave like a shared enrollment key.
The client certificate identifies the device and the assigned user. The Cortega URL is part of configuration, and it must be the public Endpoint-Guard-facing HTTPS origin (the nginx, load balancer, or app URL the device can reach). The Endpoint Guard → Enrollment screen prefills this from the browser origin. Since the certificate includes the user email, the activation command does not need a separate email argument.
Bulk enrollment via the Edge API
The Enrollment and Seats screens are also a REST API, so a provisioning, MDM, or asset-management system can enroll a fleet without the console. The full reference is the Edge API.
Issue a key under System → API Access with the edge:write scope, or
edge:read for a key that only lists CAs and devices. Send it as a bearer
token: Authorization: Bearer crt_....
Headless Endpoint Guard:
-
Create one enrollment CA:
curl -X POST -H "Authorization: Bearer $CORTEGA_API_KEY" \-H "Content-Type: application/json" \-d '{"name":"Fleet CA","generate_cortega_ca":true}' \"https://$CORTEGA_HOST/api/v1/edge/enrollment/cas" -
Mint one identity per device:
curl -X POST -H "Authorization: Bearer $CORTEGA_API_KEY" \-H "Content-Type: application/json" \-d '{"device_id":"LT-0423","email":"[email protected]","name":"Alice MBP"}' \"https://$CORTEGA_HOST/api/v1/edge/enrollment/cas/$CA_ID/client-certs"Write the response's
identity_pemto the machine and setcortega_urlin the local config. The service registers itself on startup. No console step per device.
Adding a device in the console
In Endpoint Guard → Seats → Add Seat, Tenant 0 administrators with cross-tenant management permission choose the target Tenant by name from a dropdown. Other tenants do not see this field: enrollment stays in their own tenant, and the backend rejects cross-tenant requests even if a platform permission was accidentally granted to that caller. For certificates, the Enrollment CA list is filtered to the target tenant; the certificate's tenant must match its CA.
Cortega URL is pre-filled from the install's CORTEGA_APP_ORIGIN when set,
including a public Cloudflare hostname or load-balancer address. AWS deployment
scripts carry the resolved app origin into the runtime environment for both
single-node and multi-node installs. If no origin is configured, the form uses
the browser's current origin. The public app proxy supports the SSO enrollment
routes, so invitations may use that address. Because the invitation link is
emailed, an SSO invitation's URL must be either CORTEGA_APP_ORIGIN or the
tenant's own sign-in address (https://<slug>.<TENANT_SSO_BASE_DOMAIN>); any
other address is rejected. Only an install with no CORTEGA_APP_ORIGIN (such
as a local test install) also accepts the address the console was opened on.
The certificate tab's URL is only used in the import command it shows and stays
freely editable. A localhost URL reaches the device's own machine, so use a
reachable hostname or IP for remote devices. Certificate enrollment additionally
needs a TLS ingress that forwards the client identity.
AI Booster is tied to a person, so mint one invitation per user and distribute the links:
curl -X POST -H "Authorization: Bearer $CORTEGA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"email":"[email protected]","cortega_base_url":"https://cortega.company.internal"}' \
"https://$CORTEGA_HOST/api/v1/edge/sso/invitations"
An invitation email is sent when outbound email is configured. The user pastes
the invite_url into the app's Enterprise Sign in tab and completes SSO. The
IdP email must match the invitation address; explicit invitations bypass the
global self-service signup-domain allowlist. Domain-matched SSO needs no API call.
To reconcile, list devices with GET /api/v1/edge/agents and remove one
with DELETE /api/v1/edge/agents/{id}. Listing needs only edge:read. A
certificate-enrolled device can re-enroll after deletion unless you also
disable its CA with PUT /api/v1/edge/enrollment/cas/{id}/trust.
Administrator setup: TLS, nginx, and client-cert headers
Certificate enrollment needs a TLS terminator that can see the agent's client certificate. Cortega then verifies that cert against the trusted enrollment CAs and mints a short-lived token.
There are two supported topologies:
- Direct HTTPS to management-backend. Use this only for a lab or a dedicated listener. The backend requests a client certificate on the TLS handshake and verifies it against trusted enrollment CAs directly. Do not publish this port to the internet if the public console already sits on another origin.
- TLS-terminating proxy or load balancer (normal production path). The public console and the agent share one HTTPS origin. The proxy terminates TLS, optionally requests a client certificate, and forwards the verified leaf cert in one HTTP header. management-backend never sees the TLS client cert directly.
For the proxy topology, four properties matter: the proxy must overwrite the identity header (clearing any client-supplied value before setting it from the TLS handshake, otherwise a caller could paste a stolen certificate and impersonate that device); management-backend and webapp-backend must not be reachable from the internet directly, only the TLS terminator; client certs must be optional at the TLS layer, since browsers loading the console have no client cert, though Cortega still rejects certificate-mode calls that arrive without a valid one; and the enrollment CA must be exported to the terminator and kept in sync with what's uploaded in Endpoint Guard → Enrollment.
Supported terminators, and what to send Cortega:
| Terminator | What to send Cortega |
|---|---|
| nginx | The URL-encoded PEM of the client cert, forwarded in a custom header |
| AWS ALB passthrough | X-Amzn-Mtls-Clientcert (built-in, URL-encoded PEM) |
| GCP HTTPS LB | Needs a custom header with URL-encoded PEM; its built-in header format isn't one Cortega parses. Put nginx behind the GCP LB, or configure a matching custom header. |
| Azure Application Gateway | Rewrite the client-certificate variable (PEM) into the configured header; URL-encode it if the rewrite leaves raw newlines |
Always configure the exact header name the terminator sends.
Security notes for certificate mode: one client cert per device, since a shared fleet cert is the shared enrollment key with extra steps; trusting the forwarded header trusts that header, not possession of the private key, so the terminator must have already proven possession during the TLS handshake; and rotating or disabling a CA from Endpoint Guard → Enrollment must be matched by updating the terminator's trusted CA file, since Cortega rejecting a cert does not by itself stop the terminator from accepting the handshake.
1. Local trial without Cortega
Use this when an admin wants to download the package and try Endpoint Guard on one machine without a Cortega backend.
Install the package for your platform. On Windows, run the MSI as an
administrator, for example msiexec.exe /i .\cortega-endpoint-guard-<version>-windows.msi. It installs and starts the system
service with no Cortega URL and no enrollment identity, and captures
locally against a built-in list of common AI domains such as ChatGPT,
Claude, Gemini, Copilot, DeepSeek, and Kimi.
Open http://127.0.0.1:7878 and generate traffic to an AI site. You
should see local captures on the diagnostic page. The table shows only
Time and App columns until the agent is registered with Cortega, since
nothing is sent to Cortega while no backend is configured.
Trial behavior: works for 15 minutes per service start. After 15 minutes without Cortega connectivity, Endpoint Guard enters passthrough mode: no interception, no capture, no guardrails, the same behavior a real network outage produces. Restarting the service starts a new 15-minute local trial window. This mode is not licensed, not enrolled, and not connected to a Cortega backend.
2. MDM rollout with MDM-issued certificates
Use this for production fleet rollout with Jamf, Kandji, Intune, Mosyle, or a similar MDM.
Admin workflow in Cortega: open Endpoint Guard → Enrollment, choose MDM-issued certificates, upload the MDM/SCEP/ACME issuing CA certificate or select an existing trusted enrollment CA, download the CA PEM and install it as the client CA on the TLS terminator, configure the expected certificate identity fields (tenant ID, device ID, user email, serial number, or MDM device ID), and copy the public HTTPS Cortega URL for the deployment.
MDM workflow: deploy the endpoint-guard package, deploy a per-device client certificate through SCEP, ACME, or an MDM certificate payload (non-exportable private key when the MDM supports it), and deploy a configuration profile or file with the Cortega URL and the client certificate/key paths. Start or restart the service.
Expected device behavior: the agent finds the installed client certificate, registers with Cortega using mutual TLS or an equivalent certificate-backed request, and Cortega verifies the cert chains to a trusted enrollment CA, is not expired, has Client Authentication usage, and maps to an allowed tenant/device identity. Cortega then creates or updates the device record, mints a short-lived token, and returns runtime policy. The device appears in Endpoint Guard → Seats.
MDM installs must be noninteractive; MDM supplies the certificate and config separately rather than relying on package prompts.
3. Self rollout with Cortega-generated certificates
Use this for pilots, small fleets, or customers without MDM. Cortega acts as the enrollment CA and generates unique per-device client certificates.
Admin workflow in Cortega: open Endpoint Guard → Enrollment, choose Cortega-generated certificates, create or select the Cortega enrollment CA and install its downloaded PEM on the TLS terminator if not already done, generate one client certificate per device or user/device assignment, leaving Cortega URL as the public HTTPS origin the device will call, choose a finite certificate lifetime (usually 90 days to 1 year for pilots, up to 3 years for managed fleets with a rotation process), download the certificate/key or full identity bundle, and send the package, identity material, and Cortega URL to the target user through a secure channel.
User/admin install workflow: install the package, then install the per-device identity using the platform's import-identity helper with the Cortega URL and either the separate certificate/key files or the full identity bundle. The helper copies the certificate/private key into the Cortega identity directory, writes the Cortega URL and PEM paths, clears any shared enrollment key, and restarts the service. The device then registers with Cortega and appears in Endpoint Guard → Seats.
Certificate import runs as an explicit, elevated/root-run helper for manual/self rollout; package install scripts cannot safely prompt during MDM installs, which is why MDM deployment uses mode 2 instead.
4. Key-based activation
Use this for existing deployments that already rely on the shared enrollment key. This is a compatibility path, less secure than certificate enrollment because the same secret can be reused across many devices.
Admin workflow in Cortega: configure the enrollment key on the Cortega backend, share the Cortega URL and enrollment key only through an approved secret channel, and rotate the key if it's exposed or if a deployment cohort should no longer be able to enroll.
Device workflow: run the platform's activation script with the Cortega URL, enrollment key, and user email. The script writes the Cortega URL, agent key, and email into the local Endpoint Guard config (clearing any leftover client-cert identity from a prior certificate enrollment) and restarts the service. On startup, the agent registers with Cortega by presenting the shared key plus the claimed email; Cortega compares the key to its configured enrollment key, validates the email/domain, records the device, and returns a short-lived token plus runtime policy.
Security notes: the key proves access to the enrollment secret, not possession of a specific managed device; any holder of the shared key can attempt to register a device and claim an allowed email; the key is stored in the device's Endpoint Guard config and must be protected as a secret; prefer per-device certificate enrollment for new production deployments.
Verify
For local trial: restart AI apps, browse to an AI site such as
chatgpt.com or claude.ai, open http://127.0.0.1:7878, and confirm
local captures appear (and that nothing appears in Cortega, since the
device is not enrolled).
For licensed enrollment: confirm the device appears in Endpoint Guard →
Seats, confirm http://127.0.0.1:7878 shows the device as registered,
restart AI apps, generate AI traffic, and confirm Endpoint Guard →
Observability shows captured LLM or MCP activity.
Managing devices
Endpoint Guard → Seats lists enrolled devices. The Identity column
shows how Cortega last verified the device: Enrollment key (shared
enrollment secret), Client certificate · {CA name} (mTLS or forwarded
client cert chained to that trusted enrollment CA), or Unknown
(registered before identity was recorded; the next successful register
updates it).
Serial is the hardware serial the agent reads from the device. Certificate enrollment uses the cert's device identity as Device ID. The Seats table's Device column and the drawer title are the OS hostname, which is not the Device ID.
Intercept CA is separate: it is whether the device trusts Cortega's local TLS inspection certificate, not the enrollment CA.
Active Clients lists AI apps currently running on the device (ChatGPT, Claude Desktop, Cursor, and similar). The agent reports this on register and on each config poll.
Delete a device to free a license seat. The device must re-enroll to appear again.
Connectivity checks
A seat's Last Seen time comes from the device's check-in to Cortega
management only. A device can check in and still be unable to reach the
gateway or the telemetry host, for example when DNS for telemetry.<suffix>
is missing or a firewall blocks it. So each device (Endpoint Guard and AI
Booster) also tests the endpoints it was given every five minutes and reports
the result:
- Management is the address the device checks in to.
- Gateway is the AI Border Gateway address used when routing is on.
- Telemetry is the usage collector address, checked at
/healthz.
Each result is one of ok, dns (the name does not resolve), tls (the certificate was not accepted), timeout, refused, or http_error.
Cortega adds a second check from its own side. A seat that checked in within 15 minutes, was registered more than an hour ago, and belongs to a tenant with Collect AI assistant usage on is flagged when no usage from that person has reached the telemetry endpoint in 24 hours. The message says whether the device could reach the endpoint, so you can tell a blocked host from a tool that was simply not used.
Where you see it:
- Endpoint Guard → Seats has a Connectivity column. Open a seat for the problems and each endpoint check, plus Last Telemetry.
- Getting Started → Needs attention lists one entry per tenant with the affected seats.
- AI Booster and the Endpoint Guard app show a banner to the person with the same sentences, so they can tell IT which host is blocked.
Devices on an older app version report nothing, so only the server-side telemetry check applies to them.
Other Endpoint Guard screens
| Screen | What it does |
|---|---|
| Endpoint Guard → AI Assistants | Detects local AI assistants (Claude Code, Codex CLI, OpenCode, Pi, Cursor, Goose, Aider, Continue) on enrolled devices and points the checked ones at AIBG with a per-device Cortega API key. |
| Endpoint Guard → Tool exceptions | Approve or deny requests for tool-governance exceptions, grant time-boxed exceptions, and suspend or resume a device. Needs the edge:tool_exceptions:approve permission. |
| Endpoint Guard → Apps | Catalog apps (Claude, ChatGPT, …) with action observe, police, or block. Cortega expands each app to its surface domains. Observe/Police hosts are decrypted; block is dropped. Hosts not in Apps still reach the local HTTP proxy and are tunneled (no decrypt, no capture). |
| Endpoint Guard → Guardrails | Guardrails scoped to Endpoint Guard traffic, the same guardrail types as AI Border Gateway (see the Guardrails guide), applied to what the agent captures. |
| Endpoint Guard → Observability | The Endpoint Guard LLM/MCP query tables, every captured exchange, in the same telemetry pipeline as gateway traffic. |
Device notifications from Cortega Agents
If the Cortega Agents product is licensed and the Legal Agent (AI Verifier) is enabled, a false or unverified verdict on an Endpoint Guard-captured response is pushed back to the originating device on its next config poll and shown as a native OS notification. Delivery is best-effort and at-most-once; there is no acknowledgement. Gateway traffic (no device) never triggers this.
Uninstall
Uninstalling stops the service, removes Endpoint Guard files, removes the trusted local interception certificate, and reverts system proxy settings the agent changed.
For certificate-based licensed installs, uninstall should not automatically delete an MDM-issued identity certificate unless Cortega installed it during self rollout. MDM-owned certificates should be removed by MDM.
Troubleshooting
| Symptom | Likely cause |
|---|---|
| Diagnostic page shows no traffic | Restart the AI app and confirm the domain is in the Endpoint Guard app policy. |
| Trial stops capturing after 15 minutes | Expected local-trial timeout; restart the service for another local trial window. |
| Device never appears in Cortega | Missing Cortega URL, missing client certificate, untrusted CA, expired cert, or certificate identity mismatch. |
| Certificate import fails | User lacks root/admin access, the PEM files are missing or malformed, or the cert lacks Client Authentication usage. |
| Sign in with SSO returns "account pending" / a "request submitted" screen | Working as intended: the email's domain isn't on any tenant's SSO-enrollment list and there's no invitation, so the request went to Users & Access → Pending Approval for a Cortega admin. Add the domain to the tenant, issue an invitation link, or provision the user from the pending row. |
| Sign in with SSO returns "seats full" | The tenant's AI Booster seat count is exhausted. Raise the seat count on the tenant or remove an inactive device. |
| SSO tries to reach the public Cortega domain instead of your instance | The Cortega URL field was left blank; it defaults to the public instance. Type your full instance URL. |
| Client certificate is required, through the proxy | The proxy isn't configured to trust client certificates, isn't setting the expected header, or a component in front of Cortega isn't forwarding it. |
| Invalid client certificate | The proxy forwarded a cert that does not chain to a trusted enrollment CA, is expired, or lacks Client Authentication. Download the CA PEM again and confirm it matches the proxy's trusted CA configuration. |
| Agent fails TLS to a local test URL | The OS trust store doesn't trust the local test CA; the agent uses system roots, not a custom CA file. |
| Browser console breaks after enabling mTLS | The terminator required a client cert instead of making it optional. Browsers connect without a cert and need that to succeed. |
| Registered locally, but no Endpoint Guard Observability rows | Check network access from the device to the Cortega gateway/observability URL and widen the time selector. |
| MDM install hangs waiting for input | A package prompt was used in MDM mode; move cert/config delivery into MDM payloads and keep install noninteractive. |
| Device never appears in Cortega's Seats page (key-based) | Re-run the activation script and check its output for errors; confirm the agent key matches what's configured on your Cortega instance. |
| Codex CLI: model metadata for a team name not found | An earlier Endpoint Guard build wrote the team name or a catalog model id as Codex model. Current Endpoint Guard leaves the user's Codex model in place and strips leftover catalog ids. Restart Endpoint Guard after this agent update, then quit and reopen Codex. |
| Codex CLI still uses a leftover catalog model after unchecking Codex | Unchecking Codex CLI removes the Cortega provider table. An earlier build could leave a catalog model line behind, so Codex kept sending that id to OpenAI. Restart Endpoint Guard after this agent update so the next tick deletes that leftover line. |
| Codex CLI: this model doesn't support tool use in streaming mode | Codex always streams tool calls on the Responses API. Point the coding-assistant identity's team router at a model whose provider accepts tools on a streaming Responses request (typically OpenAI GPT). Qwen and many Bedrock / OpenAI-compat models reject that combination even when Codex model is a GPT id, because the gateway still team-routes the request. |
| (Windows) Install/activate fails with an access-denied error | The install/activate/import-identity/uninstall scripts all need an elevated (Administrator) PowerShell session. |
Seats on shared machines
Each Seats row is one person on one machine. Several people may enroll the same Mac or Windows machine; each takes a seat and has a separate registration and refresh credential. A reinstall reuses the person's hardware-serial registration. Deleting one row frees only that person's seat; the other people's registrations on that machine remain. Deleting a user removes that user's seats. The license's Edge seats limit counts these person-device pairs.
Disabled or purged tenants cannot enroll, mint or refresh tokens, poll config,
or read Edge usage/research. These calls return 403 tenant_inactive with
"your organization's account is not active". Already-issued short-lived Edge
tokens expire normally; contact the organization’s administrator for help. A disabled tenant's domain remains claimed until tenant purge.
Endpoint Guard navigation starts with Getting Started, Seats, and Enrollment. Agent groups Apps, Observability, and Guardrails. Routing groups AI Assistants, AI Assistant Usage, and AI Assistant Conversations. AI Assistants opens assistant configuration.
On-prem multi-tenant deployments
Multi-tenancy is supported on customer infrastructure. Enable
CORTEGA_MULTI_TENANCY_ENABLED=true, provision active tenants and their product/seat
entitlements, then configure tenant IdPs, registration domains, invitations or
Enrollment CAs. Existing users resolve to their assigned tenant before domain
matching. Use explicit users/invitations/certificates when tenants share a domain.
AI Booster's native app is the successor to the AI Verifier desktop product.
Enter your app origin or invitation in Enterprise sign-in. See On-prem multi-tenant setup for the .env, DNS/TLS,
nginx routes, callback URLs and the seat rules needed before enrollment.