Karyo
Documentation/ Engine capabilities

Engine capabilities

Karyo 2.1.1rendered at build time
On this page

At the Karyo 2.0.0 release there is one product: the complete set of ten engine capabilities ships in the one Apache-2.0 distribution as ordinary modules of this repository, and no licence is needed for any of them (ADR 0030, ADR 0031). What an installation shows is its profile (ADR 0052): Core, the default, or Extended. This page is the outside view: what each capability does, what it needs, what it deliberately does not do, and what an installation shows before a capability is configured.

How the engine modules sit in the one build, and how slotting hands its analysis to Loci, is in The engine boundaries. What became of the 1.x licence gates is in Unconfigured states.

Core and Extended

Core is receiving to shipping for one warehouse operation. Extended adds twelve capabilities, each with its own key on the Capabilities panel:

Extended capability Panel key What appears when it shows
Waves waves The Waves page, the Wave release mode, wave settings, and Sort and Pack-out on the floor app
Streaming streaming The Streaming page, the Stream release mode and the streaming switch
Monitors monitors The Monitors page, the monitor-alert check in Exceptions and the alert-channel settings; its evaluator runs
Forecasting forecasting The Forecasting page, and the demand forecast and reorder point on Items
Slotting view slotting The Slotting page, the Slotting layer on Home and the class chips on Items - once a Loci address is set
Simulation simulation The Simulation page
Document templates document-templates Admin > Document templates
Integrations integrations Admin > Integrations
SPI catalogue spi-catalogue Admin > Extensions (SPI)
Cartonization cartonization The cartonization box limits, and the cartonization hint on order strategies
Cross-dock cross-dock The cross-docking settings
3PL billing three-pl-billing The 3PL rate and currency settings

Everything else is Core, Exceptions included (without its monitor-alert check). Facility rollups show only when the Company has more than one active Facility, and the Connected agents controls and the Approvals page only while the installation's agent access (/mcp, part of Core) is on; it is off by default.

The install default is KARYO_PROFILE=core|extended in scripts/.env.prod. After that, a Company administrator who holds settings.manage changes the profile, or switches one capability on or off, on Admin > Capabilities: the panel previews what shows and hides and asks for confirmation. A hidden capability is absent, never greyed; its data stays, and switching it on shows that data as it was. Its REST routes stay callable, because a profile thins the surface and never decides authority. Switching a capability off lets its open work finish: open waves keep the Waves page and the floor app's Sort and Pack-out until they are done, and nothing starts a new wave. A hidden Monitors capability pauses its evaluator. A monitor rule that belongs to a hidden capability is hidden too; Monitors says when. Hiding a capability does not stop an engine whose work switch is on: the panel's preview warns of it, and the switch stays listed in System properties until it is switched off.

Ten capabilities, nine modules, eight keys

Capability Capability key What it does What it does not do
Event monitors monitors Runs scheduled warehouse-risk detectors and delivers fired alerts by email or Slack The detector catalogue is fixed by the engine; delivery does nothing until a channel is configured
Demand forecasting forecasting Produces read-only, on-demand per-SKU demand forecasts and reorder-point suggestions Does not place purchase orders or execute replenishment
Slotting slotting Sends Karyo's warehouse facts to Loci, which ranks each SKU by pick velocity against where it sits and advises promote, demote or hold, up to slot-class (zone tier) advice at the level Loci grants; Karyo holds every fixed-location SKU whatever Loci advised Never names an exact bin and never moves stock: a person reviews, and Karyo applies an accepted move through its own workflows. Has no analysis of its own: without Loci there is no advice
Reorder simulation simulation Backtests naive and safety-stock reorder policies against demand history, on demand Is not a real-time model of the warehouse
Cartonization cartonization Splits picked goods across cartons by line and quantity limits Is not geometric or 3D packing optimisation
Document templates documents Keeps versioned per-goods-owner overrides for generated PDF and ZPL documents Overrides only a fixed list of documents; the document archive and ordinary generation stay in the core modules
Cross-docking advanced-fulfillment Routes matching receipts to outbound staging, with ordinary putaway as the fallback Has no screen of its own; does nothing until a matching rung is enabled
Wave fulfilment advanced-fulfillment Selects and allocates orders for batch picking, sorting and cross-order pack-out Does not replace ordinary picking and packing - it orchestrates them
Order streaming advanced-fulfillment Releases eligible orders in micro-batches and tracks waiting or stalled work Does not recover stalled work on its own or send notifications
3PL billing three-pl Serves each goods owner its own storage rate card, and lets operating-company managers preview a priced storage statement for a named goods owner Prices storage only, from a unit-load-day quantity the caller supplies; does not measure occupancy, issue an invoice or store a statement

Three of the ten share the advanced-fulfillment key: cross-docking, waves and order streaming. 3PL billing has no module of its own: it ships inside the event monitors module under its own three-pl key. So the ten capabilities come in nine modules, and the keys number eight. The keys are the 1.x entitlement vocabulary, kept only because GET /api/v1/license reports them - all eight, to every signed-in caller - for integrations that read it. The console does not read them: nothing in the console asks about a licence, and no page has a locked state.

Wave fulfilment is best described as orchestration over the picking and packing primitives, and so are cross-docking and order streaming: each reaches the warehouse through the shared ports, as the next sections show.

Slotting is Loci's analysis over Karyo's facts

Loci is the slotting engine, and slotting advice requires it. It is a separate Apache-2.0 product that an operator deploys on its own and names to Karyo with one setting, karyo.slotting.loci.base-url (KARYO_LOCI_BASE_URL, ops-controlled); every other capability works without it. The two sides keep a fixed division of work:

Karyo owns Loci owns
The warehouse facts: pickable stock with its on-hand quantity, picks in the demand window, zones and location order, fixed-location assignments The analysis: velocity classes, ranking, the promote/demote/hold direction, the review ask and the reason
The hard constraints: a SKU pinned by a fixed-location assignment is always shown as Hold, whatever the engine advised The advice level: L1 prioritization, or L2 slot-class advice once every location a placement references has a zone (the zone names FORWARD, MID and RESERVE decide promote or demote; any other name holds); exact-bin (L3) is never asked for
Authorization (the route declares operations.view and is scoped to the Facilities where it is granted), human review, and applying an accepted move through Karyo's own workflows Nothing else: Loci stores no input and no output
The UI: the Slotting page, the class chips on Items

Without a Loci base URL there is no slotting advice: Karyo ranks nothing itself, the route answers a 503 problem (slotting-engine-not-configured) that names the setting, and the Slotting view stays hidden - the page, the Slotting layer on Home and the class chips on Items are absent - until an operator connects it. Loci authenticates callers with a bearer token from its OIDC provider; an unset token URL means Karyo sends no credential, which only an unauthenticated Loci on a private network accepts. A goods owner with no pickable stock or no picks in the window has nothing to rank: Loci is not asked, and the page says so. A configured Loci that does not answer, or that refuses the snapshot, is an error the page shows with the server's detail; Karyo has no advice of its own to fall back on.

What each capability needs before it does anything

Every engine module is part of the distribution, and no licence decides what it does. Besides showing in the profile, each one needs its own configuration:

Capability Also needs
Event monitors For email or Slack delivery, a channel: karyo.alerts.email.recipients (empty means the email channel refuses delivery) or karyo.alerts.slack.webhook-url (services/auth-service/karyo-auth-core/src/main/kotlin/com/karyo/auth/config/SystemPropertyCatalog.kt); in-app alerts and alert.fired to an existing webhook subscription need no channel
Cartonization An order strategy whose packout strategy is CARTONIZATION, in any spelling. Box limits are karyo.packing.cartonization.max-lines-per-box and max-amount-per-box; the shipped default is one line per box, which maximises cartons
Cross-docking One or both matching rungs enabled per client - karyo.crossdock.pre-distributed, karyo.crossdock.opportunistic, both default false
Wave fulfilment For scheduled release, karyo.wave.auto-release for the Facility and waveAutoRelease on the strategy, both default off
Order streaming karyo.streaming.enabled for the client, default false, and a strategy or order whose release mode is STREAM
Forecasting, simulation Pick history inside their window; tuning keys under karyo.forecasting and karyo.simulation in services/karyo-app/src/main/resources/application.yaml
Slotting A connected Loci for any advice at all: karyo.slotting.loci.base-url (KARYO_LOCI_BASE_URL) and karyo.slotting.loci.timeout (default 15s); unset, the route answers that slotting advice requires Loci. A Loci in oidc mode also needs KARYO_LOCI_TOKEN_URL, KARYO_LOCI_CLIENT_ID and KARYO_LOCI_CLIENT_SECRET (and KARYO_LOCI_TOKEN_SCOPE when the provider puts roles in a scope, profile for Authentik); unset, Karyo sends no credential. Then pick history inside the window; a zone on every location for slot-class advice, named FORWARD, MID or RESERVE for Loci to recommend a move; and no zone name longer than the 64 characters Loci's contract accepts (Karyo refuses the snapshot before the request and says why)
Document templates An operations administrator to author overrides; the bundled templates render otherwise
3PL billing An operations administrator to set karyo.threepl.rate.storage-per-ul-day - unset, storage bills at zero - and karyo.threepl.currency if the default USD is wrong. A goods owner cannot set either

What an installation shows before a capability is configured

While a capability shows, its console screen opens on its live view and waits only for its own configuration. While it is hidden, none of these surfaces is there at all:

Surface What it shows
Insights > Monitors The monitor catalogue and the alert feed. Monitors are enabled in every active Facility by default, so alerts appear once a detector fires
Insights > Forecasting, Simulation Their tables once there is pick history; an empty state until then
Insights > Slotting Absent until a Loci address is set. With Loci, the advice table and record pane once there is pick history, under an engine strip that says Loci connected, or Loci configured (a set Loci with nothing to rank) over an empty state
Fulfillment > Waves, Streaming The live boards. Scheduled wave release and streaming wait for their switches
Admin > Document templates The override editor; the bundled templates render until an override is active
Warehouse > Items The forecast columns, filled from pick history, and the Class A/B/C chips and filters, filled from Loci's advice; an item Loci has no advice on shows a neutral No class yet dash chip, and without Loci no class is shown and a note says they need Loci
Overview > Exceptions, Control The monitors engine's firing alerts as one more check and as the Exceptions widget on Control, empty until a detector fires
Receiving and Tasks Ordinary putaway until a cross-docking rung is enabled. Cross-docking has no screen of its own
The floor app's Sort and Pack-out transactions Their live screens
Admin > System properties The engines' knobs, which take effect when set. The switches of an engine's own work stay listed while its capability is hidden
The database The engines' tables, created on every installation and empty until a capability acts

There is no locked state anywhere in the console. A list page with a read gate shows the permission state and names the action when the principal's grants do not hold it (Shipments needs fulfillment.read, Orders orders.read, and the engine pages operations.view); a page whose request fails shows its error state with the server's detail and a retry named for the action; a page with nothing to show says so.

One image contains all ten

There is one build shape: settings.gradle.kts includes all nine engine modules unconditionally and the app depends on all nine, which carry all ten capabilities (settings.gradle.kts, services/karyo-app/build.gradle.kts). There is no per-engine build flag and no second image, and no licence gates: every installation has every capability wired into CDI with its tables migrated, and each acts once its own configuration allows. The profile decides only what the console and the floor app show. One artefact serves every deployment. Loci is the one thing outside the image, by design: it is a separate product an operator may or may not deploy.

Their data lives in the aggregator

Every engine's schema is in this repository's aggregator, not in the engine: the monitors, cross-docking, wave and streaming migrations and the document templates table are applied to every installation, and the wave and streaming engines also stamp columns onto shared tables (Data and persistence).

Cartonization, forecasting, slotting, simulation and 3PL billing add no schema at all: they are pure reads.

They mostly drive shared code

None of the three Advanced Fulfillment engines touches stock directly. Each one reaches the warehouse through a port declared in an -api module:

Engine Port Implementation
Wave fulfilment OrderReleasePort, BatchPickPort .../orders/messaging/DefaultOrderReleasePort.kt, .../fulfillment/service/WavePickService.kt
Order streaming StreamingReleasePort, PickReleasePort .../orders/messaging/DefaultStreamingReleasePort.kt, .../fulfillment/service/DefaultPickReleasePort.kt
Cross-docking CrossDockOrdersPort, TransportOrderPort .../orders/service/DefaultCrossDockOrdersPort.kt, .../tasks/service/DefaultTransportOrderPort.kt

The traffic runs the other way too. karyo-tasks-core injects Instance<CrossDockLookup> and skips auto-putaway for a line the engine claimed (.../tasks/service/TaskService.kt). karyo-fulfillment-core refuses to pack a wave member whose picks sit on a shared cart and tells the caller to pack it at its consolidation group (.../fulfillment/service/ConsolidatedOrderGuard.kt). Shared code knows about the engines by design, through interfaces it owns.

The four insight engines - monitors, forecasting, slotting and simulation - are the opposite shape: they own no writes to warehouse state and read the shared schema with native SQL, against tables such as karyo.picks, karyo.stock_units, karyo.fix_assignments, karyo.inventory_journals, karyo.transport_orders and karyo.delivery_orders. Slotting is the one that also talks outward: it sends what it read to Loci as Loci's neutral contract and shows what comes back.

What the disclosure endpoint tells a caller

GET /api/v1/license is @PermitAll and never gated (libs/karyo-license/src/main/kotlin/com/karyo/license/LicenseResource.kt). Anonymous callers get {"edition":"community"}. Authenticated callers also get entitlements: all eight capability keys, on every installation, whatever licence settings it still carries. The console never calls it; it exists for integrations that still read it. Licence settings (retired) has the detail.

The capabilities and the product's own settings screen

SystemPropertyCatalog lives in karyo-auth-core and carries entries for cross-docking, waves, order streaming and cartonization, the two alert-delivery keys the monitors engine reads, the 3PL storage rate and billing currency the 3PL billing engine bills at, and the Loci base URL the slotting engine calls (services/auth-service/karyo-auth-core/src/main/kotlin/com/karyo/auth/config/SystemPropertyCatalog.kt). The catalogue is the single code-defined list of runtime knobs, and the engine keys are listed because the engines are part of the product; nothing weighs the cost of one catalogue rather than a per-module registry. Each engine key names its Extended capability, and the settings screens list it only while that capability shows, except the switches of an engine's own background work, which stay listed while it is hidden. The profile's own keys sit in the same catalogue and change only on the Capabilities panel.

Known gaps between what the product says and what it does

  • Cartonization's shipped default maximises cartons. One line per box is what an installation gets until someone changes it.

Questions about the engine capabilities go through SUPPORT.md.