What it can read, and as whom
The assistant answers as you. Its only tools are the read tools of the MCP server: search and get findings, explain a risk score, list and get assets, posture, compliance status, and the check catalogue. Every lookup goes into the API with your own session, so it sees exactly what you can see in the organization you are signed in to, under your role, and nothing else. A lookup that would reach another organization is refused. It changes nothing. The write tools (suppress a finding, set an asset’s owner, open a fix pull request) are not available to it. When an action clearly follows, it can suggest one; the suggestion is a link to the page where you review it and confirm it yourself, through the same screens and permission checks as always. A suggested code change is shown as a diff you can copy, or take into the fix pull request flow from the finding’s Fix section. Every answer lists the findings, assets and checks it read as links, and is marked AI-generated: verify before acting. Answers can be wrong.What is sent to Anthropic, and what is not
The model is Anthropic’s Claude, through the Anthropic API: Claude Opus 5.5 on paid plans and Claude Haiku 5.5 on Free, using TRUSTIVAN’s API key, or your organization’s own key if an admin added one (below). For each question, Anthropic receives:- your question, and what you were looking at (a finding, asset, control or check id);
- the fixed instructions the assistant runs under;
- the results of the lookups it makes to answer, which are the same fields the MCP server returns: for example a finding’s identifier, title, description, severity, status, package and location, an asset’s name and open-finding counts, posture counts and compliance status.
[redacted] before it is sent); members, the audit trail,
billing, or any organization’s data other than yours.
Text that came from scanned code, images, cloud accounts or advisories is
passed to the model labelled as untrusted data, and the assistant is told
never to follow instructions in it. Even if it did, it has no tool that
changes anything.
A dynamic scan report written with
AI sends the scan’s records instead of a question: counts, coverage and
finding titles, locations and fixes, but no evidence or request and response
excerpts.
Anthropic’s handling of API data is governed by the operator’s agreement with
Anthropic. If your organization cannot send this data to a model provider,
leave Ask AI off.
Turning it on
Three things must all be true:- The deployment has a key. The operator sets
ANTHROPIC_API_KEY(see Environment). Without one, every Ask AI button is disabled and says so; nothing is ever sent. - Your plan includes it. The
ai_assistantplan feature. - An admin turns it on for the organization, in Settings →
Organization → AI assistant. Turning it on or off is recorded in the audit
trail as
assistant.settings_updated.
The audit trail
Every question is recorded asassistant.asked, with who asked, what it was
about, which tools were used, how many tokens it cost and whether it finished.
By default the question itself is kept only as a SHA-256 digest and its first
80 characters. An admin can choose to keep each question whole (the second
switch in the settings card).
AI credits
On TRUSTIVAN’s key, each question spends AI credits from your plan’s monthly allowance: Free 300, Team 3,000, Business 12,000, Enterprise 50,000 (more by agreement). One credit is US$0.01 of the model’s list price, and a question is priced from the tokens it actually used, each kind at its own price (fresh input, cached input read, cached input written, output), so a short question costs a few credits and a long investigation more. The allowance is per calendar month in UTC, resets on the 1st and does not roll over.- Alerts. The organization’s owners are emailed at 80% and at 100%, and the Ask AI panel and Settings > Billing and usage show the same warning.
- At 100% Ask AI stops until the 1st. A question already running finishes.
- Overage (Team and above): an admin can let questions continue past the allowance at US$0.02 a credit, up to a monthly cap in credits they set (twice the allowance by default). At the cap Ask AI stops again. Overage credits are billed in arrears: on a Stripe deployment they are reported to Stripe every hour and appear on the next invoice. Only credits spent with overage switched on count, and never more than the cap: the question that crosses the allowance while overage is off, or crosses the cap, finishes without its excess being billed.
Your own Anthropic key (BYOK)
On every paid plan (Team, Business and Enterprise, and the standalone Certificates and Exposure plans; not Free) an owner or admin can add the organization’s own Anthropic API key under Settings > Organization > AI assistant. There is no TRUSTIVAN fee for this, and questions on your key spend no AI credits: Anthropic bills you directly. Each question is still recorded in the usage ledger, marked as your key, so you can reconcile it with your Anthropic invoice.- Checked before it is saved. One read-only Anthropic call; a key Anthropic refuses is not stored.
- Encrypted at rest with a key derived for this purpose only, and bound to your organization: copied to another organization it does not open.
- Write-only. No page, API response, log, audit entry or support tool ever
shows it again; you see
sk-ant-…with the last four characters and when it was checked and last used. To change it, paste a new one. - Audited as
assistant.byok.set,.replaced,.revokedand.verify_failed, by fingerprint, never the key. - No silent fallback. If Anthropic refuses your key later, the question
fails with “Anthropic refused your organization’s own API key”, and is never
answered with TRUSTIVAN’s key instead. If your plan stops including BYOK, Ask
AI answers
402naming the plans that include it, until an admin revokes the key. - Revoking deletes the encrypted key; the next question uses your plan’s credits. Revoke it at Anthropic too if it may have leaked.
- The API address stays the operator’s: BYOK cannot point TRUSTIVAN at another host.
Limits
- A per-person rate (
ASSISTANT_REQUESTS_PER_MINUTE, 10 unless changed), on either key. - One answer is bounded: at most 2,000 characters of question, six rounds of lookups, and ten minutes.
- A deployment safety ceiling (
ASSISTANT_MONTHLY_TOKENS, per organization per month, every token kind, TRUSTIVAN’s key only).0turns Ask AI off on TRUSTIVAN’s key for every organization;-1removes it. A self-hosted install without plans relies on this alone. - Only a person signed in to the console can ask. An API key cannot; machines use the MCP server instead, which spends no AI credits.
Ask AI on the docs site
docs.trustivan.com has its own Ask AI, beside the search box (and in the search dialog on a phone). It is separate from the console’s assistant: nobody signs in, it reads no organization’s data, and it answers only from the published documentation.- How it picks its sources. The docs’ own search runs on your question and its top five pages are sent to the API as paths, never as text. The API fetches each page’s Markdown copy from the docs site itself (up to 32 KB a page, 96 KB in all, no redirects followed) and gives the model only those pages and your question.
- What it answers. Claude Haiku 4.5 is told to use only those pages, cite each claim as
[1],[2], and to say the docs do not answer when they do not, which the widget shows with a link to support. It refuses questions that are not about TRUSTIVAN. An answer that cites none of its pages is treated as “not in the docs”. Answers are AI-generated and can be wrong; check the cited page. - What goes to Anthropic. Your question (at most 500 characters) and the text of those public pages. Nothing else: no cookie, account or address.
- Limits. 10 questions per client address per hour and 500 a day for the whole deployment,
both changeable on the staff console’s setup page
without a restart. An answer is at most 700 output tokens. A refused question gets
429withRetry-After. - Key. It uses the platform Anthropic key (
ANTHROPIC_API_KEY). With none set the widget does not appear.
POST /api/v1/docs/ask (API reference, under System);
its CORS allows only the docs origin (DOCS_URL) and no credentials.