Skip to content
Radient LogoRadient Documentation

Radient Guard

Radient Guard gives the admins of a Radient Team organization stats about how agents are working, from the members who choose to share them: how often guardrails allowed, warned or blocked something, how long tasks take in ranges, how many review rounds a change needed, and whether recommended setup checks are on.

Every value is one entry from a short, fixed list, a day or week, or a random id. Guard never receives file paths, commands, prompts, code, model output or tool arguments, and the API refuses a request that tries to carry them.

One rule holds across every integration: a person says yes, on their own computer, before anything is sent. An organization turning Guard on collects nothing by itself, and nothing leaves a computer until its member has agreed there.

Guard is rolling out to Radient Team organizations and is not switched on yet. Until it is, every /v1/guard/… route answers 404 with {"code":"guard_not_available","error":"Guard is not available."}. Treat that answer as "there is no Guard here": show no prompt, send nothing and do not retry in a loop. Once Guard is available, an organization still has to turn it on before any member is asked.

#How it works

Four parties are involved, and each has exactly one job:

WhoWhat they do
Organization adminTurns Guard on for the organization in the Radient console and sets a ceiling: the most any member can be asked to share. An admin can narrow the ceiling or turn Guard off at any time.
MemberAnswers one prompt, shown by the harness on their own computer, for each organization, computer and settings revision. A member can stop sharing at any time.
HarnessThe program that runs agents on the member's computer: Local Operator, or your own. It shows the prompt, holds the computer's signing key, collects the values and sends them in the background.
RadientChecks every request against the member's current consent and the organization's current ceiling, stores only what was agreed, and shows admins totals.

The harness is the only part that touches the member's computer, so the harness is where consent has to be real. That is why Guard is a documented API and not a library: anything that can show a prompt, keep a key and make HTTPS requests can take part.

#Choose an integration

Integrate withYou runSends stats?
Built inLocal Operator, arriving with GuardYes
Direct APIYour own harness or software factoryYes, every record family
MCP adapterChatGPT Desktop, Claude Desktop, Claude Code, Codex or AntigravityNo. Status, a drafted report and a console link only

#Local Operator

Nothing to build. Members review the prompt in Local Operator's /guard screen or its desktop approvals panel. Consent, key handling, background sending, the status indicator and stopping are all part of the product.

#Your own harness or software factory

Use the Direct API. You show your own consent prompt, hold one Ed25519 key per computer and send signed batches. The quickstart has a complete client in TypeScript (about 145 lines) and in Python (about 170 lines). You can send every record family: guardrail results, task time, review rounds, setup checks and reports.

#ChatGPT Desktop, Claude Desktop, Claude Code, Codex or Antigravity

Use the MCP adapter once the hosted server is available. It is a thin connection that gives a person Guard's status, a drafted report they confirm elsewhere, and a link that opens Guard in the console. The MCP adapter never collects, consumes or sends Guard stats. It cannot grant consent and it returns no figures.

#Which one do I need?

  • You want your agents' numbers counted in the organization's Guard stats. Use Local Operator or the Direct API. Only a harness that holds a computer's signing key and has shown the member a consent prompt can send stats.
  • You want people in a chat or coding assistant to see Guard's state, or to flag a problem. Use the MCP adapter. It is deliberately thin: it can read status, draft a report that the member must still confirm in the harness that holds their key, and open the console. It cannot grant consent, and it never returns figures.
  • You build a software factory around tools such as Claude Code or Codex. Those tools do not send Guard stats themselves, and an MCP connection will not make them. Your factory is the harness: it records its own guardrail decisions, task outcomes and review cycles, and sends them through the Direct API under the same consent rules.

#What can be shared

A member's consent names a set of scopes. Five of them map to the record families a harness sends:

ScopeWhat is shared, in plain terms
decisionsGuardrail results: whether each check allowed, warned or blocked, the kind of rule, and the kind of tool.
task_timeHow long a finished task took, in ranges such as 5 to 15 minutes.
review_cyclesHow many review rounds a change took, and whether it was merged or closed.
postureSetup checks: whether recommended settings are on. Each computer randomises its answers before they leave, so admins see estimates, not anyone's real answer.
reportsReports a member chooses to send, such as a suspected exposed key or too much blocking.

The full lists of values are in the wire reference. What is never sent, and what members and admins can do, is on Privacy and consent.

#Authentication

Guard routes take the member's Radient user token, the access token issued when that member signs in with their Radient account, in the Authorization: Bearer header. An application API key does not work here: Guard acts for a person, not for an application. See Authentication for how user tokens are issued.

Requests that send data also carry a signature made with the computer's own key. The token says who the member is; the signature says the request came from the computer they agreed on.

#Next steps

  1. Direct API quickstart: check status, record a consent, send a signed batch.
  2. Wire reference: every record, value, window, limit and error code.
  3. Privacy and consent: what the member agrees to, and what your harness must honour.
  4. Conformance checklist: self-test your harness before you ship it.
  5. MCP adapter: the thin connection for chat and coding assistants.