Skip to main content

Endpoint Guard

Install Sign Up

Endpoint Guard configures supported local AI assistants to use AI Border Gateway and governs other AI traffic on the device, including: an employee using a desktop AI app, a browser-based assistant, or a local MCP tool that never touches a gateway. This is what "shadow AI" means in practice: real usage, with no visibility until now.

The problem it solves​

Employees adopt AI tools faster than IT can approve or configure them. Some of that usage sends company data to a provider nobody vetted, and without a way to see it, there's no way to tell which.

How Apps traffic interception works​

Endpoint Guard installs a native agent on the device, macOS and Windows, running as a system service before login, with no per-user setup.

It steers proxy-aware HTTP(S) through a local proxy on the device, decrypts only the Apps domains it's told to watch (observe / police), and sends the call to the same destination the user meant. Hosts not in Apps still go through the proxy but stay encrypted (tunneled). This interception path holds no provider API key; Cortega sees what the device reports. Separately, AI Assistants configures supported tools, including Claude Code, to use AIBG with a per-device Cortega API key. Those requests are governed directly by the gateway.

Agent governance on the device​

Endpoint Guard governs a local agent from four places. Each one is a separate setting. You can turn them on together or one at a time.

Monitoring​

Endpoint Guard → Observability records intercepted AI traffic in the same view as AI Border Gateway, filtered to the device source.

AI Assistant Usage shows sessions, tokens, estimated cost, models, lines changed, and edits accepted for Claude Code and Codex. The developer keeps their own subscription on this path. Routing through AI Border Gateway is a separate checkbox and is what creates the gateway key. Prompt and response text stays on the device unless Collect prompts, responses and tool use is on. With that box on, Claude Code sends prompt, response, and tool-call text, and Codex sends prompt text. Codex does not send response text. The same numbers are available to a crt_ key with analytics:read at GET /api/v1/analytics/coding-tools/usage.

AI Assistant Conversations shows that collected text. Opening it requires data:pii:view, and each read is audited.

Developer repositories lists checkouts the device reported: local path, Git remote, organization, branch, Git identity, and working-tree state. Source code is not uploaded. Turn on Collect repository inventory under AI Assistants. AI Booster reports the signed-in user's home directory. The VS Code pack reports open editor workspaces and that same home. The Endpoint Guard agent reports checkouts it can read from local profiles.

AI Apps lists the AI software each device reported: desktop apps, command-line tools, editor extensions, local model runtimes such as Ollama and LM Studio with their downloaded models, and large model files. Turn on Collect AI app inventory under Usage monitoring. File contents are not read.

Assistant Accounts, MCP Servers, Plugins and Autonomy show how Claude Code, Codex and Cursor are set up on each device: the account each one is signed in with and whether it is a company or personal account, the MCP servers configured and which ones have a key written into the config, the plugins, skills and extensions installed, and how freely each assistant runs without asking. Turn on Collect assistant settings under Usage monitoring. Keys, tokens and command arguments are not sent.

Controlling​

Accounts sets which Claude organizations, ChatGPT workspaces and email domains are the company's. Endpoint Guard can write Claude Code's and Codex's own admin settings so they refuse a sign-in to any other organization or workspace.

Check prompts runs the local guardrails on each prompt typed into Claude Code, Codex or Cursor before it is sent, on the device. A reject or mask guardrail blocks the prompt.

Apps sets observe, police, or block for catalog AI apps. Police adds the local guardrail pack and the local budget check. A domain that is not listed is still proxied and stays encrypted.

Local guardrails run on the device, separate from AI Border Gateway's guardrails. Pick a starter set (General, Healthcare, Finance, or Government/classified), turn detectors on or off (SSNs, credit cards, phone numbers, addresses, medical and government identifiers, credentials, and custom patterns), and set each one to observe, mask, or reject on the request, the response, or both. They run when the device cannot reach Cortega.

Tool governance, on AI Assistants, checks commands a local coding agent proposes before they run. The current hook is Claude Code PreToolUse for Bash, Write, and Edit, written by AI Booster or the Endpoint Guard agent. The device asks Cortega on each call. Decisions are allow, ask, or deny. A deny includes a reason the model is shown. Repeated denials in one session halt the turn and alert approvers. If the hook file is removed or pointed at the wrong binary, the next health report marks it drifted or missing and alerts approvers.

Three starter rules ship with the tab: block write commands against a production AWS account, block decode-and-execute (base64 -d | sh, eval, curl piped to a shell), and block shell commands and file writes that touch ~/.aws. Replace the placeholder account id before you save. The hook is written for Claude Code.

Routing and filtering​

Route AI assistant traffic through AIBG points the checked assistants at AI Border Gateway with one Cortega API key per device. The key's team is the enrolling user's team, or the default team on this page when the user has none. Model choice, failover, guardrails, budgets, and MCP tool filters then run in AI Border Gateway. The assistant sends a model name. Provider credentials, failover, and tool filters stay in AI Border Gateway.

Unchecking routing revokes every device's AI assistant key in the tenant. Checking it again reactivates those keys. Usage collection and routing are independent checkboxes.

Supported tools for this configuration are Claude Code, Codex CLI, OpenCode, Pi, Cursor, Goose, and Aider. Continue is configured by the VS Code pack. GitHub Copilot Chat, Windsurf, Cline, and Gemini CLI are not configured. Microsoft Copilot does not expose a local model endpoint this setting can redirect. Follow the AI Assistants setup guide.

Tool exceptions​

Approvers with edge:tool_exceptions:approve open Endpoint Guard → Tool exceptions. They approve or deny a request, grant an exception for a device or a device owner, and suspend or resume a device. A suspension stops the local tool check (deny and halt) until the device is resumed. An approved exception lets the next matching command through. The developer asks an approver, who grants it from Tool exceptions.

Budget checks​

A device checks its team's remaining budget locally and allows or blocks a call before it is sent, using the same budget accounting AI Border Gateway uses. Police mode on an Apps rule includes this check.

Devices​

Every enrolled device, by user, hostname, hardware serial, and how it proved its identity. Admins remove a device to free up its slot.

Enrollment options​

An MDM rollout with per-device certificates for a fleet, a self-service rollout for admin-managed pilots, or a shared enrollment key for internal testing.

Fails open​

If a device can't reach Cortega, AI traffic keeps working. A stricter, block-on-failure posture is available for customers who want it.

Install​

The agent ships as a build artifact, .pkg for macOS and a .zip for Windows, from your Cortega admin or release engineer. See Install for the platform install paths that make Endpoint Guard available to enroll devices against.

AI Booster and multi-tenant enrollment​

AI Booster is the native developer app built on the agent. Its VS Code Pack creates separate VS computer registrations. Plan both tenant and installation capacity when rolling out multiple clients. Use the on-prem setup guide for DNS/TLS, nginx routes, tenant SSO, invitations and Enrollment CAs.