Documentation is being actively updated.

Sidekick AI

An AI assistant built into Sidekick that understands your current ServiceNow page context and helps with scripting, debugging, and platform questions.

Sidekick AI is a contextual AI assistant that runs inside the Sidekick Picture-in-Picture window. It knows what type of ServiceNow page you're on, which table you're viewing, and what fields are available — so it can give relevant answers without you having to explain your setup.

Opt-In Required

Sidekick AI is disabled by default. Because the feature sends page metadata to SN Utils servers, you need to explicitly enable it:

  1. Open the SN Utils settings page (type /settings in the slash command bar)
  2. Find the AI Features section
  3. Toggle Sidekick AI on

Until you enable this setting, the /ai command, keyboard shortcut, and Sidekick menu item are all hidden or inactive.

What Gets Sent

When Sidekick AI is enabled, the following metadata is sent with each request:

  • Page type — form, list, script editor, homepage, etc.
  • Table name — e.g. incident, sys_script_include
  • Field names — the column names on the current form or list
  • URL path — the page path (not query parameters with record data)
  • Instance hostname — your ServiceNow instance URL

What Is Never Sent

  • Field values or record data
  • Script content from editors
  • Attachment content
  • Session tokens or credentials
  • Any data from your ServiceNow instance beyond the metadata listed above

If you want the AI to help with a specific script or error message, you can paste it into the chat yourself. This keeps you in control of exactly what leaves your device.

Opening Sidekick AI

Once enabled, there are several ways to open Sidekick AI:

MethodHow
Slash commandType /ai or /skai
Sidekick menuOpen any Sidekick tool → click the menu (☰) → select Sidekick AI
Keyboard shortcutAssign one via chrome://extensions/shortcuts for the Sidekick AI command

How It Works

  1. You type a question or request in the chat input
  2. Sidekick AI gathers the current page metadata (table, fields, page type)
  3. The metadata and your message are sent to the SN Utils API
  4. The AI responds with a streaming answer that appears token by token
  5. Your conversation history is maintained for the session, so you can ask follow-up questions

The AI has broad ServiceNow platform knowledge — scripting APIs, best practices, table structures, and common patterns. It uses the page context to tailor its responses.

Context-Aware Examples

Sidekick AI adapts its suggestions based on where you are in ServiceNow:

On a form (e.g. an incident record):

  • "Write a Business Rule for incident"
  • "Generate a GlideRecord query for incident"

On a list view:

  • "Help me filter this list"
  • "Write a script to bulk update records"
  • "Explain encoded query syntax"

On a script editor or any other page:

  • "Help me write a Business Rule"
  • "Explain GlideRecord best practices"
  • "How do I create a UI Policy?"

Stopping a Response

If the AI is generating a long response you don't need, click the Stop button (replaces the Send button during generation) to cancel the stream immediately.

Clearing the Chat

Use the Clear option in the Sidekick menu (☰) to reset the conversation history and start fresh.

Current Limitations

This is an early version of Sidekick AI. Be aware of the following:

  • No instance data access — The AI cannot query your instance, read record values, or execute scripts. It works from general ServiceNow knowledge and the page metadata you provide.
  • Metadata only — Field names are sent, but not field values. The AI knows you have a state field but doesn't know its current value.
  • No code execution — The AI can write and explain code, but cannot run it in your instance.
  • General knowledge — Responses are based on ServiceNow platform knowledge. The AI is not aware of your custom applications, business rules, or configurations.
  • Accuracy — As with any AI, responses can be incorrect. Always review generated code before using it.
  • Rate limited — To manage costs, requests are limited to 50 per hour per user.

What's Next

Sidekick AI is a starting point. Planned improvements include:

  • Opt-in full context mode (send field values and script content for more precise help)
  • Code actions (apply generated scripts directly)
  • Conversation export
  • Model selection