Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

PDX Artifact Engine

PDX Artifact Engine is a model-optional, deterministic artifact orchestration framework. It turns structured plans into skill calls, verification results, and checksummed manifests.

No trained PDX model weights are included in this repository. Plans may be supplied manually, by rules, or later by an external model provider. PDX-5B-1B+ experts are an optional future bundle, not a v0.1.0 requirement.

Source version in this branch: 0.3.0a11.

Latest verified PyPI release: 0.3.0a9, published from tag v0.3.0a9 at commit 629f641fe3f3e108c08e1ceb51622c524c6cb57e.

python -m pip install "pdx-artifact-engine==0.3.0a9"

Media adapter 0.2.0a3 remains the current standalone release and was not republished with Engine a9.

The separately packaged OfficeCLI adapter 0.1.0a1 remains an unpublished, disabled prototype.

Engine a6 adds an authenticated, read-only per-step recovery projection without modifying the a5 workflow contracts or durable authority model.

The prior coordinated security cut and its accepted OS boundary remain recorded in the rc4/a4 publication record. Engine a5 adds the runtime-provider workflow without changing those frozen historical records.

Positioning

Claim Status
pdx_execution_plan_v1 + ToolRequest/Result schemas Available (0.3.0a5; introduced in 0.3.0a1)
v0→v1 plan translator (rejects unresolved expert) Available (core)
Run state machine (awaiting_* → running) Available (core)
Bounded run snapshot + step receipt contracts Available (0.3.0a5; introduced in 0.3.0a1)
Checkpoint CAS + decision record-once repository ports Available (core)
Replay-safe pending-only snapshot resume Available (engine)
External-operation pending/unknown/reconcile lifecycle Available (core)
Execution context, cooperative cancellation, receipts, ordered events Available (core)
Durable runtime-provider workflow v1 (23 packaged schemas, SQLite CAS, authenticated activation, HMAC leases, receipts) Available (0.3.0a5)
Read-only workflow step recovery projection Available (0.3.0a6)
Generic conformance-check binding Published (0.3.0a8)
Media technical conformance evaluator Published standalone (0.2.0a3)
Product-neutral provenance export Published (0.3.0a9)
Optional OfficeCLI executor adapter Prototype; disabled and separately packaged
Validate plan.json against v0 schema Available
Load skill registry + dispatch skills Available (v0 kinds)
Deterministic fixture staging Available
Mock skill execution for CI / demos Available
Write artifact_manifest.json + run_manifest.json Available
RulePlanner / ManualPlanner Available (to move out of Core per plan)
ProDocuX HTTP /v1 adapter Available (alpha) (adapters/prodocux/)
ProDocuX deterministic block extraction/render tools Available (alpha) (prodocux.extract_content_blocks, prodocux.render_artifact)
Real ProDocuX / FreeCAD / Blender subprocess execution Register executors
LlamaCppPlanner / GGUF download / hot-swap Planned
Shipped PDX-Core-1B weights Not included (separate release)

Target architecture (not present in v0.1.0): a future 8 GB mode may keep a PDX-Core-1B router resident and hot-swap specialists. That is a roadmap goal, not a current runtime capability.

Core thesis

plan.json  (manual | rules | future model provider)
  -> skill dispatch
  -> artifact outputs
  -> verification
  -> artifact_manifest.json + run_manifest.json

Small models should eventually plan and repair. Skills should execute artifact creation with deterministic tools. v0.1.0 proves the second half without the first.

Install

pip install -e ".[dev]"

Install the current Engine prerelease using the verified PyPI command at the top of this README.

The older published wheel pdx-artifact-engine PyPI 0.3.0a1 predates the additive extract/render freeze and must not be overwritten. Frozen compatibility v3 still pins implementation commit 37e89752560b22dc8724d470dce96187f19e3f98.

Requires Python 3.11+.

The product-neutral ProDocuX HTTP adapter ships in the main distribution. The media identity/probe adapter is optional and has its own package:

pip install ./adapters/media

Install its coordinated standalone PyPI package with:

pip install "pdx-adapter-media==0.2.0a3"

See the pdx-adapter-media PyPI project.

See docs/RELEASE.md for package boundaries and release verification.

The active coordinated ProDocuX/PDX prerelease surface is recorded in compatibility/pdx_prodocux_compatibility_v2.json. Additive extract/render pins are recorded in compatibility/pdx_prodocux_compatibility_v3.json. G1A in that manifest is the frozen synthetic render-conformance fixture set. Current tags, package versions, assets, and publication state are recorded in compatibility/pdx_prodocux_release_v1.json. The immutable v1 manifest remains packaged in the repository as historical compatibility evidence.

Deterministic demo (no LLM)

From the repository root:

python -m pdx_artifact_engine.cli.run \
  --plan examples/plans/pif_deterministic_plan.json \
  --output-dir .tmp/pif-deterministic \
  --mock

Or generate a plan with RulePlanner:

python -m pdx_artifact_engine.cli.run \
  --rule-request examples/requests/pif_rule_request.json \
  --output-dir .tmp/pif-rule \
  --mock

Both write:

  • run_manifest.json — overall completed / completed_with_review / failed / blocked
  • artifact_manifest.json — files, provenance, verification

CLI exit code is 1 when status is failed or blocked.

Aspirational plan (contains expert step)

examples/plans/pif_workflow_plan.json still includes a PDX-Doc-1B expert step to document the future shape. Without --mock, that plan blocks. With --mock, the expert is simulated and the run is marked completed_with_review.

Planner providers

Provider Current prerelease status
ManualPlanner (--plan) Yes
RulePlanner (--rule-request) Yes
ExternalPlanner Stub (raises)
LlamaCppPlanner Stub (raises; planned, not implemented in 0.3.0a5)
Future PDXCorePlanner Not started

Schemas

Schema Purpose
schemas/plan.schema.json Workflow plan (+ optional depends_on)
schemas/skill.schema.json One skill's metadata
schemas/skill_registry.schema.json Registry document
schemas/artifact_manifest.schema.json Deliverable manifest
schemas/run_manifest.schema.json Run status
schemas/model_manifest.schema.json Optional model descriptor (no weights)
schemas/3d_spec.schema.json CAD/scene specs

The packaged Core additionally publishes execution-plan, verifier-result, workflow-checkpoint, approval, artifact identity, step receipt, run snapshot, external operation, execution context, publication receipt, and run event v1 contracts. ArtifactRuntime accepts product-owned verifier implementations through an injected registry; missing verifiers fail closed unless the host explicitly selects review policy. Serialized snapshot resume validates plan, subject, evidence, artifact, and receipt digests and executes only pending steps. Provider polling, durable databases, scheduling, and domain policy stay outside Core.

Model weights stay outside git. Describe them with examples/models/*.manifest.json and docs/model-cards/.

Repository layout

docs/                 Architecture, roadmap, model cards, Phase 0 contracts
packages/             Packaged Core source and schemas
adapters/             Product-neutral optional integration packages
schemas/              JSON contracts
examples/             Plans, fixtures, rule requests, model manifests
notebooks/training/   Training plans (no weights)
runtime/              Python package `pdx_artifact_engine`
skills/               Sample skill registry
evals/                Eval notes
tests/                pytest

Historical v0.1.0 release criteria

  • Apache-2.0 license
  • Unified skill + registry contract
  • README states model-optional clearly
  • depends_on + $step.output wiring
  • Honest run status (no silent success on blocked experts)
  • Deterministic E2E example without LLM
  • model_manifest schema (weights out of band)
  • Path traversal rejection for file_exists / mock outputs
  • Unknown skill / executor errors always write schema-valid failed manifests
  • Cycle detection covered by tests
  • Fresh Python 3.12 venv pytest green

License

Apache License 2.0. See LICENSE.

Near-term roadmap

See docs/ARCHITECTURE.md for the supported runtime boundaries and docs/PUBLIC_DOCUMENTATION_POLICY.md for the public/private documentation boundary.

  1. Integrate the available ProDocuX HTTP adapter tools into product-owned skill registries and executors (M1).
  2. Convert ProDocuX runs into planner traces.
  3. Train and publish PDX-Core-1B out of band; wire LlamaCppPlanner in a future version.
  4. Low-RAM hot-swap runtime (M7).

Release files for pdx-artifact-engine 0.3.0a11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pdx-artifact-engine 0.3.0a11
File Size Uploaded
pdx_artifact_engine-0.3.0a11.tar.gz 164.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pdx-artifact-engine 0.3.0a11
File Interpreter ABI Platform
pdx_artifact_engine-0.3.0a11-py3-none-any.whl Python 3 none any Details

Total release size: 324.1 kB

Release files / pdx_artifact_engine-0.3.0a11.tar.gz

Download URL pdx_artifact_engine-0.3.0a11.tar.gz
Size 164.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1ebb9059362908e67fe5e085485f8538afad57be7783d20e9ac030016b8a66aa
BLAKE2b-256 checksum
How to use checksums
81b1f134af393e61eb5d98300faa3bbd7d93ac95a106970fe1e6460405790ce2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 26, 2026.

Transparency log

Release files / pdx_artifact_engine-0.3.0a11-py3-none-any.whl

Download URL pdx_artifact_engine-0.3.0a11-py3-none-any.whl
Size 159.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f3fe33a53e37e405e383adb907479954f036609768fc52dbde71e19e22e509d
BLAKE2b-256 checksum
How to use checksums
28637ba14a5c15ee54351d6648eb4a5834e496af5a0b58c4b5314bd87e66b66d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 26, 2026.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page