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 kind | Read | Write |
|---|---|---|
| Agents · Flows · Tools · Skills · MCP servers | Yes | Yes |
| Pages · Components · Sidenavs | Yes | Yes |
| JS actions · Python scripts | Yes | Yes (and runs JS actions to test them) |
| Knowledge Data tables | Yes | Yes |
| Knowledge bases · Knowledge graphs · Roles | Yes | No — reference only |
Open the wizard
- In the Command Center, open a tenant's Apps tab and click an appliance (or create one — see the Command Center guide).
- 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.

The panel
| Control | What it does |
|---|---|
| Ask first / Auto | Write 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 chip | The 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 picker | Which model answers — see Choosing the model. |
| Panel edge | Drag 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.
| Mode | Behaviour | Use 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 |
| Auto | Writes land as the wizard makes them; each reply lists what changed. | Building something new end to end |

- 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:
| Provider | Environment 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.
- Create an appliance called Supplier Audits (URL key
supplier-audits) in the tenant you sign in to, and open its workspace. - 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.

- 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.
- 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.

| Kind | Name | Find it under |
|---|---|---|
| Knowledge Data table | supplier_audits | Database › Knowledge Data |
| JS action (the one write path) | saveSupplierAudit | Functions › JS Actions |
| JS action | listSupplierAudits | Functions › JS Actions |
| Component (create/edit modal) | SupplierAuditFormModal | UI/UX › Components |
| Page | Audits — /a/supplier-audits/audits | UI/UX › Pages |
| Sidenav (default) | Supplier Audits | UI/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:

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.

Checks worth running every time:
- Empty submit. Click New audit and submit nothing: each required field shows its own message, returned by the save action.

- Create. Fill the form and submit: the modal closes and the list and counters reload.

- 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.

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.


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.

How it works
The working method is fixed by the harness, which is why results are repeatable:
- Orient. Read the appliance overview and the list for every kind involved — never guess names, ids or counts.
- Read before change. Fetch anything it will modify or integrate with; edits send the whole artifact back, never a fragment.
- Load skills on need. One skill per artifact kind plus use-case skills, loaded only when the request calls for them.
- Validate non-trivial pages, sidenavs and flows before saving.
- Write in dependency order — table → function → tool/agent → flow → component → page → sidenav — and reuse what exists before creating.
- Test each JS action with realistic and invalid input, and fix what breaks.
- Report each artifact (kind, name, id, status, location), assumptions, and the next step.
| Skill | Loaded when the request involves |
|---|---|
appliance | The workspace model itself |
agent · skill · tool · mcp_server · flow | Reasoning and orchestration artifacts |
page · component · sidenav | UI — page code standards, Font Awesome icons via the page-scope Icon component, no emoji |
js_action · python_script | Functions |
database · knowledge_data | Tables and their rows |
records | Any create/edit/delete screen: one save action that validates and writes, a modal form component on the global Modal, list reload |
editing | Changing anything that exists: read first, identities never change |
linking | Requests 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
| Do | Example |
|---|---|
| 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 changes | Open 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
- On the Ontologies list, click AI Wizard.
- Describe the domain: the node types and how they relate.
- 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.
- Click Create Ontology. The footer reports how many records were created; close the dialog to see it in the list as a
v1 · Draft.


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.

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
| Symptom | Cause and fix |
|---|---|
| “This app isn't available to you” when testing a page | Appliance 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 pages | The overview does not refresh while the wizard writes. Reload the page. |
| A reply shows “n failed” in its activity line | Expand 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 conversation | A full page reload starts a new thread. Use History to continue the previous one. |
| An example prompt did nothing | Examples only fill the composer; press send. |

