This guide is the package-facing entrypoint for the bounded MLX ecosystem in Psionic.
It is intentionally CLI- and fixture-driven. It does not add Gradio demos,
desktop pickers, or product UX to crates/psionic-*.
Load or generate from a local GGUF model:
cargo run -p psionic-mlx-lm --bin psionic-mlx-lm -- \
generate \
--model /path/to/model.gguf \
--prompt "Explain replay-safe inference." \
--json-out /tmp/mlx-lm-generate.jsonProject one multimodal request into the shared text-serving lane:
cargo run -p psionic-mlx-vlm --bin psionic-mlx-vlm -- \
plan-request \
--family llava \
--model-reference hf:openagents/demo \
--endpoint responses \
--messages-json fixtures/mlx_examples/vlm_messages.json \
--json-out /tmp/mlx-vlm-plan.jsonSynthesize one CPU-reference speech clip:
cargo run -p psionic-mlx-audio --bin psionic-mlx-audio -- \
synthesize \
--family kokoro \
--text "Receipts stay explicit." \
--wav-out /tmp/mlx-audio.wav \
--json-out /tmp/mlx-audio.jsonPlan one shared OpenAI-compatible serving package without starting the server:
cargo run -p psionic-mlx-serve --bin psionic-mlx-serve -- \
plan \
--reference hf:openagents/demo \
--json-out /tmp/mlx-serve-plan.jsonEmit one bounded MLX training recipe plan:
cargo run -p psionic-mlx-recipes --bin psionic-mlx-recipes -- \
plan \
--run-id demo-recipe \
--environment env.psionic.demo@2026.03.17 \
--method qlora \
--adapter-rank 16 \
--adapter-alpha 32 \
--json-out /tmp/mlx-recipe-plan.jsonBuild one benchmark suite from the committed fixture:
cargo run -p psionic-mlx-bench --bin psionic-mlx-bench -- \
build-suite \
--spec-json fixtures/mlx_examples/benchmark_suite.json \
--json-out /tmp/mlx-benchmark-suite.jsonRun the same suite through the fixture-backed local text adapter:
cargo run -p psionic-mlx-bench --bin psionic-mlx-bench -- \
run-text-fixture \
--spec-json fixtures/mlx_examples/benchmark_suite.json \
--responses-json fixtures/mlx_examples/benchmark_responses.json \
--json-out /tmp/mlx-benchmark-receipt.jsonIf you want to shape the same suite as a served benchmark lane, swap in
run-served-fixture and supply --model-reference.
docs/MLX_TO_PSIONIC_MIGRATION_GUIDE.mddocs/MLX_LM_PACKAGE.mddocs/MLX_TEXT_SERVE.mddocs/MLX_VLM_PACKAGE.mddocs/MLX_AUDIO_PACKAGE.mddocs/MLX_RECIPE_PACKAGE.mddocs/MLX_BENCH_PACKAGE.md