---
title: "Reference · Affordances"
description: "The Affordances protocol, every option in one place, and the API reference generated from each package's source."
url: "https://affordances.vercel.app/docs/reference"
image: "https://affordances.vercel.app/og/docs/reference"
lang: "en"
---

# Reference

The Affordances protocol, every option in one place, and the API reference generated from each package's source.

The guides explain how the pieces fit. These pages are what to look things up in.

- [**Protocol**](https://affordances.vercel.app/docs/reference/protocol): the normative Affordances protocol, version 0. What a graph, an action call, and a delta look like on the wire.
- [**Options**](https://affordances.vercel.app/docs/reference/options): every option of `defineAction`, `defineState`, `createAffordances`, `createHandler`, and `withAffordances`, in one place.
- [**CLI**](https://affordances.vercel.app/docs/reference/cli): `affordances init` and `build` to set an app up, and `open` and `call` to see and use a page the way an agent does.
- [**API reference**](https://affordances.vercel.app/docs/reference/api-reference): every package's exports and signatures, generated from source with TypeDoc.
