Documentation

Operate AFM with the constraints visible.

This documentation is organized around decisions: which runtime to start, which protocol behavior to expect, and which performance features are actually eligible for your request.

If you are trying to…

GoalRead firstCritical detail
Connect a coding agentAPI contractStart with /llms.txt or /openapi.json, then choose the tool parser deliberately.
Chat from a browserWebUIThe interface reflects the selected backend; it does not make unsupported features available.
Choose a useful flag combinationParameter recipesSome flags compose; others silently change execution paths.
Configure paths or diagnosticsEnvironment variablesOperator settings and unstable benchmark switches are separate surfaces.
Check a checkpoint architectureModel architecturesconfig.json.model_type is authoritative, not the repository name.
Build RAG locallyApple-native embeddingsThe multilingual model supports Latin-script languages.
Process invoices or PDFsVision OCRRequests are bounded by size, page count, and pixel dimensions.
Improve repeated agent turnsPrefix cachingStable prefixes help; changed prompt boundaries do not.
Run DeepSeek V4 on DwarfStarDwarfStar + DeepSeek V4The executor requires a converted, aligned, self-contained local checkpoint.
Embed inference in a Mac appSwift packageImport the narrowest AFMKit product you need.