Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 774 Bytes

File metadata and controls

29 lines (20 loc) · 774 Bytes
title FMRuntime
description Swift runtime and FFI layer for direct Foundation Models integration.

FMRuntime

FMRuntime lives under runtime/ in the repository.

It is the lowest-level runtime surface in this repository and currently provides:

  • FMRuntimeCore
  • FMRuntimeFFI
  • structured generation over the Swift/Python boundary
  • transcript carry-over and resume over FFI
  • runtime availability probing and structured runtime error payloads

Current state

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.py

Use Backends for the exact backend-selection behavior.