Guides
Examples
Product examples and where the legacy demo suite lives.
The product examples focus on model fusion, local MLX, benchmark maintenance, and runtime-kernel workflows. They run from a repository checkout.
Run examples
pnpm build
pnpm demo # list registered demos
pnpm demo 15 # FusionKit runtime kernel
pnpm mlx # Apple-Silicon managed-MLX smoke, when supportedProduct examples
| Example | What it proves |
|---|---|
examples/runtime-kernel | Explicit model-fusion operator graphs: direct fast path, rank/fuse workflow, trace, outcome, and replay record. Runs as pnpm demo 15. |
examples/mlx | Managed MLX local serving and stress paths on supported Apple-Silicon machines. Runs as pnpm mlx. |
examples/manifest.json is the single source of truth for the registered examples.
Legacy examples
Demos for the retained legacy platform live in legacy/examples/ (including the legacy/examples/bench performance-budget checks) and are documented in legacy/docs/guides/examples.md for contributors. They are outside the FusionKit user path and require the legacy stack.
Adding a product example
- Create
examples/<name>with its own package files and tests. - Add it to
examples/manifest.json. - Reuse
@fusionkit/example-utilsfor banners, manifests, and live-model config. - Run
pnpm check,pnpm build, and the relevant example/test command.