InstallPyPI and npm · no account needed

Install Xtrom where your agents already run.

One command from PyPI (xtrom) or npm (@xtrom-ai/sdk), and your coding agents are protected. No account: decisions are made on your machine and nothing is sent. Every PyPI release carries an attestation from our release workflow, and every npm release is approved by a maintainer before it goes live. Connect a team console whenever you want; air-gapped and pinned installs use your console's /pkgs/ (SHA‑256 pinned).

Python 3.10+Node 20+ for TS SDKHelm chart shipped

02Coding agent on a laptop

Protect every coding agent with one local hook.

install wires every supported agent it finds on the machine: Claude Code, GitHub Copilot CLI, Cursor, OpenAI Codex CLI, Gemini CLI and Windsurf. Narrow it with --agent cursor,codex. discover inventories MCP servers and risky-looking config without printing secret values.

Install in one command. No account needed.

Coding-agent hook · Python · macOS/Linux
# Python 3.10+ (macOS: brew install python). Its own venv; the hook runs from it.
python3 -m venv ~/.xtrom/venv
~/.xtrom/venv/bin/pip install xtrom
~/.xtrom/venv/bin/xtrom install

Decisions are made on your machine and nothing is sent anywhere. Then xtrom log shows what it stopped and xtrom status what's protected (the install prints the exact command for your setup). Same CLI either way: add --agent claude-code,cursor, --project or --monitor; discover and uninstall manage it. To report to your team's console, run xtrom connect --url https://api.xtrom.ai --token-stdin and paste the token from Govern › Connect at the hidden prompt (it never touches argv or shell history). Air-gapped or pinned: your console serves the same builds with checksums at console.xtrom.ai/pkgs/ (pip checks each wheel against them; npm: npx -y https://console.xtrom.ai/pkgs/npm/xtrom-sdk-latest.tgz install).

Supported coding agents
AgentEnforcementRisky call that needs a humanConfig written
Claude CodeBefore and after each tool callAgent pauses and asks you~/.claude/settings.json
GitHub Copilot CLIBefore and after each tool callAgent pauses and asks you~/.copilot/hooks/xtrom.json
CursorBefore and after each tool callBlocked (Cursor can't pause a hook)~/.cursor/hooks.json
OpenAI Codex CLIBefore and after each tool callBlocked (Codex can't pause a hook)~/.codex/hooks.json
Gemini CLIBefore and after each tool callBlocked (Gemini CLI can't pause a hook)~/.gemini/settings.json
WindsurfBefore and after each tool callBlocked (Windsurf can't pause a hook)~/.codeium/windsurf/hooks.json

What it is

A guardrail inside your coding agent that judges each tool call the agent reports to its before-tool and after-tool hooks.

What it is not

Not a sandbox. Pair it with your agent's sandboxing and permission rules for isolation.

Failure mode

The launcher exits 2 if node/Python disappears or the hook crashes, so the agent blocks the call instead of running it unchecked. Where an agent can't pause for approval (Cursor, Codex, Gemini CLI, Windsurf), Xtrom blocks instead of asking.

Local eventXtrom behavior
WebFetch/WebSearch, MCP tool output, curl or gh outputMarks the session context untrusted.
Write to ~/.xtromDenied: tamper protection for Xtrom config, state and runtime.
Change any coding agent's hook settingsAsks before changing hooks or permissions.
After untrusted input: git push, rm -rf, MCP writes, arbitrary shellAsks unless recognized as local dev work. Edits, tests, builds and read-only commands stay quiet.
Reporting credentialsStored mode 0600 in ~/.xtrom/local/config.json; never exported into the shell profile. HTTPS required except localhost.

03Your agents in-process

Wrap tools with the SDK and start in monitor mode.

The SDK runs inside your process and sends metadata-only decision telemetry when you provide a control-plane URL and token.

Python 3.10+

On a Mac, the built-in python3 is 3.9 and pip will refuse the install. Use a newer Python (for example brew install python) in a virtual environment.

Install + Session
pip install xtrom-sdk

from xtrom_sdk import Session
s = Session(
    "my-agent",
    mode="monitor",
    control_plane_url="https://api.xtrom.ai",
    token="<from Connect>",
)

@s.guard(source=True, origin="web")
def http_fetch(url): ...

@s.guard()
def send_email(to, body): ...

TypeScript / Node

Install + Session
npm install @xtrom-ai/sdk

import { Session } from "@xtrom-ai/sdk";

const s = new Session("svc-support-agent", {
  mode: "monitor",
  controlPlaneUrl: "https://api.xtrom.ai",
  token: "<from Connect>",
});

const readPage = s.guard("http_fetch", async ({ url }) =>
  (await fetch(url)).text(), { source: true, origin: "web" });

04Gateway in your VPC

Put Xtrom inline in front of MCP and HTTP tools.

The gateway is a Go data-plane firewall for Kubernetes or AWS deployments. It uses workload identity—IRSA, GKE Workload Identity, Azure Workload Identity or Vault—rather than stored long-lived cloud credentials.

Helm chart for any Kubernetes

Built for EKS, AKS, GKE or any Kubernetes. We share the chart during onboarding; the enrollment token comes from Connect with the gateway kind, and the signing key from /v1/signing-keys. Each agent calls the gateway with its own token, and the replicas share session state through an encrypted Redis-compatible store you provide. The AWS Terraform/OpenTofu module ships and is plan-validated in CI; the first live apply happens with you at onboarding. Azure and GCP runs are pending a partner.

Gateway chart
# Secrets: callers' token hashes, and the store the replicas share sessions through
kubectl create namespace xtrom
kubectl -n xtrom create secret generic gw-tokens --from-file=tokens=./caller-token-hashes
kubectl -n xtrom create secret generic gw-sessions \
  --from-literal=url="rediss://<store host>:6379" \
  --from-literal=key="$(openssl rand -base64 32)"

helm install xtrom ./xtrom-gateway -n xtrom \
  --set controlPlane.endpoint=https://api.xtrom.ai \
  --set controlPlane.agent=<agent> \
  --set-file controlPlane.policyVerifyKey=./xtrom-signing-key.pem \
  --set-string controlPlane.enrollmentToken=<gateway token> \
  --set inboundAuth.existingSecret=gw-tokens \
  --set sessionStore.existingSecret=gw-sessions \
  --set enforcement.mode=monitor

AWS module for your VPC

One Terraform / OpenTofu apply in your AWS account runs the gateway on ECS Fargate in your existing VPC. It uses an IAM role instead of stored keys, private VPC endpoints for AWS services, and outbound HTTPS only. With two or more tasks it also creates a private, TLS-only session store (ElastiCache Serverless for Valkey) that only the gateway can reach. Audit can stay in your own Object Lock bucket.

Plan, review, apply
# Module and variables provided at onboarding
tofu init
tofu plan  -out=xtrom.plan   # review every resource first
tofu apply xtrom.plan

05Employees in the browser

Catch secrets before they reach a chatbot.

Agents aren't the only risk. A managed Chrome/Edge extension governs what your people paste into ChatGPT, Claude, Gemini, Copilot and 30+ other AI services — the human-facing counterpart to the coding-agent hook. Force-installed by your MDM; nothing to build.

What it checks

Prompts on send, pastes, and text uploads — plus secret-shaped filenames like .env or id_rsa — are scanned in the page for secrets, keys, tokens, card numbers, SSNs, IBANs and your own terms, then blocked, warned or allowed by policy. Every AI service an employee opens appears in the console as a web-<service> identity, so shadow AI is inventoried; unsanctioned or blocked sites are stopped at the network layer before they load.

How you deploy it

Create a browser token in Govern › Connect, force-install the extension with ExtensionInstallForcelist through Intune, Jamf or Google Admin, and push the generated policy at 3rdparty/extensions/<id>. It starts in monitor mode — reporting what it would block before anyone is interrupted — and checks in within 15 minutes.

Privacy

Prompt text, file contents and full URLs never leave the page. Only finding categories (e.g. aws_access_key) and verdicts reach Xtrom.

Profiles

Standard governs prompts, paste and uploads. Hardened also blocks files it can't read and all unapproved AI services — pilot it after a monitor baseline.

Coverage

Chrome and Edge (Chromium 116+), in every frame including embedded AI widgets. Dragged text is gated like a paste.

06Verify in four checks

Prove the install before enforcement.

01 · Health

GET /healthz

Gateway or runtime health returns ok.

02 · Block

Known payload

Send an indirect-injection fixture and confirm Block with reason ifc.untrusted_to_sink: untrusted data tried to reach a sensitive action.

03 · Audit

Decision stream

Confirm the decision appears in the live decisions stream and audit trail.

04 · Invariant

0 standing secrets

Confirm standing_secrets == 0 in Inventory when agents use just-in-time credentials.

07Honest status

What works today, what shipped, what is pending.

SurfaceStatusNotes
Python SDKWorks todayPyPI xtrom-sdk (or your console's /pkgs/), Python 3.10+, in-process Session, local coding-agent hook CLI.
TypeScript SDKWorks todaynpm @xtrom-ai/sdk (or your console's /pkgs/), in-process Session, npx coding-agent hook installer.
Coding-agent local hookWorks todayClaude Code, Copilot CLI, Cursor, Codex, Gemini CLI, Windsurf; fails closed if the runtime is missing.
Gateway Helm chartShippedFor any Kubernetes; plan-validated in CI. First live apply at onboarding; Azure/GCP pending a partner.
AWS VPC moduleReady · not yet appliedTerraform / OpenTofu module for the gateway in your account; CI-validated, first live apply at onboarding.
Local evalGuided onlyAvailable when enabled for your evaluation; the public quickstart starts with SDKs, the coding-agent hook, or the gateway.

Design partners · first cohort

Start observe-only. Prove the boundary before it blocks.

  • Free 60-day design-partner pilot — monitor mode first, no enforcement impact until you’re ready.
  • Rather start now? The self-serve Free trial is 30 days, no card.
  • Direct working channel with the engineers building Xtrom.

Request received.

We’ll reply within one business day to set up a pilot.