Typed application
Strict TypeScript and reusable components.
The public preview uses Next.js App Router, typed API routes, responsive UI, SEO metadata, health checks, and no database dependency. Production integrations can be introduced behind stable interfaces.
The endpoint is deterministic and explicitly marks its result as a simulation. Replace its internal implementation with a live orchestrator while retaining the external contract.
/api/factory/runconst response = await fetch("/api/factory/run", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
objective: "Prepare a governed supplier-risk brief"
})
});
const run = await response.json();
console.log(run.simulation, run.runId, run.metrics);Strict TypeScript and reusable components.
Standard Next.js production build with no database requirement.
Defined extension points for auth, models, RAG, MCP, and telemetry.
Production build, type checking, linting, and endpoint tests included.
npm cinpm run buildnpm run start