Sidekick AI
An AI assistant built into Sidekick that understands your current ServiceNow page context and helps with scripting, debugging, and platform questions.
Last updated: March 16, 2026
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:
- Open the SN Utils settings page (type
/settingsin the slash command bar) - Find the AI Features section
- 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, alongside your chat messages:
- Page type —
form,list,flow,script_editor,workspace,record, orunknown. - Table name — e.g.
incident,sys_script_include, when detectable from the page. - Field names — up to 50 field names from the current form or list. System fields (
sys_*,sysparm_*) are filtered out. Only names, never values. - Form view — the view name (e.g.
Default,ess) when you're on a form. - URL path — the page path (
location.pathname), so the assistant knows which page you're on. - Instance subdomain — the first label of your hostname (e.g.
dev123456fromdev123456.service-now.com), so the AI can distinguish between instances you use. The full hostname is not sent.
What Is Never Sent
- No field values or record data — the AI sees that an
incidentform has astatefield, not what state your record is in. - No script content from editors — unless you paste it into the chat yourself.
- No attachments.
- No cookies, session tokens, or credentials.
- Nothing is sent passively — a request is only made when you press Send.
If you want the AI to help with a specific script or error message, 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:
| Method | How |
|---|---|
| Slash command | Type /ai or /skai |
| Sidekick menu | Open any Sidekick tool → click the menu (☰) → select Sidekick AI |
| Keyboard shortcut | Assign one via chrome://extensions/shortcuts for the Sidekick AI command |
How It Works
- You type a question or request in the chat input
- Sidekick AI gathers the current page metadata (table, fields, page type)
- The metadata and your message are sent to the SN Utils API
- The AI responds with a streaming answer that appears token by token
- 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.
Questions about SN Utils itself ("how do I share snippets with my team?", "what does /pop do?") are grounded automatically: the relevant sections of the SN Utils documentation are retrieved and included with your request, so the answer reflects how the extension actually works instead of a best guess.
Choosing a Model
A model dropdown above the chat input lets you pick which AI model answers your questions. Auto (the default) uses whatever the server currently recommends, so a new model can roll out without an extension update. The list currently includes:
- Auto (server default, currently Gemini 3.7 Flash)
- Gemini 3.7 Flash
- Claude Sonnet 5.0
- GPT-5.6
Your choice is saved as a Sidekick preference and applies to future chats. Leave it on Auto unless you have a preference.
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
statefield 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
Related
- Sidekick Overview — All Sidekick tools
- Form Analyzer — Analyze form entities and monitor field changes
- Log Viewer — Real-time system log monitoring
- AI Agent Support — Use AI coding assistants with sn-scriptsync
- AI Integration & Data Handling — Integration design and sample payloads for security reviews