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).
01Pick your path
Four deployment paths, one enforcement model.
Laptop
Coding agent hook
Claude Code, Copilot CLI, Cursor, Codex, Gemini CLI and Windsurf, through each agent's own hooks. Guardrail, not a sandbox.
Application
Your agents in-process
Wrap Python or TypeScript tools with Session. Start in monitor mode, report scrubbed metadata to the console.
VPC / Kubernetes
Gateway in your VPC
Inline in front of MCP/HTTP tools with workload identity. No stored cloud keys.
Employee browsers
Browser extension
A managed Chrome/Edge extension that scans prompts, pastes and uploads to ChatGPT, Claude, Copilot and 30+ AI sites for secrets. Monitor first.
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.
# 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
# PowerShell, Python 3.10+. No 'py' launcher? swap in 'python'.
py -m venv "$HOME\.xtrom\venv"
& "$HOME\.xtrom\venv\Scripts\python" -m pip install xtrom
& "$HOME\.xtrom\venv\Scripts\python" -m xtrom_sdk install
npx -y @xtrom-ai/sdk 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).
| Agent | Enforcement | Risky call that needs a human | Config written |
|---|---|---|---|
| Claude Code | Before and after each tool call | Agent pauses and asks you | ~/.claude/settings.json |
| GitHub Copilot CLI | Before and after each tool call | Agent pauses and asks you | ~/.copilot/hooks/xtrom.json |
| Cursor | Before and after each tool call | Blocked (Cursor can't pause a hook) | ~/.cursor/hooks.json |
| OpenAI Codex CLI | Before and after each tool call | Blocked (Codex can't pause a hook) | ~/.codex/hooks.json |
| Gemini CLI | Before and after each tool call | Blocked (Gemini CLI can't pause a hook) | ~/.gemini/settings.json |
| Windsurf | Before and after each tool call | Blocked (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 event | Xtrom behavior |
|---|---|
WebFetch/WebSearch, MCP tool output, curl or gh output | Marks the session context untrusted. |
Write to ~/.xtrom | Denied: tamper protection for Xtrom config, state and runtime. |
| Change any coding agent's hook settings | Asks before changing hooks or permissions. |
After untrusted input: git push, rm -rf, MCP writes, arbitrary shell | Asks unless recognized as local dev work. Edits, tests, builds and read-only commands stay quiet. |
| Reporting credentials | Stored 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.
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
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.
# 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.
# 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.
| Surface | Status | Notes |
|---|---|---|
| Python SDK | Works today | PyPI xtrom-sdk (or your console's /pkgs/), Python 3.10+, in-process Session, local coding-agent hook CLI. |
| TypeScript SDK | Works today | npm @xtrom-ai/sdk (or your console's /pkgs/), in-process Session, npx coding-agent hook installer. |
| Coding-agent local hook | Works today | Claude Code, Copilot CLI, Cursor, Codex, Gemini CLI, Windsurf; fails closed if the runtime is missing. |
| Gateway Helm chart | Shipped | For any Kubernetes; plan-validated in CI. First live apply at onboarding; Azure/GCP pending a partner. |
| AWS VPC module | Ready · not yet applied | Terraform / OpenTofu module for the gateway in your account; CI-validated, first live apply at onboarding. |
| Local eval | Guided only | Available 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.