AI assistant

Settings → AI → AI assistant lets an AI assistant (Claude, ChatGPT, a local model that can make web requests) help you set up Netlens, change it later, or find out why something is red. It works through the normal API with a token of its own and reads a guide written for language models (/api/assistant/guide: how to behave, a first look, and step-by-step workflows for scanning, alerts, monitoring, plugins and diagnosis). Make a token, copy the ready-made instructions, and paste them into your assistant.

  • A read-only token can look, explain and diagnose. A token that may change settings changes one thing at a time, is told to ask you first, and every change is in the audit log under the token’s name (Settings → Audit).
  • An assistant token never reaches users and tokens, stored passwords, backups and restores, share links, single sign-on, remote sessions and terminals, remediation rules (they run commands), plugin uploads or updates. It can delete only service checks, maintenance windows, snoozes, notification channels and groups. When it asks for something it may not do, the error says why, so it can hand the step to you.
  • /api/assistant/endpoints lists every call the token may make, with the fields of the request body. Passwords and keys are best typed by you into the interface rather than into the chat.
  • Anything you give an AI service leaves your network. Keep the token secret and delete it when the job is done.
  • An agent that speaks the Model Context Protocol (Claude Code, OpenClaw, Cursor) can use the same tokens through the MCP server instead of the written guide.