Team: policies and audit export
Team adds two features to Pro for organisations that need to control what is sent from their machines: policies that apply the same in the app, in rt and in the MCP server, and the audit export that outputs the local log of agent calls and refused requests as a file. Both work locally; there is no upload.
- Edition
- from Team
- Policies
- set by the organisation's admins, apply in the app,
rt send,rt runandrt mcp - Audit export
rt audit exportor palette Export audit log…- Refusal
- exit code 5 in
rt sendandrt run, nothing is sent - Status
- built, not released yet
How the policies reach a machine
There is no account and no login dialog. An admin of the organisation assigns a seat to a person; the person receives a personal Team licence key by mail and enters it in the app as with Pro (Licence and editions). Activation delivers a signed membership token together with the licence; the organisation’s policies are in it. For Team the app renews the licence daily as soon as it is online, so a withdrawn seat takes effect soon: without a seat, no Team features and no policies apply any more. A Team licence without an assigned person unlocks only what Pro unlocks. For machines without internet access there are a licence file and self-hosting; they are in the works.
Policies
A policy restricts what may be sent. Rules can only restrict, never allow what would be forbidden otherwise; if several sources apply, the union applies. The core’s send guard asks them before every send, scripts included, in the desktop app, the web app, rt send, rt run and rt mcp.
| Rule | Effect |
|---|---|
hosts.blocked | Hosts no surface may send to, scripts included. Patterns with *, case-insensitive, each for the whole host: *.prod.acme.example does not match prod.acme.example. |
agents.access | The most an agent may do anywhere: none, read or write (default). |
agents.production_writes | refuse: writing agent requests against production are not sent, even if the collection’s agent rules would allow them with approval. allow is the default. |
production | What counts as production besides the collection’s own marking: environment names and URL hosts, with * as a wildcard (such as PRD, *-prod, *.prod.acme.example). |
A refusal is a clear error and sends nothing:
rt sendandrt runreportblockedwith rule and reason and end with exit code 5.rt mcpgives the agent an error such as “the organisation's policy forbids agents to write to production; nothing was sent”.- Where a rule names only agents, it restricts only agents: a person who sends the same request themselves is not refused by
agents.production_writes.

Audit log and export
Every refusal by a policy writes a line to the local policy log in the data folder (policy/audit.jsonl), without secret values, header values and bodies; the URL is masked. In addition the MCP server keeps the audit log of agent calls (agents/audit.jsonl, AI agents and MCP server). The export merges both into one list, oldest line first. A call that an agent made through rt mcp and that a policy refused is in both logs; the source column says where a line comes from (agent or policy).
rt audit export --format csv --since 2026-11-01 --until 2026-12-01 --out audit.csv
rt audit export # JSON Lines to standard output
--format takes jsonl (default) or csv; --since is the first moment to include, --until the first moment not included any more (2026-11-22 or 2026-11-22T10:30:00Z); --out writes to a file. In the app there are the palette entries Export audit log… (CSV) and Export audit log… (JSON Lines). The columns are ts, source, caller, tool, collection, request_path, environment, method, url, outcome, rule and detail. The export stays local; there is no upload to us. Without a Team licence rt audit is an unknown command.

Not included yet
See also
- Features at a glance Features · team
- Docs Licence and editions
- Docs AI agents and MCP server
- Docs Secrets and privacy
- Docs rt command line
- Sources Team: policies and audit export1