Learn

AI assistant

AI assistant proposal

The AI assistant lets you describe a configuration change in plain English and review the proposed diff before applying it.

Setting it up

The AI assistant requires an Anthropic API key. Go to AI assistant → Settings and what is sent, enter your key and save. The page shows exactly what is sent to Anthropic when you use the assistant.

What is sent: your request text and a summary of your routes, rules and settings.
What is never sent: secrets (API keys, passwords), certificates, the request log, or user accounts.

Usage is billed to your Anthropic account.

How to use it

  1. Open AI assistant.
  2. Type your request in plain English, for example:
    • "Only the office network 203.0.113.0/24 may open /admin."
    • "Block all traffic from Russia and China."
    • "Add a rate limit of 20 requests per minute per address on the login route."
  3. The assistant generates a proposal. Review the differences shown in plain language.
  4. Click Apply these changes. The change becomes a normal configuration version.
  5. Click Undo to roll it back if needed.

Safety

A proposal that fails the gateway's validation checks can never be applied. The assistant cannot create an invalid configuration.

Every applied proposal is a normal configuration version — audited, in the history, and reversible with Undo or through Configuration History.

Example: setting up country-based blocking with one sentence

Type: "Block all requests that are not from Belgium, the Netherlands or Germany."

The assistant proposes a rule with the condition "country is not BE, NL or DE" and action Block. Review the diff and apply.