- Morphik Cloud UI: The control plane that handles users, orgs, billing, and app provisioning.
- Morphik Core: The data plane that stores documents and embeddings, runs ingestion, and serves retrieval and chat.
Components at a glance
Morphik URI: the contract between UI and Core
When you create an app, Morphik Core returns a Morphik URI:app_id, and Morphik Core uses that to isolate data per app.
Provisioning flow (control plane)
App creation is a control-plane operation that provisions an app and returns a Morphik URI. In a dedicated-cluster setup, the UI can call the cluster directly (instead of the shared API) and pass an admin secret to mint the URI.Runtime flow (data plane)
Once an app exists, the UI talks to Morphik Core directly from the browser. Core verifies the token and scopes all reads and writes byapp_id.
Ingestion
If you run in local embedding mode, the worker generates embeddings on the core instance instead of calling the external GPU.Retrieval and chat
Agent mode (server-side)
Agent mode runs in a server route (Cloud UI) so it can call your LLM provider securely. The agent uses Morphik Core as a tool:- The UI calls
/api/agent/chaton the Cloud UI. - The server route calls Morphik Core for retrieval (using the app token).
- The server route streams the LLM response back to the browser.

