> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ariacompute.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AFM-D decision models

> Dual-track System 1 decision models: AFM-D Encoder (afm-de) and Decoder (afm-dd) return typed Choice / Score / Noul answers over a text or JSON state.

**AFM-D** is Aria Compute’s dual-track **System 1** decision product. Both tracks take a text or JSON **state** plus typed questions and return a distribution over the answers you supply. They do **not** run autoregressive chat.

| Track       | Model id | Architecture                                                     |
| ----------- | -------- | ---------------------------------------------------------------- |
| **Encoder** | `afm-de` | Non-autoregressive ModernBERT + MASK option head                 |
| **Decoder** | `afm-dd` | SemIf direct option-letter logits on MiniCPM5-2B (optional LoRA) |

## Typed primitives

| Primitive | Answer space                                      |
| --------- | ------------------------------------------------- |
| Choice    | 1–255 options (Decoder System One typically 2–16) |
| Score     | 2–10 ordered levels                               |
| Noul      | `false` / `true`                                  |

## Hubs

| Hub          | Encoder              | Decoder              |
| ------------ | -------------------- | -------------------- |
| Hugging Face | `ariacompute/afm-de` | `ariacompute/afm-dd` |
| ModelScope   | `AriaCompute/afm-de` | `AriaCompute/afm-dd` |

## How to run

* **[Aria Engine](/sdks/engine-runtime)** — official System One HTTP (`POST /v1/systemone`); default binds encoder `:8010`, decoder `:8011`.
* **[Ollaya](/guides/ollaya)** — local decision-model daemon; `ollaya pull afm-de` / `afm-dd`.
* **[ROUTER afm-d layer](/api-reference/router/introduction)** — gold entrypoint `ariacompute/afm-d-auto` (needs engine at `AFM_ENGINE_URL`).

## See also

* [Models (device bundles)](/concepts/models)
* [Playground](/guides/playground)
* [Serve site](/concepts/serve)


## Related topics

- [Aria model bundles and quantization](/concepts/models.md)
- [Download Aria model bundles from the registry](/guides/download-models.md)
- [Run AFM-D decision models with Ollaya](/guides/ollaya.md)
- [aria-engine AFM decision runtime](/sdks/engine-runtime.md)
- [aria-router runtime and FFI](/sdks/router-runtime.md)
