| title | FMRuntime |
|---|---|
| description | Swift runtime and FFI layer for direct Foundation Models integration. |
FMRuntime lives under runtime/ in the repository.
It is the lowest-level runtime surface in this repository and currently provides:
FMRuntimeCoreFMRuntimeFFI- structured generation over the Swift/Python boundary
- transcript carry-over and resume over FFI
- runtime availability probing and structured runtime error payloads
This is a runtime package today, not yet a fully separate shipped CLI product.
The Python toolkit can opt into it through:
./scripts/build_fmruntime.sh
FMTOOLS_BACKEND=ffi uv run python your_script.pyUse Backends for the exact backend-selection behavior.