Skip to main content

Mage AI

Mage AI is an open-source data-pipeline workspace for building, running, monitoring and scheduling data workflows. It combines a visual pipeline editor with code-first Python, SQL and R blocks.

Moltern deploys Mage as a protected, persistent service with a live HTTPS address. Pipeline files and project metadata remain in the workspace when the runtime is replaced.

Before You Start​

You need:

  • a Moltern workspace and environment;
  • permission to create services;
  • an owner email, username and strong password;
  • at least 250 mCPU and 1 GiB of available runtime capacity;
  • enough workspace storage for pipeline code, logs and intermediate files;
  • protected credentials for any external data source used by a pipeline.

The Mage owner account is separate from your Moltern account. Store its password in your organisation's password manager and do not embed data-source credentials in pipeline code.

Deploy Mage AI​

  1. Open Services and select Mage AI.
  2. Enter a unique service name.
  3. Select the project and environment that will own the pipeline workspace.
  4. Keep the validated starting capacity or choose a larger fixed size.
  5. Enter the first owner's email, username and password.
  6. Select Preview deploy.
  7. Review the workload, capacity and storage impact.
  8. Select Confirm deploy and wait for Running.

Mage AI deployment form with capacity and protected owner fields

Mage AI deployment preview before confirmation

This catalog profile has no managed service dependency. Add each database, object store or API through an approved connection when the pipeline needs it.

Mage uses fixed capacity in the current catalog profile. A single workspace owns local pipeline files and project metadata, so automatic horizontal scaling is not presented as safe for this profile.

Sign In​

  1. Open the Mage AI service in Moltern.
  2. Select Open service.
  3. Enter the owner email and password configured during deployment.
  4. Select Sign into Mage.
  5. Confirm that the pipeline workspace loads.

Protected Mage AI sign-in page after deployment

An authorised workspace member can use Moltern's protected connection-details flow when an original managed credential must be recovered. Credentials are not shown in deployment logs or public documentation.

Create A Pipeline​

  1. Open Pipelines.
  2. Select New pipeline.
  3. Enter a descriptive pipeline name.
  4. Choose the pipeline type that matches the workflow.
  5. Add a data-loader block.
  6. Add transform and export blocks as needed.
  7. Save the pipeline before running it.

The production E2E creates a real Python pipeline and a data-loader block whose code returns a controlled record. It then opens that exact pipeline in Mage's editor. This validates pipeline and code creation rather than only checking the home page.

Mage pipeline editor opened on the pipeline created by the production validation

Build A Reliable Workflow​

Keep blocks small and explicit:

  • loaders should read from one documented source;
  • transformers should return predictable tables or records;
  • exporters should make retries safe where possible;
  • credentials should come from protected configuration;
  • large temporary files should have a documented retention policy;
  • pipeline names should identify the owning team and business purpose.

Run a small representative input before scheduling a large job. Validate row counts and output schemas between blocks so a source change fails visibly.

Connect Data Sources​

Mage supports databases, warehouses, object storage and HTTP APIs. Use the connection method supported by the target system and keep credentials in protected runtime configuration.

Before enabling a schedule:

  1. verify network reachability from the Mage runtime;
  2. test the least-privilege data-source account;
  3. confirm the pipeline can retry safely;
  4. validate the destination schema;
  5. record who owns rotation and incident response for the credential.

The current production validation does not certify a specific external database, warehouse or provider attachment. Test the exact integration in a non-production environment before relying on it.

Run And Schedule Pipelines​

Use a manual run for the first execution:

  1. open the pipeline editor;
  2. run the loader block with controlled input;
  3. inspect block output and logs;
  4. run downstream blocks in order;
  5. confirm the destination received the expected result;
  6. configure a schedule only after the manual run is repeatable.

Monitor scheduled runs for duration, retries and failed blocks. A green service status means the Mage workspace is available; it does not mean every scheduled pipeline succeeded.

Storage And Persistence​

Moltern assigns Mage a private path in the workspace filespace. The runtime sees only the path assigned to this service, not the complete team filespace.

Pipeline code, project configuration and local workspace state are retained in that path. The deployment does not request a separate cloud disk, and storage use is measured against the Mage workload path.

Production validation performed a full Stop service and Start service cycle. Moltern replaced the runtime, then the same owner authenticated and the original Python pipeline and data-loader code remained available.

The same Mage pipeline workspace after runtime replacement

Stop/Start validates runtime replacement and workspace persistence. It is not an independent backup restore. Keep pipeline code in version control where appropriate and follow your organisation's recovery policy.

Capacity And Metering​

The validated Mage baseline is:

ResourceValidated value
Instances1
CPU request250 mCPU
Memory request1,024 MiB
Dedicated volume0 GiB

Workspace storage grows with project code, logs and intermediate files. Moltern reports the assigned path under Billing → Storage by workload.

Increase CPU or memory from Capacity when block execution is resource-bound. Measure a representative run before keeping a larger PAYG allocation. A larger runtime does not correct inefficient queries or unbounded intermediate data.

Operate Mage AI​

Use the Moltern service page for:

  • Overview to open Mage and review service health;
  • Live Logs to diagnose startup and request failures;
  • Capacity to adjust CPU and memory;
  • Access to review approved workload connections;
  • Settings to review protected service configuration;
  • Stop service and Start service to replace the runtime without deleting the project workspace.

First startup can take several minutes while Mage prepares the project workspace. Do not submit duplicate deployments while the active deployment is still progressing.

Delete Mage AI​

  1. Export or commit pipeline code that must be retained.
  2. Preserve run evidence required by your audit or recovery policy.
  3. Open the Mage AI service in Moltern.
  4. Select Delete Service.
  5. Select Delete stored data only when the project workspace may be removed.
  6. Complete the protected account confirmation.
  7. Confirm the service, generated address and workload allocation are gone.

Deleting stored data removes only Mage's assigned path. It must not remove sibling services or the workspace filespace itself.

Frequently Asked Questions​

Does Mage AI include a data source?​

No. Create a pipeline and configure each database, object store or API through an approved private connection or protected credential.

Do pipelines survive Stop/Start?​

Supported project and pipeline files in the assigned workspace path remain available after the replaceable Mage runtime starts again.

Is Stop/Start a backup test?​

No. It validates runtime replacement and persistence. Critical pipelines still need an independently tested export and recovery process.

Troubleshooting​

SymptomWhat to check
The service remains in DeployingReview Live Logs for workspace initialization. Wait for the active deploy instead of creating a duplicate.
Owner sign-in failsUse the exact owner email and password entered during deployment. Confirm keyboard layout and password-manager autofill.
The pipeline editor is blankWait for the named pipeline to finish loading, then refresh once. Review browser requests and Live Logs if it remains blank.
A block cannot reach its data sourceConfirm the target address, approved connection and least-privilege credentials. Test DNS and TCP reachability without printing secrets.
A scheduled run does not startConfirm the schedule is enabled, the service is Running and the pipeline has no unresolved configuration. Review the run history and logs.
A pipeline is slow or runs out of memoryInspect the slow block and intermediate data size. Increase capacity only after measuring the same controlled run.
Project code is missing after a restartStop changes, verify that the original service was restarted rather than deleted with stored data, and contact support before recreating files.

Validated Scope​

The current production validation covers:

  • deployment through the Moltern UI;
  • protected owner authentication;
  • real Python pipeline creation;
  • real data-loader block and source-code creation;
  • opening the named pipeline in the Mage editor;
  • pipeline and code persistence after Stop/Start runtime replacement;
  • point-in-time replica, CPU, memory and dedicated-volume accounting;
  • protected service and data cleanup with allocation removal.

Block execution against an external data source, scheduling accuracy, concurrent developers, large datasets, sustained load, high availability, independent backup restore and elapsed-time invoice reconciliation remain outside this validation.