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

# Introduction

> Faces are causal models. Compile one from an author's texts; prompt it, and it works out a cause that steers your AI.

Large language models are general by design. They answer as no one in particular, and over a
long session they drift: the taste and judgement you wanted from them are whatever the prompt
managed to hold onto.

Faces are **causal models**. A face distills the essence of a particular author from
unstructured source texts, such as essays, blog posts, emails or interviews. When prompted, the
face works out a **cause**: the principal *why* that would motivate that author's response in the
given context. Causes are engineered to steer other AIs, so your agents keep a consistent,
bespoke point of view however long they run. They become *someone* instead of no one.

```mermaid actions={true} theme={null} theme={null}
flowchart LR
    texts["source texts<br/>essays, emails,<br/>interviews"] -- "compile" --> face
    prompt["your prompt"] --> face["a face"]
    face -- "steers" --> model["your model"]
    model --> answer["an answer, in<br/>that author's terms"]
```

## Causes, not reasons

Causes come before reasons. A reason is what you tell a police officer when they ask why
you didn't stop at a red light; a cause is how you determined what to say.

## The APIs

| API | Endpoint | Returns |
| - | - | - |
| [Choices](https://docs.headwaters.ai/guides/choices.md) | `/v1/choices` | the options the face would weigh, strongest first, or the question it would ask |
| [Chat](https://docs.headwaters.ai/guides/chat.md) | `/v1/chat/completions`, `/v1/responses`, `/v1/messages` | the reply of any chat model, steered by the face |
| [Decisions](https://docs.headwaters.ai/guides/decisions.md) | `/v1/decisions`, `/v1/systemone` | typed `answers` from a decision model, steered by the face |

Every one takes one `model`: our **upstream** model, a face and its maestro
(`@alice:maestro-1`), and on chat and decisions the **downstream** model that writes the answer,
after a `/` (`@alice:maestro-1/gpt-5.4`). See [Naming a model](https://docs.headwaters.ai/guides/models.md). The cause stays
on the server: it steers the answer and is never returned. Every call is
[billed](https://docs.headwaters.ai/guides/billing.md) on the tokens it processes.

## Compiled, not trained

A face is compiled from unstructured text. There is no dataset to prepare and no
training run, and a face is not tied to any one base model. Add a source and recompile; remove
one and what it contributed goes with it.

Compiled faces are **composable** and **comparable**. Combine faces with boolean algebra
(`@alice | @bob`, `@alice & @bob`, `@alice - @bob`) into [synthetic faces](https://docs.headwaters.ai/guides/synthetic-faces.md),
and [measure how alike](https://docs.headwaters.ai/concepts/centroids.md) any two faces are.

## Next steps

* [Quickstart](https://docs.headwaters.ai/quickstart.md): an API key, a face, and its first choices in a few minutes.
* [Faces](https://docs.headwaters.ai/guides/faces.md): create and manage faces.
* [Compile](https://docs.headwaters.ai/guides/compile.md): turn source texts into a face.
* [Naming a model](https://docs.headwaters.ai/guides/models.md): the upstream model over the downstream one.
* [Choices](https://docs.headwaters.ai/guides/choices.md): ask a face what it would do.
* [Chat](https://docs.headwaters.ai/guides/chat.md): chat with a face on any chat model.
* [States](https://docs.headwaters.ai/guides/states.md): keep the situation your agent builds.
* [Decisions](https://docs.headwaters.ai/guides/decisions.md): typed answers from a face.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.