Argy AI in the portal: costs, policies, RAG and audit
Cost cockpit, LLM Gateway filtering policies and quotas, RAG and GraphRAG documents, quarantine, contradictions, audit reports and ROI tracking.
The dedicated section of the portal is where you steer the tenant's language models: consumption and costs, policies enforced by the LLM Gateway, documents of the enterprise RAG, audit reports and ROI estimation. It is written for administrators and compliance officers.
Labels quoted here are those of the English interface. A displayed option is not a guarantee that it works end to end for every tenant: availability depends on the plan and on feature flags.
Prerequisites
- A role with access to the Argy AI section: full access for Platform Admin, read-only for Compliance Approver and Viewer, no access for the other roles (matrix in Argy Portal: overview).
- A plan that includes the feature. Otherwise the LLM Gateway and Argy AI tabs show an "upgrade required" screen (see Billing).
- To view filtered contents (inputs and outputs): an administrator or compliance role. Access to unfiltered audit traces maps to the sensitive
llm:read_rawpermission, reserved for administration roles (see Security model).
Tabs of the section
Overview, LLM Gateway, Argy Chat, Argy Code, Policies, RAG documents, Audit Reports and ROI Tracker. A "Simplified" view walks you through three steps (usage and costs, routing quality, adjustments) and then points to the advanced policies.
Cost cockpit (Overview)
The cockpit has an Essential and Advanced toggle.
- Filters: provider, model, user, status (success, error, fallback only) and organization (cost scope).
- Period: billing period, rolling 7, 14 or 30 days, or calendar month, with the time zone displayed.
- Indicators: Argy AI cost, credits, weighted tokens, requests, fallback rate, error rate, p95 latency, errors by provider, gateway SLO, security blocks, protected data (secrets or personal data masked or tokenized) and monthly active users.
- Charts: cost and credit trend, consumption by product (Argy Chat, Argy AI, direct gateway), top models, SLO by provider, performance by model.
- Audit traces: date, client, user, model, latency, RAG, blocked, status and session, with a Live mode (real-time stream) and a browsable session transcript.
- Effective quota: a gauge shows the calculation basis (historical counter or projection), with an end-of-period estimate (credit range, warning of likely overrun).
- Consumption by user and by organization, with direct notification of a user (subject and message) and history.
The same data is reachable through the API (for example GET /v1/ai/cost-summary, GET /v1/ai/cost-trend, GET /v1/ai/usage) with a PAT that has the right permissions; see Platform API and Authentication and tokens.
LLM Gateway tab
This tab shows the activity of the gateway described in LLM Gateway API: weighted tokens, active sessions, violations, blocks and credits.
- Models: allowed models and usage per model (last 14 days or N days); the "Sync models" action reruns model discovery.
- Audit traces filterable by user, organization, client, model, blocked requests only, protected data, neutralised secrets, masked personal data and security blocks.
- CSV exports of usage and audit.
To call the gateway from a client or an agent, use the URL https://llm.argy.cloud/v1 with a PAT (see Authentication and tokens); Argy Code is configured against this same gateway.
Argy Chat and Argy Code tabs
These tabs only show governance telemetry: requests, tokens, sessions, blocked requests, usage per model and recent governed requests. Filtered inputs and outputs are only visible to administrators and compliance officers. The Argy Code tab adds active sessions, violations (security, compliance, policy) and the ability to end a session. See Argy Chat and Argy Code permissions and security.
Policies
The Policies tab has five sub-tabs: Input filters, Output filters, Governance, Quotas and Providers. Every policy change asks for a confirmation. The main settings also appear in Settings, LLM Gateway tab (see Settings and identity).
Input filters
Four filters exist: PII (personal data), secrets, prompt injection and forbidden topics. Each one runs in one of the following modes.
| Mode | Effect |
|---|---|
| Off | The filter is disabled. |
| Mask | Detected content is replaced permanently. |
| Redact (tokenize) | Detected content is replaced by temporary tokens, restored in the response. |
| Block | The request is rejected. |
Additional options:
- character limits on input and output;
- custom regex patterns per category (one per line), optionally generated with the AI assistant, with a reset option;
- built-in security patterns remain active.
Output filters
- Output policy: safe answer (fallback message) or strict block.
- Dangerous content filter.
Governance
| Option | Description |
|---|---|
| Sovereign OCR | Enforced for the whole tenant. |
| Audit content logging | Content (encrypted at rest) or metadata only. |
| Forced automatic routing | Users no longer choose the model. |
| Wellbeing Guard | Time zone, allowed daily window, allowed days, maximum hours per day, warn or block mode. |
Providers
Per-provider activation, allowed model list, default model, enabling or not a model family, cost per 1,000 tokens and status. New models are enabled automatically; you can turn that off. Tenant provider keys are managed in Settings (see Settings and identity).
Quotas
Quotas cap consumption in credits or tokens. Five mechanisms are available.
| Mechanism | Description |
|---|---|
| Add-on per organization | Quota coming from an add-on assigned to an organization (see Billing). |
| Percentage of the global quota | Split between organizations, the total must equal 100%. |
| Fixed quota per organization | A cap specific to each organization. |
| Fixed quota per user | A cap specific to each user. |
| Uniform user quota | The same cap for everyone, with administrators included or excluded. |
You also set a default quota for all users, individual exceptions (search and pagination), an allocation budget per period and the unit (credits or tokens). The hierarchy displayed is: tenant cap, organization cap, user quota. These counters are also exposed by the API, under /v1/billing/*.
RAG documents
The RAG documents tab manages the corpus of the enterprise RAG. Argy Chat also offers project-scoped RAG (see Argy Chat), and the corpus can be queried through the API.
Upload and manage
- Formats: PDF, Markdown, TXT, HTML; up to 10 files per upload.
- Scope: Tenant, Organization or Project, in an existing or new collection.
- List: search by name; filters by status (ready, processing, error), scope, organization, project and collection.
- Actions: download the original, reindex, delete (chunks and embeddings are deleted).
- Statistics: documents, tokens, size, ready documents.
The visibility scope is determined server-side from your identity, never from a client-supplied value; see Security model and RAG API.
GraphRAG
GraphRAG enriches search with a graph of relations between documents. Enabling it asks for a confirmation because the operation is compute-intensive. The parameters are:
| Parameter | Description |
|---|---|
| Extraction schema | Entity classes and relation predicates. |
| Similarity threshold | Matching threshold. |
| Maximum depth | Graph traversal depth. |
| Candidate and degree budgets | Traversal bounds. |
| Disclosure policy | Aggregates only, or authorized metadata. |
Rebuilding the graph is asynchronous. Statuses are: disabled, ready, building. The matching API (/v1/rag/graph/config, /v1/rag/graph/rebuild) is reserved for administrators.
Quarantine
An automatic admission check analyses each document before indexing (invisible characters, abnormal density of directives). A suspicious document is quarantined: no chunk is created until a decision is made.
- Approve: indexing resumes.
- Reject: an irreversible, auditable decision; uploading the same content again puts it back in quarantine.
A reason accompanies the decision. This decision is reserved for platform administrators (POST /v1/rag/documents/{id}/admission-decision on the API side).
Contradictions between documents
Contradiction relations are declared with their provenance and a decision: source or target is authoritative, the target replaces the source, unresolved, or dismissed. This lets you retire or correct outdated content instead of leaving it competing with the current version. The organization order set in your profile only breaks ties between organization contradictions of equal accessibility; it never filters results (see Settings and identity).
Audit Reports
Monthly reports are generated automatically on the first day of each month for the previous period; you can also generate a period manually. The table shows the month, status (ready, generating, pending, failed), number of events, size and date. You can search, refresh and download a report. The API is /v1/ai/audit-reports (permission llm:manage). For platform audit logs (approvals, policies, modules), see Governance and observability.
ROI Tracker
The ROI Tracker sets the cost of consumed credits against an estimated value. Values are indicative estimates, computed from parameters you set:
- hours saved per successful mission;
- reference hourly rate (in euros);
- cost of risk avoided per protected session (in euros).
Two scopes are available: the billing period, or a 6 to 12 month trend. Indicators include the cost of consumed credits, value generated, cumulative total since the start, ROI per organization (ranking), sessions with sensitive data protected per month, completed missions (success rate), hours estimated by the agent, calibration gap, monthly ROI evolution and monthly RAG flow.
An environmental footprint section presents energy, water and CO₂ estimates, with Argy default factors or tenant-specific ones; the method and its limits are shown and some physical indicators are displayed as unavailable. The "capital token" view presents governed RAG documents as an AI asset specific to the company. These figures are indicative and non-contractual.
Common errors
| Situation | Cause and fix |
|---|---|
| "Upgrade required" screen | The plan does not include the LLM Gateway or Argy AI. See Billing. |
| "AI credits exhausted" message | The credit quota is reached. Ask an administrator for credits or adjust quotas (Quotas sub-tab). |
| Request blocked by a filter | An input filter is in Block mode. Adjust the mode or the custom patterns. |
| Document not indexed | It may be in quarantine: check the list and decide. |
| Argy AI tabs are missing | Your role has no access to the section (see Argy Portal: overview). |