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:
- 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:
- 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:
| 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.
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
- Model selection
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