The AI Agents module registers the AI agents that consume AI Gateway. Each AI Agent has a unique identifier, a free-form description, a list of Scopes that defines what the agent can access, and a pair of Client ID / Client Secret credentials managed by the gateway. Agents use these credentials to get access tokens client_credentials and call the Routes and MCP Servers whose scopes match the agent's scopes.
NOTEBefore creating your AI Agent, register at least one Scope. The form requires at least one scope to be selected and does not let you save with an empty list.
Learn how to:
The AI Agents page lists registered agents with pagination. You can filter by:
Use Search to apply the filter and Clear to reset it.
Columns shown in the table:
Fill in Name and Description, and select at least one Scope (see Form fields). The Scopes field is a multi-select populated by the Scopes catalog.
TIPThe Credentials section does not appear in the creation form. Credentials are generated and managed in the edit form (see below).
In the Actions column of the row you want, click the Edit icon. The Update AI Agent form opens with the current data and shows the Credentials section below the editable fields, as described in Manage credentials. Change the required fields and click Save.
The Credentials section appears only in the edit form and shows:
Current status | Primary button | Effect | Secondary button |
|---|---|---|---|
| Active | Rotate | Replaces the current Client ID / Client Secret pair with a new pair. The old pair becomes invalid immediately. | Revoke |
| Revoked | Generate | Generates a new Client ID / Client Secret pair and changes the status to Active. | Revoke (disabled) |
ROTATION AND REVOCATION ARE IMMEDIATERotate and Revoke invalidate the previous pair in the same operation. Agents that were using the old pair start failing until you update them. Coordinate the operation with the production agent update.
When the status is Revoked, the Client ID and Client Secret fields are empty, the visibility toggles are disabled, and the Revoke button is disabled. Use Generate to issue a new pair.
In the Actions column of the row you want, click the Delete icon. Confirm the operation in the "Do you want to delete AI agent [agentId]?" dialog.
IMPORTANTDeletion is permanent and cannot be undone. Credentials associated with the agent are invalidated, and any integration still using the Client ID / Client Secret pair starts failing.
The table below covers all editable fields in the creation and edit forms. The Credentials section is managed separately (see Manage credentials).
Field | Type | Required | Rules |
|---|---|---|---|
| Name | Text | Yes | Minimum 1 character. |
| Description | Long text (textarea) | Yes | Minimum 1 character. |
| Scopes | Multi-select | Yes, at least one | List populated by the Scopes catalog. The stored value is a list of scope IDs. |
We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more