Free to start, no credit card. 15 runs a day, 3 of them with AI. Create free account
documentize.cloud

Architecture note

What is built, and what is left

The engine changes, the workspace, library and run objects, and the console are built; what is left is deployment.

Engine changes: all four built

The orchestrator work this page originally planned is done. One of the four ships switched off.

C0 — Pipeline entry

done

A pipeline topic takes a shipped template name or an inline plan, and validates it before anything runs. It works over Kafka, or over ConfigMap queues when a cluster has no broker.

C1 — Per-step parameters

done

A step's with: options are translated through the plugin catalogue and merged into that step's payload. This is what made the recipe DSL possible.

C2 — Lazy plugin warm-up

done

Pods no longer warm the whole catalogue at boot. A plugin's worker starts on first use and is stopped after an idle TTL; a short list can still be pre-warmed.

C3 — Distributed step leasing

built · off by default

Pipeline state lives in the bucket and pods lease ready steps, so one pipeline can spread across pods and a pod that dies loses one step instead of the run. Enabled with DAG_STEP_LEASING=true; rollout awaits a real multi-pod environment.

The objects that were missing

All three now exist in Cloud.Api, stored in the processing bucket with compare-and-swap writes — no database, no locks.

ObjectWhat it is now
WorkspaceOne personal workspace per user, derived from the same identity as documentize.app and .ai (OIDC token or dmk_ key). Tier sets quotas.
LibraryWorkspace-owned files with presigned direct upload, path claims, quotas and an upload sweeper. Library files are kept in a durable bucket; engine task folders live in the processing bucket, which is cleared every 24 hours.
RunA frozen recipe over a set of files, with one item per file. A background advancer on every replica submits items, polls for completion, copies outputs back into the library and streams progress.

Milestones

Backend and console are built. What is left is getting it running somewhere shared.

M0–M2

Engine reachable

Build fixed, streaming sketches moved out of the shipped set, catalogue published as JSON, format routing wired in, pipeline entry and per-step options, recipe grammar v1.

catalog.json · /routes · Cloud.Recipes
done
M3

Workspace and library

Auth, workspaces, quotas, library CRUD with presigned upload. Two replicas give no lost updates.

Cloud.Api · ICloudStore (S3 + filesystem)
done
M4

Runs and the live view

Fan-out over a file selection, the run advancer, outputs promoted into the library, server-sent events for progress, cancel.

/runs · /runs/{id}/events
done
M5

Recipes, serverless surface, MCP

Recipe CRUD and save-as-recipe, linear recipes chained over Cloud.Serverless, and MCP tools for agents.

/recipes · surface: serverless · /mcp
done
M6

Engine efficiency

Lazy warm-up and step leasing behind a flag.

C2 · C3
rollout pending
U0–U5

The console

Sign-in and overview, library, runs list and live run view, run builder with generated forms, recipe editor with live validation, plugin catalogue, API and MCP page. Runs in local mode against a simulated engine with no deployment.

Cloud.UI/wwwroot/cloud-www/console
built

What is still open

Nothing here is an architecture question; it is operations and polish.

ItemState
DeploymentImages are built by CI; the Argo CD apps for Cloud.Api and Cloud.Serverless are not written. Multi-replica safety is verified in-process, not on real pods, and the end-to-end QA job has not been run.
Sign-inThe console signs in with a dmk_ key today. Dynabic OIDC needs a client id and redirect URIs to be issued.
Browser uploadsThe storage bucket needs a CORS rule allowing PUT and GET from the console origin.
Quotas and retentionPer-tier numbers are placeholders until pricing is set; blob retention per tier is undecided. Engine cost (plugin cost × time) is not metered yet — only runs and files per day.
Serverless coverage29 plugins have a serverless equivalent. Merge, split, esign and search are not available there, and AI workers need a configured LLM endpoint.
Large-document splittingThe split / fan-out-by-page / merge plan builder exists but is not used by the orchestrator.
Plugin packagingPublished into one folder, a shared dependency version breaks PDF/A conversion on some builds; each plugin should publish into its own folder or versions should be aligned.
Shared document logicStill duplicated between the plugin tree and the serverless workers — see Three SKUs.

The plugin catalogue

Four plugins joined the tree most recently: ask-pdf, pdf-kb, cheat-sheet and unwatermark.

Plugins now ship as signed release builds. A plugin applies its built-in document-library licence only when a valid paid key is present and its files match the signed manifest; otherwise it runs in evaluation mode and says why. Release builds also send one anonymous usage report per run, which can be turned off with DOCUMENTIZE_TELEMETRY_OPTOUT=1. Cluster plugins are built in Debug and are licensed from the environment instead.