Desktop AI Assistant¶
Enciva Desktop includes the same AI Assistant as the Web app. Generation runs on the Enciva server you are connected to. Desktop does not store provider API keys, and it does not call a model on your computer.
Install Enciva Desktop, then connect. See Connect Enciva Desktop. Direct HTTPS and SSH Tunnel both reach the same API. After you are connected, open Create and choose AI Assistant.
A generated pipeline is an unsaved draft. Desktop runs it only when you click Run. It becomes a Job only when you click Save as Job. The schedule is configured in that dialog, and a new Job stays disabled until you enable it.
Providers on the server¶
The provider list is the account's AI providers on that server.
- Refresh Providers loads the list again.
- Manage AI Providers opens
https://<your-server>/#account/providersin the browser. The link is the server origin only. The Personal Access Token is not placed in that URL. - The assistant uses the provider you select. A provider without a stored key cannot generate.
Add or edit keys in the browser, then return to Desktop and click Refresh Providers.
Named providers (OpenAI, Anthropic, Google Gemini, and xAI) do not ask for a base URL. That address is part of the server. OpenAI Compatible is the only type with a base URL field. Desktop opens the same Account page, so the form matches the Web app.
Test connection on that page checks that the provider returns a short reply. It does not confirm that pipeline generation will succeed. Generate a pipeline in Desktop or the Web app to check that.
Personal Access Token permissions¶
Create the token in the Web UI under Account → API Tokens. The checkboxes are grouped by area. The label you see is the action under that heading. Jobs → Compose is the permission that allows an unsaved draft to be built. Its scope id is pipelines:compose.
| What you are doing | Check these boxes |
|---|---|
| Generate a pipeline | Jobs → Compose |
| Resolve saved source and destination names | Sources → Read and Destinations → Read |
| Apply a Prepare plan and import the source into a workspace | Workspaces → Write and Sources → Read |
| Preview the workspace | Workspaces → Read |
| Run the unsaved canvas, including delivery to a saved destination | Workspaces → Run and Destinations → Read |
| Save as Job, or change a saved Job | Jobs → Write |
| Run Now on a saved Job | Jobs → Run |
Jobs → Compose does not include Jobs → Write or Jobs → Run. A token that can generate a draft cannot save or start a Job until those boxes are checked as well.
Without Sources → Read or Destinations → Read, generation is still offered, and Desktop warns that saved sources or destinations cannot be resolved. Add both read permissions for a useful draft.
A practical Desktop token that can generate, prepare, preview, run once, and save is:
- Jobs → Compose
- Jobs → Write
- Jobs → Run
- Sources → Read
- Destinations → Read
- Workspaces → Read
- Workspaces → Write
- Workspaces → Run
Leave Sources → Write and Destinations → Write unchecked when this token should not create or edit connections.
Generate and review¶
- Choose a Provider. The model name is shown under the list.
- Write Pipeline instructions.
- Click Generate Pipeline.
Answer any clarification questions and generate again. Blank answers are not filled in for you. Cancel stops the current request.
Review lists the name, Prepare plan when there is one, source, destination, transform, conversion, and write mode. It also shows provider, model, and token counts when the provider reported them. A request that mentions a schedule shows a note to configure it when saving the Job.
Open in canvas loads the draft. If the canvas already has a pipeline, Desktop says that opening the draft replaces it and does not change a saved Job. Choose Replace canvas to continue.
Prepare, preview, run, and save¶
On the canvas:
- The Prepare card is the plan that runs before GDAL. Edit it and click Validate the same way as in the Web app. See Intelligent source preparation.
- Preview shows the workspace after the source is imported. Apply the Prepare plan first when the file is nonstandard text.
- Run executes the unsaved draft once. The canvas says the run applies it once and the schedule stays off until you save it as a Job.
- Save as Job stores the pipeline, including the Prepare plan, on the server. Later runs reuse that plan and do not call the AI provider.
Complete any missing destination fields, such as a table name, write mode, or object key, before Run or Save. A suggested file name is not written until you confirm it. Overwrite is not assumed.
Save as Job requires a saved Source and a saved Destination. Download and a one-off upload stay on the canvas.
Troubleshooting¶
| What you see | What to do |
|---|---|
| Server update required | The connected Enciva server does not provide the AI Assistant. Upgrade that server, then connect again. |
| Your token does not have permission to generate a pipeline | Edit the token, or create a new one, and check Jobs → Compose. |
| This token cannot resolve saved sources or destinations | Check Sources → Read and Destinations → Read. |
| No AI provider is configured or No provider configured | Open Manage AI Providers, add a provider on that server, then Refresh Providers. |
| Connect to an Enciva Server before opening AI Providers | Finish connecting before using Manage AI Providers. |
| Permission required | The token is missing Jobs → Compose, or a later step is missing the workspace or Jobs permission in the table above. |
| Connection problem | Direct HTTPS could not reach the server, or the SSH tunnel is down. Use Test Connection on the connection screen. |
| Could not load providers / Server error | The server returned an unexpected response or a server error. Refresh after the server is healthy. The message names the failure. |
| Provider authentication, rate limit, timeout, or overload | Those messages come from the provider configured on the server. See AI providers. |
A failed generation does not save a Job and does not start a run.