Skip to main content

AI Agents

The AI Agents tab in the Settings section lets you connect external AI provider accounts to the project. Each account stores an access key, a list of available models, a default model, and a spending limit. Platform features use these models, for example for content translation, in the interface constructor, and in the AI assistant.

Accounts are listed in a table with the columns Name, Provider, Marker, Models, and Limits, remaining. You can edit or delete each entry.

AI account permissions

Which buttons appear depends on the administrator's rights in the Settings group on the Setting up rights to modules tab: creating requires settings.aiAccounts.create, changing keys, models, and limits requires settings.aiAccounts.update, and deleting requires settings.aiAccounts.delete. Without the create right, there is no Create account button; without the update right, there is no edit icon; without the delete right, there is no delete icon. If the administrator's rights don't allow saving an open form, its Save button is inactive.

info

Marker is the system identifier that code and other modules use to reference the account. You can set it only when creating the account: in edit mode, the marker field is locked.

Creating an account​

Click Create account above the table and fill out the form:

  1. Provider: select a provider (for example, OpenRouter).
  2. Marker: set a unique marker for the account (for example, openrouter-main).
  3. Name: enter a clear name to display in the list.
  4. API Key: enter the provider's access key if needed (the field is optional).
  5. Models: select one or more models. The list contains only models that support tool calling. Recommended models have a green "Recommended" badge. The Free only checkbox limits the list to free models.
  6. Default Model: choose the default model from the ones you added.
  7. Limit, USD: set a spending limit. The No USD limit checkbox removes the limit.
  8. Agent request time, sec: how long a single request by the interface constructor agent can run. The default is 300; the value must be an integer from 1 to 2147483.
  9. Agent request limit, USD: how much a single such request can cost, from 0 to 999999. An empty field means no limit.

A request that hits either of these two limits fails: the constructor reports that the limit was reached before the agent produced a response.

After you click Save, the account appears in the table.

Editing an account​

Click the edit icon in the account's row. In the form, you can change the name, key, set of models, default model, spending limit, and per-request agent limits.

If the account has a Limit, USD set (the No USD limit checkbox is cleared), the edit page also shows a USD usage block with current spending and the remaining limit, along with buttons for resetting the counter. Accounts without a limit don't have this block.

info

You can't change the account marker; it stays the one you set when creating the account.

Deleting an account​

Click the delete icon in the account's row and confirm in the dialog. The account disappears from the table, and that provider's models are no longer available in the project.