AI features
The Platform’s AI features send masked data to a model you choose and show the answer. Today that is explanations (of a message in the workbench, and of a failed run), scenario generation (a scenario file written from a description, for review in the editor), failure triage (the likely causes of a cluster of failed runs, from the run, the scenario, the host’s rules and what changed) and the assistant (a conversation on every page that reads and changes the workspace through the Platform’s tools, as the person, with every change approved first; see the assistant walkthrough). The features are off until an admin allows them, every one of them can be switched per install and per workspace, each workspace picks its model among the ones the install offers, usage is bounded per person, per workspace and per install, and every request is recorded with what was sent.
The models
Section titled “The models”The assistant service names the install’s default model with two settings on the server, and may offer more:
| Setting | What it is |
|---|---|
ASSISTANT_PROVIDER |
anthropic, openai, ollama (a model on your own network), stub (a fixed sentence, to try the switches and the audit without a key), or off |
ASSISTANT_MODEL |
The provider’s model name; empty takes the provider’s default |
ASSISTANT_MODELS |
More models to offer, as provider:model entries separated by commas, such as anthropic:claude-haiku-4-5-20251001, ollama:llama3.2 |
ANTHROPIC_API_KEY, OPENAI_API_KEY, OLLAMA_HOST |
The providers’ own variables. Keys stay on the server: they never pass through the browser or a database |
In the Helm chart the same settings are assistant.provider, assistant.model, assistant.models and the secrets anthropicApiKey and openaiApiKey. A model whose key isn’t set is still listed on the AI page, marked as not usable and why, so a missing key is found there rather than by a failed request.
The switches
Section titled “The switches”Three switches decide whether a feature runs for a request, and the status says which one stops it:
- The data policy’s switch, in Settings under the data policy, for install admins: whether masked data may go to a model at all. Off on a fresh install.
- The install’s switches, one per feature, on the AI page for install admins: a feature off here is off for everyone.
- The workspace’s switches, one per feature, on the AI page for the workspace’s admins: a feature off here is off for the workspace’s members. A workspace can’t turn on what the install has off.
The install’s admins also choose the install’s default model there; a workspace’s admins choose their workspace’s among the models the install offers. A choice that is no longer offered falls back to the install’s, and the page says so.
The assistant needs a model that can call tools, which the built-in providers all can; a custom provider that can’t is offered for explanations and generation, and the assistant says it can’t run on it. ASSISTANT_CHAT_STEPS (8 by default) caps how many times one turn of a conversation goes to the model: a question answered through tools takes two or three; the cap stops a run of calls from running up the bill, and the drawer says when a turn reached it.
The limits
Section titled “The limits”The server’s limits bound everyone and are set beside the model: ASSISTANT_USER_PER_MINUTE (3 by default), ASSISTANT_USER_DAILY_LIMIT, ASSISTANT_IP_DAILY_LIMIT, ASSISTANT_DOMAIN_DAILY_LIMIT (one company’s accounts together) and ASSISTANT_DAILY_LIMIT (the whole install). Empty means no limit. An install admin adds two per workspace, with its other quotas on the Workspaces page: AI requests a day for the workspace, and a day for each of its members. A refused request counts against nothing, and the person is told which limit refused it and that the day’s limits reset at 00:00 UTC.
The audit
Section titled “The audit”Every request is recorded in the assistant’s own database, whatever came of it: when, who and from which address, the workspace, the feature, the provider and model, the system prompt, what went to the model exactly as sent (masked: card numbers keep their first six and last four digits, track data and PIN blocks are replaced, long values are clipped), what came back, the tokens in and out, how long it took, and whether it was answered, refused (by a switch or a limit, named) or failed (the model didn’t answer). A request made while the install has no model at all isn’t recorded: nothing could have gone anywhere.
Install admins read the whole audit on the AI page; a workspace’s admins read their workspace’s. Both can narrow it by period, feature, person and outcome, see what the period adds up to by feature, person, outcome and workspace, open one request to read what went and what came back, and take the period as JSON Lines, every row complete, for a review or a collector. Over the API, the same is GET /api/assistant/audit, GET /api/assistant/audit/{id} and GET /api/assistant/audit.jsonl, with the same filters.
Rows older than ASSISTANT_AUDIT_DAYS (400 by default; assistant.auditDays in the chart) are deleted once a day. Changes to the policies are recorded in the same database for good, with the policy before and after and who made the change.
What the services keep
Section titled “What the services keep”The assistant’s database, assistant, holds the policies, their changes and the audit. It’s created by the service when the server doesn’t have it, migrated when the service starts, and in the backup set with the other databases. The usage counters live on the message bus and expire on their own after two days.