Documentation · AI Wizard

Build appliances by conversation.

The AI Wizard reads everything an appliance owns and writes tables, functions, agents, flows, components, pages and navigation for you — as drafts, tested where it can, and reported artifact by artifact. This guide takes you from an empty appliance to a live, validated page.

What the wizard is

There is one wizard per appliance workspace. It is scoped by the harness to that appliance and tenant: it cannot see or change any other appliance, so you never pass it ids. A request such as “add a triage agent, wire it into the intake flow and give reviewers a page for the queue” is one conversation, not three.

Artifact kindReadWrite
Agents · Flows · Tools · Skills · MCP serversYesYes
Pages · Components · SidenavsYesYes
JS actions · Python scriptsYesYes (and runs JS actions to test them)
Knowledge Data tablesYesYes
Knowledge bases · Knowledge graphs · RolesYesNo — reference only

Open the wizard

  1. In the Command Center, open a tenant's Apps tab and click an appliance (or create one — see the Command Center guide).
  2. Click the AI Wizard button at the bottom right. It is on every screen of the workspace: Home, Agents, Flows, Pages, Functions and the rest.
AI Wizard panel open on an empty appliance with example prompts
The panel opens beside the workspace with example prompts for a first conversation.
Built-in appliances (Chat, MAiGRATE) ship as code, so their pages, sidenavs and components cannot be edited by hand or by the wizard. Use the wizard on appliances created in the tenant or installed from the marketplace.

The panel

ControlWhat it does
Ask first / AutoWrite mode — see below. Your choice is remembered in this browser.
History (clock icon)Past conversations for this appliance; click one to continue it.
New conversation (+)Starts a fresh thread. Earlier threads stay in history.
Scope chipThe screen you have open (“JS Action #1016”, “Pages list”). It is sent with your message so “this” means that artifact. Click × to drop it, or re-send the open screen.
Attach (paper clip)Up to 6 files per message, 8 MB each: images (read as vision input) and .txt .md .csv .json .xml .html .js .ts .py (transcribed into the message). Treated as reference, never copied verbatim.
Screenshot (camera)Captures the current screen and attaches it — handy for “make it look like this”.
Model pickerWhich model answers — see Choosing the model.
Panel edgeDrag to resize between 380 and 860 px. Closing the panel keeps the thread.

Press Enter to send and Shift + Enter for a new line. Clicking an example prompt fills the box; press send to run it.

Ask first vs Auto

The mode is enforced by the harness, not by the prompt.

ModeBehaviourUse it when
Ask first (default)Every write is staged. A dialog lists the batch — expand a line to see exactly what will be saved — and nothing lands until you choose Apply.Changing an appliance others use, or learning what the wizard does
AutoWrites land as the wizard makes them; each reply lists what changed.Building something new end to end
Apply 3 changes dialog listing save_knowledge_data and two save_js_action calls, one expanded
Ask first: the staged batch with one write expanded. Apply, Apply & stop asking (switches to Auto) or Decline.
  • Everything the wizard writes is a draft. It publishes a page only when you ask.
  • It deletes only an artifact you named and asked to delete in the same conversation — in either mode.
  • Dependent writes come in the next batch (a page needs the id of the function it calls), so a large build may ask two or three times.
  • Decline stops the batch; the wizard asks what to change instead of retrying it.

Choosing the model

The picker lists the platform default first, then the active LLM connections of this tenant and any platform-wide ones (Settings › AI › LLMs). If the chosen connection is inactive or belongs to another tenant, the turn quietly falls back to the platform default.

The platform default is set in the server environment:

ProviderEnvironment variables
Claude (direct or Azure AI Foundry)APPLIANCE_WIZARD_PROVIDER=anthropic, ANTHROPIC_API_KEY, ANTHROPIC_API_BASE (Foundry: https://<resource>.openai.azure.com/anthropic; unset = api.anthropic.com), ANTHROPIC_MODEL (default claude-opus-5-5-fast)
Azure OpenAI (when the provider variable is unset)AZURE_OPENAI_API_KEY, OPENAI_API_BASE, OPENAI_API_VERSION, AZURE_OPENAI_GPT_DEPLOYMENT

Tutorial: build a supplier audit register

Goal: a Supplier Audits appliance with a records table, validated save, a list page with create/edit in a modal, and navigation — from one brief.

  1. Create an appliance called Supplier Audits (URL key supplier-audits) in the tenant you sign in to, and open its workspace.
  2. Open the AI Wizard and paste the brief below. Numbered parts help the wizard plan and help you check the result.
Build a supplier audit register.
1) A Knowledge Data table 'supplier_audits' with: supplier name, audit date,
   lead auditor, status (Planned / Completed / Overdue) and number of findings.
2) A save JS action that validates and writes a record, plus a list action.
3) A page 'Audits' with a table of audits, a 'New audit' button that opens a
   modal form, and an Edit action per row.
4) Put the page on the default side navigation and publish the page.
Wizard composer containing the supplier audit brief
The brief in the composer, here in Ask first mode. Drop the publish clause if you want to review the page as a draft first.
  1. Send it. The wizard reads the appliance first (“Reading the appliance…”), loads the skills the request needs, then writes in dependency order: table → functions → component → page → sidenav.
  2. In Ask first, review and apply each batch. In Auto, wait for the reply — about two to three minutes for this brief.

When it finishes, the reply summarises every artifact — kind, name, id, status and where to find it — followed by the tests it ran and the assumptions it made. Each card links to the artifact.

Wizard reply listing created table, two JS actions, a component, page and sidenav, then the published page
Auto mode: one reply, seven writes, and the page published as asked.
KindNameFind it under
Knowledge Data tablesupplier_auditsDatabase › Knowledge Data
JS action (the one write path)saveSupplierAuditFunctions › JS Actions
JS actionlistSupplierAuditsFunctions › JS Actions
Component (create/edit modal)SupplierAuditFormModalUI/UX › Components
PageAudits — /a/supplier-audits/auditsUI/UX › Pages
Sidenav (default)Supplier AuditsUI/UX › Sidenavs

The wizard also tests its own functions before reporting: it sent invalid payloads to the save action (blank names, a bad date, an unknown status, negative findings), re-saved an existing record, and listed the table. In Ask first mode the same summary arrives after the last batch:

Summary table of artifacts with ids and status, followed by what changed and tests

Test what it built

Always open the result as a user would. Published pages are live at /a/<appliance>/<page>; drafts open from the page editor's Test render.

Live Supplier audits page with status filters, refresh and one audit row
The live page: side navigation, status filters (kept in ?status=), refresh, and the row the wizard created while testing.

Checks worth running every time:

  1. Empty submit. Click New audit and submit nothing: each required field shows its own message, returned by the save action.
New audit modal with field errors under supplier name, audit date and lead auditor
  1. Create. Fill the form and submit: the modal closes and the list and counters reload.
Audits list with the new Planned audit added above the existing one
  1. Edit. Use a row's Edit: the same component opens pre-filled with Save changes. Change the status and confirm the row and the filters update.
Edit audit modal pre-filled, status changed to Completed and findings to 2
The wizard says what it did not test (“I didn't test creating a new record”, “I haven't opened the pages in a browser”). Treat those lines as your test list.

Scoped follow-ups

Open the artifact you want to change, then talk about “this”. The scope chip shows what the wizard will treat as “this”, and the wizard starts from that artifact instead of listing everything.

saveSupplierAudit open with scope chip JS Action #1016 and a follow-up request in the composer
Scope: JS Action #1016 — “Make this reject a lead auditor name shorter than 2 characters, then test it.”
Wizard reply with the rule added and a test table of three lead auditor values
One read-modify-write, a test table, and a note that the published page picks the rule up on save.

The change is in the function, so the page shows the new message without being edited — the benefit of one write path per record.

Conversation history

Threads are stored per appliance. Closing and reopening the panel continues the same thread; a full page reload starts a new one, and the clock icon brings back earlier threads with their artifact cards. Wizard conversations belong to the wizard only — they do not appear in the Chat appliance.

History list showing the earlier supplier audit conversation

How it works

The working method is fixed by the harness, which is why results are repeatable:

  1. Orient. Read the appliance overview and the list for every kind involved — never guess names, ids or counts.
  2. Read before change. Fetch anything it will modify or integrate with; edits send the whole artifact back, never a fragment.
  3. Load skills on need. One skill per artifact kind plus use-case skills, loaded only when the request calls for them.
  4. Validate non-trivial pages, sidenavs and flows before saving.
  5. Write in dependency order — table → function → tool/agent → flow → component → page → sidenav — and reuse what exists before creating.
  6. Test each JS action with realistic and invalid input, and fix what breaks.
  7. Report each artifact (kind, name, id, status, location), assumptions, and the next step.
SkillLoaded when the request involves
applianceThe workspace model itself
agent · skill · tool · mcp_server · flowReasoning and orchestration artifacts
page · component · sidenavUI — page code standards, Font Awesome icons via the page-scope Icon component, no emoji
js_action · python_scriptFunctions
database · knowledge_dataTables and their rows
recordsAny create/edit/delete screen: one save action that validates and writes, a modal form component on the global Modal, list reload
editingChanging anything that exists: read first, identities never change
linkingRequests that span several artifacts

Limits per turn: up to 24 tool rounds, 6 attachments, and the last 24 turns of the thread replayed as context.

Writing good prompts

DoExample
Name the fields and allowed values“status (Planned / Completed / Overdue)”
Number the parts of a big brief“1) table 2) save + list actions 3) page 4) navigation”
Say how the screen behaves“New opens a modal form; Edit per row”
Ask for tests explicitly on rule changes“…then test it”
Ask to publish when you want it live“…and publish the page”
Open the artifact first for small changesOpen the function, then “make this reject…”
Start with a question on an unfamiliar appliance“What does this appliance have? Summarise its agents, flows and pages.”

The wizard asks one focused question only when it needs something you alone have (an MCP URL, a credential, which page to link). Otherwise it picks sensible defaults and lists them under Assumptions.

Ontology wizards

Ontologies (tenant Settings › Knowledge › Ontology) have two wizard entry points that share the same conventions.

Draft a new ontology

  1. On the Ontologies list, click AI Wizard.
  2. Describe the domain: the node types and how they relate.
  3. Review the proposed configuration on the right — name, key, node types with typed properties and relationships. Ask for changes in the chat if needed; nothing is saved yet.
  4. Click Create Ontology. The footer reports how many records were created; close the dialog to see it in the list as a v1 · Draft.
Ontology AI Wizard dialog with example prompts and an empty configuration pane
Ontology wizard with a supplier quality ontology drafted on the right
“Supplier quality ontology with Supplier, Audit, Finding and CAPA…” drafted in one turn.

Refine on the canvas

Open the ontology's Ontology tab. The canvas toolbar has Lint and an AI Wizard that works on this ontology only: summarise it, add properties, model a new domain, or run the linter and fix what it reports. It uses the same panel, modes and history as the appliance wizard. Publish the ontology when you are done — production does not use drafts.

Ontology canvas with node list, Lint and AI Wizard buttons and the node graph
The linter expects a uuid property on every node type and camelCase property keys. Run Lint straight after drafting and fix errors before publishing; if a wizard write keeps failing, add the property by hand from the node's Properties panel.

Troubleshooting

SymptomCause and fix
“This app isn't available to you” when testing a pageAppliance URLs resolve against the tenant you are signed into. Build in, or sign in to, the tenant that owns the appliance.
Workspace Home still says 0 pagesThe overview does not refresh while the wizard writes. Reload the page.
A reply shows “n failed” in its activity lineExpand the activity line to see the failing call. The wizard retries with a fix and says what changed; if the same error repeats, it stops and suggests a manual route.
The wizard forgot the conversationA full page reload starts a new thread. Use History to continue the previous one.
An example prompt did nothingExamples only fill the composer; press send.
This app isn't available to you screen for an appliance in another tenant
What Test render shows when you are signed into a different tenant from the appliance's.

We use cookies to help give you the best experience on our site. By continuing you agree to our use of cookies.