> For the complete documentation index, see [llms.txt](https://docs.uptiq.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.uptiq.ai/platform/console/app-builder/app-workspace.md). Agents can also search and read this documentation through its [MCP server](https://docs.uptiq.ai/~gitbook/mcp).

# App Workspace

Build, preview, inspect, test, version, and share your app.

The app workspace is where you build, inspect, test, and share an app. Describe a change, review the live preview, then move through the App Builder workflow.

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-af73c769ef5a758d0be029d8ed48258e46258bd8%2Fqore_app-builder_studio-import-an-existing-app-example_rounded_shadow.png?alt=media" alt="The app workspace, with the build conversation, live preview, and workspace panels"><figcaption><p>The app workspace.</p></figcaption></figure>

<table data-view="cards"><thead><tr><th>Next step</th><th data-card-target data-type="content-ref">Open</th></tr></thead><tbody><tr><td>Set up data, domains, and integrations</td><td><a href="https://docs.uptiq.ai/platform/console/app-builder/build/app-config.md">App Config</a></td></tr><tr><td>Validate the app before release</td><td><a href="https://docs.uptiq.ai/platform/console/app-builder/testing.md">Testing</a></td></tr><tr><td>Publish the current version</td><td><a href="https://docs.uptiq.ai/platform/console/app-builder/deploy.md">Deploy</a></td></tr></tbody></table>

### Describe and build

Use the conversation to describe the change you want. The Uptiq Platform plans the work, waits for your approval, builds the app, and confirms when **Live preview is ready**.

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-50b60905dafa474b902a8b656f6761bc1a5ab7a6%2Fqore_app-builder_studio-app-builder-building-by-chatting_rounded_shadow.png?alt=media" alt="The build conversation, describing a change and showing the plan/approve/build flow"><figcaption><p>Describing a change in the build conversation.</p></figcaption></figure>

The agent's reply streams in as it writes. Text and reasoning appear word by word, top to bottom, and the conversation stays pinned to the latest message. It stops following only when you scroll yourself, so you can read earlier messages while the agent works. The message box is always open.

Each turn shows its work time and token usage. Open the token total for model-level input and output usage. To read it from code, see [Read a turn's token usage](https://docs.uptiq.ai/platform/console/app-builder/creating-and-importing-apps.md#read-a-turns-token-usage).

Expand a turn's work time, such as *Worked for 8 min 34 sec*, to list the agent's steps. A file step shows `write - <path>` or `edit - <path>` with the lines added and removed, for example `+37 -0`. Select it to open the file path with a diff. A new file shows every line as added. An edit shows the old and new line numbers side by side, with added lines in green.

To point the agent at one part of the app, use **Select element** in the composer (the tooltip shows *Select element (Ctrl/⌘+U)*), then choose the element in the preview. You can also start it from the preview toolbar. Hover over the preview to highlight an element and select it. The selection stays pinned while the preview re-renders. It travels with your message as a chip, such as `div .bg-primary`, above your text. The agent receives a compact reference to the element: its tag, classes, text, place among its parents, outline and bounds. It needs a running preview.

While the build agent works, the conversation shows **Working…** and each step it takes, such as finding, reading, or running files, with a tick when each is done. Select **Stop** to stop it.

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-a97c8e1d9322749f8dc7a61f95b790cac52b3363%2Fqore_app-builder_how-to-build-agent-working_rounded_shadow.png?alt=media" alt="The build conversation with the agent Working, listing its steps with ticks, and a Stop button above the Describe the changes you want box"><figcaption><p>The build agent at work, with Stop.</p></figcaption></figure>

A single request can run for up to 45 minutes. If it runs longer, the Platform stops it, saves the work done so far, and replies that the request ran too long and was stopped. The reply says the work done so far is saved, and asks you to send a follow-up to continue or to split the request into smaller steps. If code generation fails, the reply says there is an issue with code generation and asks you to try again or switch to a different model.

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-5414d627a0eb7c928e1a7610b3b577c47fa8a2c5%2Fqore_app-builder_studio-import-an-existing-app-token-usage_rounded_shadow.png?alt=media" alt="The token usage breakdown for a build turn, showing model-level input and output usage"><figcaption><p>Model-level token usage for a build turn.</p></figcaption></figure>

#### Fix errors

Forward a preview error to the build agent. When the preview hits an error, a bar at the bottom of the build conversation shows it — for example `UNHANDLED_REJECTION` — with **Fix with AI**. Select **Fix with AI** to send it. The request includes the error type and message. The Platform fixes the app and rebuilds the preview.

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-463a070e45de3fa2fdb0ae83fca36205f8ef3906%2Fqore_app-builder_how-to-error-bar-fix-with-ai_rounded_shadow.png?alt=media" alt="The build conversation ending with a summary of changes, Live preview is ready, Upgrade your app with Add an AI Agent, and a red error bar reading UNHANDLED_REJECTION with a Fix with AI button"><figcaption><p>A preview error, with Fix with AI.</p></figcaption></figure>

{% hint style="info" %}
Fixing an error is another conversation turn. Describe or forward the error, then review the rebuilt preview.
{% endhint %}

{% hint style="info" %}
**Fix with AI** sends the reported issue to the Uptiq Platform's build agent. Review the rebuilt preview before you continue.
{% endhint %}

### Continue building

Choose a suggested next step, or enter another request. **Upgrade your app** can add a database for persistent data or an AI agent for app intelligence — for example **Add an AI Agent** (*Connect intelligence to your app*).

{% hint style="info" %}
Each round follows the same flow: plan, approve, and build. Nothing is built before you approve the plan.
{% endhint %}

### Preview

Use the live preview after every change. The toolbar above it has reload and full-screen icons, and desktop, tablet, and mobile widths to check responsiveness. Each preview includes a **Built with QORE** badge.

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-742aacd258d719f3f56dc1468fd251cf7d4ad01b%2Fqore_app-builder_how-to-preview-toolbar_rounded_shadow.png?alt=media" alt="The Preview tab showing a running app, with reload, full-screen, and desktop, tablet and mobile icons above it, and a Built with QORE badge"><figcaption><p>The live preview.</p></figcaption></figure>

### Explore the workspace

Switch the centre panel between **Preview**, **Code**, and **Agents**.

#### Code

* Inspect the generated source in the file tree. It includes the frontend, tests, project configuration, `app.run.json`, and `APPLICATION_PLAN.md`.
* Select a file to read it, edit it, download it, or connect its repository to GitHub. The Code tab connects GitHub only. GitLab is offered when you import an app. To edit, select **Edit**, make your changes, then select **Save**. Saving an edit creates a new version.
* Code files open in the editor. Other files open in a viewer instead of showing raw text:

| File                                                                     | What opens                                                                                                                                                            |
| ------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Images and Markdown                                                      | Shown as they are.                                                                                                                                                    |
| PDF                                                                      | The document viewer. The pages show one under another, with zoom in and zoom out.                                                                                     |
| CSV                                                                      | A table, with the first row as headers and the rows on pages. A file that can't be read as a table opens as plain text. An empty file shows `This CSV file is empty`. |
| Word, Excel and PowerPoint (`doc`, `docx`, `xls`, `xlsx`, `ppt`, `pptx`) | A panel that shows `No preview for this file type` and `Download the file to open it on your device`, with a **Download** button.                                     |

* In a CSV file, a cell with commas, quotes or line breaks stays in one cell.
* Edit mode works on code files only. Images, Markdown, PDF, CSV, and Office files stay read-only.
* To add a file, select **Edit**, select the new-file icon above the file tree, type a name, and press Enter. The new file opens empty, with `Start typing, or click Upload to fill this file from your computer` and an **N** badge beside it in the file tree. Select **Save** to write it. A name that isn't accepted shows an error under the box and creates nothing:

| Name                                      | Error                                                           |
| ----------------------------------------- | --------------------------------------------------------------- |
| Contains a slash                          | `A file name cannot contain slashes`                            |
| Isn't a code file, such as `notes.md`     | `Only code files can be added`                                  |
| Matches a file or folder at that location | `A file or folder app.run.json already exists at this location` |
| Empty                                     | `A file name must be provided`                                  |

* **Upload**, shown in Edit mode, fills the open file with a file from your computer. It accepts code files up to 1 MB, and refuses others with `Only code files can be uploaded` or `The file is larger than 1 MB`. **Upload** is turned off unless a code file is open, and hovering it says `Open a code file to upload into it`.
* A large file starts to appear before it has finished loading, and you can't type in it until it has loaded. A long file or folder name above the editor is cut off with `...`, and hovering shows the full name.
* Generated apps use a fixed set of approved libraries for common features, such as charts and dashboards, dates and date pickers, forms, data tables, and CSV import and export. They also cover Excel and Word export, PDF viewing and text extraction, rich text, drag and drop, maps, and notifications. The builder uses these rather than other libraries for the same features. A static website, which has no `package.json`, loads any library from a version-pinned CDN link instead.
* Use the build conversation for most app changes.

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-2dd359973434e54b175c7b7f97f6915d7a1fc201%2Fqore_app-builder_studio-app-builder-code-edit_rounded_shadow.png?alt=media" alt="The Code panel, showing the generated file tree and an open source file"><figcaption><p>Inspecting and editing generated source in the Code panel.</p></figcaption></figure>

#### Agents

* Use **Agents** to add automation, data processing, and logic.
* With no agent attached, the tab offers two steps. **Visit Agent Builder** opens the Agent Builder to create an agent, and **Attach Agents** attaches an existing one.
* For attachment steps, see [Integrate an agent](https://docs.uptiq.ai/platform/task-guides/integrate-an-agent.md).

Once an agent is attached, the tab lists the attached agents under **Attached Agents**, in a table with **Name**, **Description** and **Version** columns, and the row's buttons at the end.

* Select a row to open that agent in the Agent Builder, in a new browser tab.
* At the end of the row, the play button (**Try Agent**) opens the agent's Playground in a new tab. It needs a widget key on the agent. Without one, a message asks you to create a widget key first. The `⋯` menu has **Detach**, which asks *"Are you sure?"* and tells you the agent will be detached from the app.
* **Version** chooses which saved version of the agent the app runs. It starts on **Live**, which runs the published version of the agent, or its draft until one is published. The list under it shows each saved version with its description. Choosing one opens `Change agent version?` with `Switching "<agent name>" to v2 updates the app code and changes how the agent behaves in it.` **Cancel** keeps the current choice. **Change Version** applies it. If the app is generating when you change the version, the change is saved, and when the run finishes an **Agent version changed** banner appears with **Apply Changes**.
* **Attach Agent**, at the top right of the tab, opens the **Attach Agent(s)** dialog. It's disabled without the permission to attach agents to an app. It works once the app has a preview and is waiting for your input or has stopped on an error.

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-26aef8aadd88fb89c9bf6b17c8a0f723b59715b7%2Fqore_app-builder_studio-app-builder-agents-attach-agents_rounded_shadow.png?alt=media" alt="The Attach Agents dialog, listing existing agents to attach to the app"><figcaption><p>Attaching an existing agent to the app.</p></figcaption></figure>

### Credits

The Credits meter shows what this app has consumed—the Credits used, the Cost, and when the figure was last synced. Building an app spends credits, so keep an eye on it as you iterate. For account-wide usage and limits, see [Billing](https://docs.uptiq.ai/platform/control-center/cost-control.md).

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-cbaea4971b83d7524e46d3967d5decf8ef2d0648%2Fqore_app-builder_studio-import-an-existing-app-example-credits-usage_rounded_shadow.png?alt=media" alt="The Credits meter, showing credits used, cost, and last synced time"><figcaption><p>The Credits meter.</p></figcaption></figure>

### Versions and publishing

The version selector lists builds newest first. **Latest** marks the newest build. **Published** marks the version users see. *Uncommitted changes* marks work outside a version.

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-eeb65a4b742e2c0c55d8c41c2fdf8bb1c7f714c1%2Fqore_app-builder_studio-import-an-existing-app-example-version_rounded_shadow.png?alt=media" alt="The version selector, listing builds newest first with Latest and Published markers"><figcaption><p>The version selector.</p></figcaption></figure>

Select a version in the selector. **Preview Version** opens for it, for example: *You are about to view Version 5.0.0 from Sep 11, 2026, 9:50 PM. This will temporarily load the selected version. Your current version will remain unchanged.* Choose one:

* **View Version** (for example **View Version 5.0.0**) — loads that version temporarily.
* **Revert to Version** (for example **Revert to Version 5.0.0**) — reverts the app to that version.

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-6a6a2a5fb631324f8e6194d88920f634f682f61c%2Fqore_app-builder_how-to-version-preview-dialog_rounded_shadow.png?alt=media" alt="The Preview Version 5.0.0 dialog: you are about to view Version 5.0.0 from Sep 11, 2026, 9:50 PM; this will temporarily load the selected version and your current version will remain unchanged; Revert to Version 5.0.0 and View Version 5.0.0 buttons"><figcaption><p>Preview Version.</p></figcaption></figure>

While you view an older version, a bar shows **Viewing Version** with the version number, for example **Viewing Version 5.0.0**. Select **Back to Latest** to return to the newest version, or **Revert to Version** to revert to the one you're viewing.

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-ee43eddf3e3398f3e6042df8b1b5ce3a96519b7a%2Fqore_app-builder_how-to-version-viewing-bar_rounded_shadow.png?alt=media" alt="A bar reading Viewing Version 5.0.0, with Back to Latest and Revert to Version 5.0.0 buttons"><figcaption><p>Viewing an older version.</p></figcaption></figure>

You can also ask the build agent to restore an earlier version in the conversation. Name the version, or describe it, for example *go to the version where we changed the background colour*. The agent runs a **restore\_app\_version** step, says which version it is restoring, and the preview comes back with **Live preview is ready**. If you don't say which version, the agent lists the saved versions, newest first, and asks.

A restore adds a new version rather than removing the later ones. In the version selector the new entry shows, for example, *Revert to version 3.0.0*, so every earlier version is kept.

To make a version live, follow [Deploy an app](https://docs.uptiq.ai/platform/console/app-builder/deploy.md).

### Share

Select **Share**, beside the version selector, to share the app.

### Export

Select the export icon in the workspace top bar, beside **Share**, to bundle the app into one package: its frontend, backend, AI agent logic, database schema, and cloud storage configuration. You need the **Export App** capability; without it the button is disabled. It isn't shown while the app is still in its initial plan.

In the **Export App Package** dialog, tick **Include chat history in package** if you want the build conversation in the package (it's off by default), then select **Export Package**. The package isn't downloaded in your browser. The Platform shows *Export started. You will receive an email when it is ready.*

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-0574ffa93330ec60348a2711e373e0c461285a5f%2Fqore_app-builder_how-to-export-app-package_rounded_shadow.png?alt=media" alt="The Export App Package dialog, with the Include chat history in package checkbox and Cancel and Export Package buttons"><figcaption><p>Export App Package.</p></figcaption></figure>

### More

The **More** menu reflects the selected build version. Use it to inspect:

* [Analytics](https://docs.uptiq.ai/platform/console/app-builder/analytics.md) for published-app engagement
* [DB Explorer](https://docs.uptiq.ai/platform/console/app-builder/build/db-explorer.md) and [Data Flow](https://docs.uptiq.ai/platform/console/app-builder/build/data-flow.md) for app data and architecture
* [Testing](https://docs.uptiq.ai/platform/console/app-builder/testing.md) and [Security Scans](https://docs.uptiq.ai/platform/console/app-builder/security-scans.md) before release

## What's next

{% content-ref url="/pages/5f7BN7oNJaYMtU9svTGg" %}
[Plan](https://docs.uptiq.ai/platform/console/app-builder/plan.md)
{% endcontent-ref %}

{% content-ref url="/pages/db6b18a9a31d8092c1e9b584cdbb9931cc4fea13" %}
[Importing apps](https://docs.uptiq.ai/platform/console/app-builder/creating-and-importing-apps.md)
{% endcontent-ref %}

{% content-ref url="/pages/hhL3cml4UsoZOczeQo4b" %}
[Integrate an agent](https://docs.uptiq.ai/platform/task-guides/integrate-an-agent.md)
{% endcontent-ref %}

***

{% columns %}
{% column width="83.33333333333334%" %}

<p align="right"><em>Maintained by</em> <mark style="color:green;">Abhishek Paul</mark><br><code>AI-assisted, human-approved</code></p>
{% endcolumn %}

{% column width="16.666666666666664%" %}

<div align="left"><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-d034645b4f8f8ee661985f5306b60ded3289653c%2Fmaintainer-abhishek-paul.png?alt=media" alt="" width="60"></div>
{% endcolumn %}
{% endcolumns %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.uptiq.ai/platform/console/app-builder/app-workspace.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
