Enforce policies before an agent acts.
XTrace is one control plane for every AI tool and agent. Write one security policy in plain language, and XTrace checks each action against it before it runs, across every vendor, then blocks, warns or asks for approval when a rule matches. Every decision lands in a full audit trail.
Find why refunds fail, then clear the duplicate refund records in production.
-
Shell commandAllowed
grep -rn "refund_id" src/ -
File readBlocked · final
.env.productionRule: Block secret file reads · OWASP LLM02
Only a person can lift this block.
- Using the staging config instead.
-
Web fetchAllowed
docs.stripe.com/refunds -
MCP tool callAsk · Platform on-callApproved
prod-db · run_queryDELETE FROM refunds WHERE duplicate = trueRule: Production database changes need an approver.
- Removed 214 duplicate refund records. Refunds go through again.
Discovery
Start from every AI tool in use.
XTrace keeps an inventory of the AI tools, agents and MCP servers your teams use, including ones IT hasn’t approved, so your policy starts from what’s really running.
AI tools
Chat assistants and the other AI apps your teams use.
Agents
Coding agents such as Claude Code, Codex and Cursor, and the agents your teams build.
MCP servers
Which MCP servers your agents connect to.
The gap
Risk starts when an agent acts. That’s where the check belongs.
Watching model traffic shows what an agent asked for. The risk sits in what it does next: the commands it runs, the files and data it touches and the tools it calls.
XTrace checks each of those actions against your policy before it runs, in every AI tool and agent your teams use.
Run time
Every action is checked before it runs.
Each rule sets in advance what happens to a matching action: block, warn or ask for approval. Everything else runs as usual, and every decision is logged.
Blocked
Block
The agent stops and gets the reason and the allowed path. Make a block final, and only a person can lift it.
Warned
Warn
The action goes ahead with a warning, and the warning is logged. Use it for lower-stakes rules.
Ask
Ask for approval
The action waits for the approver you name. Approved, it runs. Declined, the agent takes another route.
- Action
- Shell command
terraform apply -target=module.prod_db - Rule
- Production infrastructure changes need an approver Ask for approvalOWASP LLM06
- Approver
- Platform on-call
A production change pauses for a platform approver. The agent waits, then carries on with the answer.
Coverage
One policy for every AI tool and agent.
The same rules run in every AI tool and agent your teams use, from Claude Code, Codex and Cursor to chat assistants and the agents you build. Each rule can be as precise as your policy: a command and its flags, a path, an MCP tool and its arguments, a website, a subagent or the words in a prompt.
-
Shell command
Block force-pushes to protected branches
git push --force · -f → main, release/*Every repository Block · final -
File edit
Only Platform changes CI workflows
.github/workflows/**Every team except Platform Block -
MCP tool call
Production deletes wait for an approver
prod-db · run_query · DELETE, DROP, TRUNCATEPayments and Data teams Ask · Platform on-call -
Web fetch and search
Warn on sites outside the approved list
docs.python.org · *.github.com · pkg.go.devEvery repository Warn -
Subagent launch
Subagents in production repositories wait for a person
any subagent → infra-live, payments-apiTwo repositories Ask · Security on-call -
Prompt
Keep security checks on
“skip the security review” · “--no-verify”Claude Code and Codex Block
Same rules, live in
- Claude CodeLive
- CodexLive
- CursorLive
- Chat assistantsLive
- Internal agentsLive
Six rules from one security team, live in every AI tool and agent your teams use. Each action is checked against them before it runs.
Policy
Write it in plain language. Ship it as a rule.
Describe the policy as you would to a new hire: when this happens, do that, because of this. XTrace drafts the check behind it and replays it against your teams’ past sessions, so you see what it would have caught before it goes live.
Write policies in the XTrace app, or from inside a coding-agent session.
Choose how each rule acts: block, final block, warn or ask for approval.
XTrace proposes the OWASP LLM Top 10 and MITRE ATLAS items each rule addresses. Your team confirms them, and the tags carry into every report.
See how often each rule acts, by team and agent.
Policy, in plain language
When an agent tries to read environment files, private keys or cloud credentials, block it, because secrets must never enter an agent’s context.
Written by Security · in the XTrace app
- Applies to
- File readsShell commands
- Matches
.env* · *.pem · *.key · ~/.aws/credentials- Mode
- Block · final
- Frameworks
- OWASP LLM02ATLAS · Credential AccessConfirmed by Security
- Tested
- Replayed on 30 days of sessions · would have acted 14 times in 6 teams
One sentence becomes a final block on secret files, tagged to OWASP and MITRE ATLAS and tested on 30 days of past sessions.
Security & platform
One set of rules for security and platform teams.
The same plain-language rules carry security policy and engineering standards, so both reach every AI tool and agent the same way.
Security teams
Hold the line on risk.
Block reads of secret files, keys and credentials.
Stop destructive commands before they run.
Allow only the MCP servers and tools you approve.
Limit the sites an agent can reach.
Require an approver for production changes.
Platform teams
Keep agents on your standards.
Protect main and release branches.
Run the tests before an agent proposes a fix.
Suggest the right model for each task, and keep sessions within budget.
Take a fix found in one team to every team.
Squash the cleanup commits and get them onto main.
Squashed into one commit. Pushing to main.
git push --force origin mainBlockedForce-pushing to main isn’t allowed in this repository.
Changes reach main through a reviewed pull request. Push the branch and open one instead.
git push origin cleanupRule set by your platform teamUnderstood. Pushing the branch and opening a pull request.
git push origin cleanup && gh pr create --fillDoneA platform rule at work: a force-push to main is blocked, and the agent opens a pull request instead.
Always current
A ruleset that updates as new risks appear.
Written policies cover the risks you can name. When a new risky pattern or attack surface shows up in live sessions, XTrace turns it into a tested rule and rolls it out to every AI tool and agent right away, so your teams are protected without waiting for an incident.
Sessions by team · 14 days
- A new risk shows upA risky pattern appears in one team’s live sessions and starts to spread to others.
- XTrace writes and tests the ruleIt replays the rule on past sessions first. Review is optional, and security teams can require it.
- Every AI tool and agent gets it right awayXTrace checks each matching action before it runs and logs every stop. Then it looks for the next risk.
A risky pattern found in one team’s sessions becomes a tested rule in every team’s AI tools and agents, and matching actions are stopped before they run. Team-level only.
Who approves new rules
New rules go live automatically by default, and each one shows where it came from. Turn on required review, and every new rule waits for an approver on your security team.
Evidence
A full audit trail for your SIEM and your auditors.
Every decision, from blocks and warnings to approvals, is written to a signed, tamper-evident log, and the same records become evidence, control by control.
A decision log you can stand behind.
Each record ties the decision to its rule, the tool or agent that acted, where it acted and the team. Set how long records are kept, and stream them to your SIEM.
Evidence per control.
For NIST AI RMF, the EU AI Act and ISO 42001, XTrace reports which rules support each control and how often they acted. Controls that rest on your own processes, such as risk assessments and documentation, are listed for your team to attest.
Getting started
We set it up. Every AI tool and agent follows your policy from the first session.
We connect
We find the AI tools and agents your teams use, connect XTrace to them and stream the audit trail to your SIEM.
Your policies become rules
The security policies you already have become tested rules, checked against past sessions before they go live.
A full audit trail, ready
Every decision streams to your SIEM, and evidence reports are ready in the app or on your schedule.
Add-on
Move faster with expert help.
Add policy workshops, hands-on rule design and support for your security and platform teams.
Trust
Certifications and controls for your security review.
Encrypted in transit with TLS and at rest.
Single sign-on for your teams.
Hosted by us, self-hosted or in your VPC.
Team-level reporting by default, configurable to your policies.
Questions
Common questions
Every AI tool and agent your teams use, from every vendor, from coding agents such as Claude Code, Codex and Cursor to chat assistants, internal agents and other AI tools. One policy covers all of them, and the inventory shows what’s in use, including tools IT hasn’t approved.
Say yes to AI agents, with the control to back it.
Bring one policy your security team cares about. We’ll write it as a rule with you, show it enforced before an agent acts and walk you through the audit trail behind it.


