luxo-ml
Luxo ML
ScaffoldThe model operations layer for versioned domain models. Defines schemas, artifacts, evaluation reports, and promotion rules before model outputs influence runtime behavior.
- Package
- luxo-ml
- Layer
- Model contract layer
- Used by
- invoice.router · invoice.extractor · future supplier ranking · future learning personalization
Architecture
The package sits between the host application and runtime outputs. The host owns auth, data, and side effects; the package validates and shapes flow.
Host
Application workflow
Auth, data, product state, and side effects stay owned by the host app.
Package
Luxo ML
The model operations layer for versioned domain models. Defines schemas, artifacts, evaluation reports, and promotion rules before model outputs influence runtime behavior.
Outcome
Agent outcome
Approved actions, responses, feedback, metrics, or model signals flow back to the product.
Capabilities
The contract surface, summarized.
| Capability | Detail |
|---|---|
| 01 | Versioned contracts for routers, extractors, rankers, and personalization models. |
| 02 | Evaluation artifacts that separate candidate experiments from production behavior. |
| 03 | Typed model interfaces so agents consume model outputs as soft signals. |
| 04 | Promotion paths that keep model changes auditable before deployment. |
Used by
Concrete consumers in the LuxoAI fleet.
Integration shape
Drop into a host app. The host keeps auth, persistence, and side effects.
type LuxoModelTask = {
id: string;
inputSchema: string;
outputSchema: string;
promotion: "candidate" | "stable";
};
export const invoiceRouterTask: LuxoModelTask = {
id: "invoice.router",
inputSchema: "DocumentRouterInput",
outputSchema: "DocumentRouterOutput",
promotion: "candidate",
};