Case Study
How Sella Delivers Scalable Credit Risk Explanations with Prometheux
Read More
Developers / CLI

Ontology as Files,
Shipped by Your CI.

px pull writes an ontology to plain files: Vadalog, SQL, Python, YAML and Markdown. Keep them in Git, test them on your runner, apply them to any environment with px apply. Nothing you build is locked inside Prometheux.

How it works

Out as Files.
Back Through CI.

01

Pull

px pull lists the ontologies you can see, then writes one to ontologies/<slug>/: concepts, data sources, schema and apps. Add --with-files to download uploaded files too.

02

Change

Edit in any editor; the files carry JSON Schema references, so YAML autocompletes as you type. Commit, branch and review with the Git flow you already have.

03

Test

px validate checks the files offline. px test runs the programs and compares the rows with expected CSVs. Both return a non-zero exit code on failure, so CI can block the merge.

04

Apply

px plan is a dry run. px apply writes the files to the environment your token points at. Run it again and an in-sync ontology reports no changes.

The commands

Export, Check,
Import

Three commands cover the move. The pipeline runs the same ones a person runs, with the prompt skipped.

  • Export: px pull <id> writes the ontology. --with-files includes uploads, so the folder can be applied somewhere else.
  • Check before merge: px validate --strict needs no platform. px test needs a running machine and can write JUnit XML.
  • Import: px apply -y against JARVISPY_URL and PMTX_TOKEN. Point those at dev or production.
px pull                                  # list ontologies
px pull 1d22942b9a0                      # write ontologies/<slug>/
px pull 1d22942b9a0 --with-files --out /tmp/copy
Commands from the px CLI. `px test` executes on the engine and needs a running machine. `px validate` does not.
Nothing locked in

Everything Leaves
as Plain Files

What you build in Prometheux is yours to take. The export is readable text in open formats, the tool that writes it is open source, and the same folder applies to a cloud workspace or a host you run yourself.

Open formats

Concepts are .vadalog, .sql and .py files; manifests are YAML; context notes are Markdown. Readable without Prometheux, diffable in any Git host.

The whole ontology

px pull writes concepts, data sources, schema and apps. --with-files adds uploaded data, so the folder alone can recreate the ontology elsewhere.

Open-source tool

px is Apache-2.0 on GitHub. The export format is not a trade secret, and the tool that reads it does not depend on us staying around.

Any destination

px apply targets whatever JARVISPY_URL points at: Prometheux cloud, another workspace, or a Prometheux you run in your own cloud or on-premises.

What this means for you ⟶

Command reference

The dry run is `px plan`. It lists creates, updates and the concepts that will run again before anything changes.

DevOps

Ready for
Automation

Every command runs without a prompt, exits with a code your runner can gate on, and behaves the same on a laptop, a GitHub runner or a locked-down corporate agent.

No prompts

JARVISPY_URL and PMTX_TOKEN in the job, and -y on apply. Any Git host, any runner that can install a Python package.

A failed check fails the job

validate, test and apply exit non-zero when something is wrong. px test --junit-xml publishes the cases to the CI report.

Safe to run twice

Apply is idempotent. A concept is not deleted because its file disappeared unless you pass --prune. An in-sync folder plans as no changes.

Lineage events for your catalogue

px run emits OpenLineage start, complete and fail events, and can POST them to a collector such as Marquez that you already run.

What this means for you ⟶

CI/CD guide

Corporate runners: px honours HTTPS_PROXY, NO_PROXY and a custom CA bundle, and installs from an internal package mirror.

Where it runs

Jobs Teams
Hand to px

CI

Block a bad change

On every pull request, px validate --strict checks the files and px test compares program output with expected CSVs. The JUnit report is attached to the job.

CI/CD guide →
Environments

Promote dev to production

Apply the same folder twice, with the dev token and then the production token. Uploaded files go with --with-files.

px apply →
Exit

Take an ontology out

Someone built it in the browser. px pull writes it as files you can read, archive, review, or apply somewhere else. No export ticket, no proprietary bundle.

px pull →
Context

Bring existing docs in

A *.context.md manifest points at Markdown you already have. px context apply creates or updates those notes.

Context as code →
FAQ

Questions,
Answered

If we leave Prometheux, what do we keep?

The files. px pull --with-files writes every concept, data source, schema, app and uploaded file in open text formats. The CLI is Apache-2.0, so the tool that reads them is yours as well.

Can it run on a locked-down runner?

Yes. px honours HTTPS_PROXY, NO_PROXY, PIP_INDEX_URL, REQUESTS_CA_BUNDLE and SSL_CERT_FILE. Install the wheel from an internal package mirror if the runner cannot reach PyPI.

Is it safe to rerun the deploy job?

Yes. Apply compares the files with the live ontology and does nothing when they match. Commit prometheux.yaml so the next run targets the same ontology. Deletions require --prune.

Does the test need a running machine?

px validate is offline. px test runs the programs on the engine, so it needs a token and a machine that is up; start one in the job with px compute start and stop it in a final step.

Where do secrets go?

Data source credentials are written as ${ENV_VAR} and read from the environment at apply time. They are not stored in the files.

Do we have to use GitHub?

No. The ontology is a folder. Any Git host works, and so does a runner that never uses Git, as long as it can install px and run the commands.

CLI, SDK, API or MCP?

Use px when the ontology should move as files: export, review, test in CI, apply. Use the SDK from a product in Python or TypeScript, the API from anything else, and MCP when a model or agent does the asking.

Pull an Ontology
and Put It in CI

Install px, export an ontology you already have, and read the files.

We use some essential cookies to make this site work. By clicking "Accept All" you agree to the storing of cookies on your device to enhance site navigation, analyse site usage and assist our marketing efforts. For more detailed information see our Cookie Notice.

Accept AllDecline