From Natural Language to Geospatial Pipelines
Describe what you want to accomplish. Enciva turns your instructions into visual, validated geospatial data pipelines.
AI-assisted pipeline creation
In Enciva Web, open Create and choose AI Assistant. Describe the pipeline in plain language. Enciva returns a draft you can review on the canvas. Desktop uses the same steps after you connect to a server.
- 1 Describe
- 2 Generate
- 3 Review
- 4 Run
You choose the provider, then write pipeline instructions and click Generate Pipeline. The assistant chooses among sources and destinations you have already saved. It does not fetch a new URL or create a connection for you. If more than one source, destination, or operation could match, it asks a short question instead of guessing.
A successful generation shows a pipeline review: name, source, destination, transform, conversion, and write mode. Open in Pipeline Editor places that draft on the canvas. Preview, Run, and Save as Job are separate actions you take yourself.
Instructions like these are the kind of request the assistant is built to turn into a draft. They are not a transcript of one recorded provider session.
- Convert a GeoJSON source to GeoPackage in EPSG:4326.
- Exclude selected neighborhoods and deliver the result to Amazon S3. Name the field condition and the saved bucket. If the object key or write mode is still open, confirm it on the destination card. Enciva does not assume overwrite.
- Reproject a spatial dataset and deliver it to a configured destination. Target CRS is a conversion setting, such as EPSG:4326 or EPSG:3857.
The assistant builds conversion pipelines. It does not create synchronization jobs, SQL transforms, Python scripts, or shell commands. A request for those is reported as unsupported.
Your provider, your credentials
Add a provider under Account → AI Providers. The API key belongs to you. Enciva encrypts it on the server and uses it only to call that provider. There is no Enciva-owned model key.
| Provider | Integration | Live model check |
|---|---|---|
| OpenAI | Implemented. Fixed OpenAI endpoint. You enter the model name and your API key. | Not claimed for every model. Automated tests use mock servers. |
| Anthropic | Implemented. Native Messages API for Claude. You enter the model name and your API key. | Not claimed for every model. |
| Google Gemini | Implemented. Gemini generateContent. You enter the model name and your API key. | Not claimed for every model. |
| xAI | Implemented. xAI chat completions. You enter the model name and your API key. | Not claimed for every model. |
| OpenAI-compatible providers | Implemented. You supply the HTTPS base URL, model name, and API key. | Depends on the endpoint you configure. Not claimed as universally tested. |
Suggested model names are starting points. The model field stays editable. A connection test checks that the provider returns a short reply. It does not confirm that pipeline generation will succeed. Use the live verification checklist before treating a specific model as verified. Provider setup is documented in AI providers.
Native MCP Server
Enciva exposes a Model Context Protocol endpoint on the same server: POST /api/v1/mcp. The external client supplies the reasoning. Enciva checks the structured draft with the same authoring rules used by the built-in assistant. The MCP server does not call an AI provider, and it does not require one to be configured.
A compatible client authenticates with a personal access token that includes Jobs → Compose, plus read access when it needs to see saved connections. With that access, the client can:
- Discover available sources and destinations, including the names and types of connections you already own. Results do not include passwords, API keys, or raw source URLs.
- Discover supported transformations and output formats, and which operations cannot be placed in a generated draft.
- Validate pipeline definitions. The check forces the draft to manual, does not insert a job, and does not enable a schedule.
- Submit a pipeline draft and receive an unsaved document.
saved,executable, andschedule_enabledcome back false. A person imports that document and chooses Save when they want to keep it. - Validate supported preparation plans against an owned source. The check runs the allow-listed plan locally and reports whether it produced features. It does not deliver data or call a model.
Cursor is a verified example of a client that can use this endpoint. Enciva does not claim that every MCP client can connect. Clients that cannot send a bearer token, or that require a standalone SSE stream, will not work with this server. Configuration, permissions, and the tool list are in the MCP documentation.
{
"mcpServers": {
"enciva": {
"url": "https://<host>/api/v1/mcp",
"headers": {
"Authorization": "Bearer <personal-access-token>"
}
}
}
}
AI-assisted data preparation
Some saved downloads are text that GDAL cannot open as-is. Prepare rewrites that file into data GDAL can read, using a fixed list of operations. Databases and map services that Enciva already reads through GDAL do not use Prepare.
The built-in AI Assistant can propose a preparation plan from a bounded sample of a supported source. You review that plan on the Prepare card. Enciva executes only the allow-listed operations: extract JSON from a JavaScript wrapper, extract a JSON object or array, select a JSON path, decode coordinate strings, convert coordinates to numbers, and build a FeatureCollection. Unknown operations, shell commands, and extra fields are rejected. The plan does not assign a coordinate system.
Proposing a plan and executing one are different. The assistant does not rewrite the file while it is proposing. Preview, Run, and a saved Job execute the stored plan on the Enciva server without another call to the AI provider.
MCP can list those operations, sample an owned source, validate a plan, and attach a plan to an unsaved draft. It does not run the pipeline, and it does not author the plan by calling a model. Details are in Intelligent source preparation and MCP source preparation.
Python SDK
Python developers can request the same unsaved drafts with the Enciva package. Version 0.1.2 speaks the Enciva 0.9.10 public API. Processing stays on the server.
pip install enciva
client.assistant.list_providers()
draft = client.assistant.generate({
"instructions": "Convert neighborhoods to GeoJSON.",
"timezone": "UTC",
})
list_providers returns name, model, and whether a key is stored. generate posts the instructions and returns an unsaved draft. It does not create or run a Job. The token needs pipelines:compose. Creating and testing providers stays in the browser. There is no AI-specific CLI command in package 0.1.2.
AI Authors. Enciva Executes. You Stay in Control.
- AI generates drafts. You review the name, source, destination, transform, conversion, and write mode.
- You approve the pipeline definition by opening it, editing it, and choosing Save as Job when you want to keep it.
- AI and MCP do not automatically save, enable, schedule, or execute pipelines. A schedule mentioned in the request is not turned on. Configure it when you save the Job.
- Pipeline execution is deterministic. A saved Prepare plan runs again later without another call to the provider.
- You keep your data and your provider configuration. Keys stay encrypted on the Enciva server for the account that created them. Desktop does not keep a second copy.
Review the draft, then run it.
Start in the web app, connect Enciva Desktop, or call the assistant from Python. The pipeline runs when you say so.