> From *AT Protocol Spaces: A Field Guide* on atproto.how, revised 2026-11-23.
> Web page: https://atproto.how/atproto-spaces-field-guide/1-orientation
> Index for agents: https://atproto.how/llms.txt · Text CC BY-SA 4.0, code samples MIT.

# Chapter 1 · Orientation

A space is a named boundary that decides who can read a set of records, while each author keeps their own records on their own PDS.

> *In the family space.* Marcus wants one place where his family can share updates that only they can see. Elena has pictures of Theo to post, and Ruth has news about her health.

I’d like to use the family from the Preface to paint a picture. Marcus creates a space for his family, which makes his identity the space’s **authority**. The space has a **space type**, `com.example.familyUpdates`, that says what kind of space it is, and a **space key**, `our-family`, that tells it apart from any other space of that type he runs.

When Elena posts baby pictures, her PDS stores the post in her **space repo** for the family, a repo that holds only her records in that space. Ruth’s health update sits in her own space repo on her own PDS.

The family app that shows everyone’s updates is a **syncer**. It holds a **space credential** that lets it read every writer’s space repo, and it keeps a copy of the space for itself.

> **If you’re building an app**
>
> A few simple patterns cover what most apps do with spaces. They boil down to who can read or write to a space, and who decides.
>
> To write, your app asks the user’s PDS to create a record in a space, within an OAuth scope the user approved. The user’s PDS accepts the write without checking with the space host, the service that answers for the space as a whole. Whether that write counts as part of the space is decided afterward. The space host tracks a repo only when the space’s policy lets its account write. Chapters [4](https://atproto.how/atproto-spaces-field-guide/4-space-repos.md) and [9](https://atproto.how/atproto-spaces-field-guide/9-oauth-and-consent.md) explain why.
>
> To read other members' records, your app gets a short-lived delegation token from the user’s PDS, trades it with the space host for a credential, and presents that credential to each writer’s PDS. [Chapter 6](https://atproto.how/atproto-spaces-field-guide/6-access-control.md) covers it. The other members' records sit on their own PDSes, where this user’s session has no standing.
>
> To stay current, your app registers for notifications when it gets its credential, and pulls a space repo’s changes when one arrives. [Chapter 7](https://atproto.how/atproto-spaces-field-guide/7-sync.md) covers it. A notification carries no records, because atproto spaces do not broadcast data.
>
> To run a space, your app creates it and changes its policy or member list through the authority’s PDS, with a session whose scope allows managing the space. [Chapter 8](https://atproto.how/atproto-spaces-field-guide/8-policies.md) covers it.

<a id="why-public-atproto-isn-t-enough"></a>

## 1.1 Why public atproto isn’t enough

> *In the family space.* Elena has pictures of nine-week-old Theo, and she wants the family to see them. On public atproto she has one way to post them: to everyone, for good.

Public atproto is built for open, broad distribution. Each account keeps its public records in one repository, or repo, on its PDS. The repo is a Merkle Search Tree whose root is signed by the identity’s `#atproto` key, so any record taken from it can prove who wrote it. Relays collect every change from every PDS into one stream, the firehose, and anyone can copy what flows through it. That is what makes public data reliable. It is also why a family photo album or a company’s internal forum can’t run on it, since every post is copied everywhere, can’t be taken back, and proves who wrote it.

Permissioned data needs three things public data lacks. First, it needs a perimeter that a server enforces before handing over data. Second, it needs a sync mechanism. Sync is a simple way of referring to the processes and credentials needed to read data from all of the space repos of accounts in the space. Without it, the application isn’t able to stay up to date or include all of the data that is created by accounts in the space. Third, it needs to be verifiable by the reader it was sent to, yet deniable to anyone else, so a record that leaks or is intercepted does not betray who wrote it.

The spec names four modalities to describe what spaces make possible \[spec\]. The list isn’t complete. As we follow Marcus and his family, we’ll touch three of them.

**Reference: The four modalities** \[spec\]

| Modality | Examples from the spec | In this book |
| --- | --- | --- |
| Personal data | Bookmarks, mutes, drafts | Jake’s own bookmarks space ([Chapter 8](https://atproto.how/atproto-spaces-field-guide/8-policies.md)) |
| Gated content | Paid newsletters, subscriber-only posts | The paid newsletter ([Chapter 8](https://atproto.how/atproto-spaces-field-guide/8-policies.md)) |
| Socially shared data | Private posts, stories | Not followed here |
| Groups | Private forums, communities | The family space |

<a id="roles"></a>

## 1.2 Roles

There are four roles in atproto spaces that make all of this possible. A single PDS usually plays repo host and space host at once, but any service that implements the required methods can fill either \[spec\].

> *In the family space.* Nora answers the reunion invitation in the family app. Her answer has to get from her phone to everyone else in the family, and four roles are involved on the way.

The family app writes her RSVP to her own PDS, which stores it in her space repo for the family space. For this record her PDS is the **repo host**. Her PDS then tells Marcus’s PDS that her repo changed. This change notification doesn’t include the changed content, because atproto spaces do not broadcast data. Marcus’s PDS is the **space host**. It keeps the list of repos that have written to the space, called the writer set, and passes the news to the apps that are registered for it. Marcus’s identity is the **space authority**. His key signed the credential the family app uses, and his member list is why Nora’s repo counts as part of the space. The family app is the **syncer**. It hears that Nora’s repo moved, asks her PDS for the change with its credential, and adds the RSVP to its copy of the space.

The space host never stores or forwards record bytes. It holds metadata only: each writer’s latest `repoRev` and digest, sequenced under a space-wide revision. Record bytes travel only from a repo host to a credentialed syncer.

**Reference: The four roles** \[spec\]

| Role | What it does | Usually played by | In the family |
| --- | --- | --- | --- |
| Repo host | Stores an account’s space repos and answers sync requests for them. | The PDS that hosts the account | Nora’s PDS, for her RSVP |
| Space host | Answers for the space as a whole. Authorizes syncers and issues their credentials, tracks the writer set, and sends update notifications. Holds metadata only. | The authority’s PDS, named by its `#atproto_pds` entry | Marcus’s PDS |
| Space authority | The DID at the root of the space. Its `#atproto` key signs credentials. | A user’s own identity, or a dedicated identity | Marcus |
| Syncer | Keeps its own copy of a space and serves views from it. | An application | The family app |

<a id="figure-1-1"></a>

**Figure 1.1.** Record bytes flow only from repo hosts to syncers (diagram on the web page: https://atproto.how/atproto-spaces-field-guide/1-orientation#figure-1-1)

Each repo host tells the space host only that a repo advanced; the space host relays that to registered syncers, and they pull the records from the repo host directly.

<a id="where-records-live"></a>

## 1.3 Where records live

> *In the family space.* Jake keeps his bookmarks in a space of his own. One of them is a pie recipe the family would like, so he shares it with them. Does the bookmark move, or are there now two?

A space record’s address includes its space, so each record belongs to the space it was written into. The content isn’t tied to that space, though. Anyone with permission to write in a second space can copy a record’s content there, and the copy becomes a new record in that space, kept in the copier’s own space repo. When Jake shares a bookmark from his own bookmarks space with the family, he writes a copy into the family space, and each space decides who can read its copy. If Nora copies Elena’s post into another space, the copy is Nora’s record, written under Nora’s identity.

**Reference: One bookmark, two records**

Jake’s bookmark in his own bookmarks space, then his copy in the family space. The content is identical, so both records have the same CID, shown last.

```text
at:space/did:plc:brthxhhoomvrib2avauses35/com.example.bookmarks/self/did:plc:brthxhhoomvrib2avauses35/community.lexicon.bookmarks.bookmark/3n2gtr3c2w22p

at:space/did:plc:ejjl2znzqp3ci25dqaslpkk2/com.example.familyUpdates/our-family/did:plc:brthxhhoomvrib2avauses35/community.lexicon.bookmarks.bookmark/3n2gtrxvls22p

bafyreibeecgpzsoedv7jcxr5tf6ggkmpdpolwvq65ehewgirojdghv3hka
```

Each account keeps a separate space repo for every space it writes to. When Elena posts in the family space and also posts in a book club, her PDS holds two space repos for her, one for each space. A space’s contents are the records in all of its writers' space repos taken together.

Daniel Holmgren’s [Reintroducing Spaces](https://dholms.leaflet.pub/3mu3p3ldwrc26) argues for grouping records this way over "circles", where each record carries its own audience list. I agree with that argument. Per-record access control lists (ACLs), dynamic group ACLs, and other fine-grained permission systems are often not worth it. Spaces as designed are a reasonable compromise. A space gives readers a clear boundary. Everything in the family’s space is visible to its members, and changing the member list changes access to all of it at once.

<a id="access-control-not-confidentiality"></a>

## 1.4 Access control, not confidentiality

> *In the family space.* Ruth posts that her new medication is working. She means it for the family. Who else is able to read it?

Spaces are not end-to-end encrypted \[spec\]. The repo host and every credentialed syncer can read the plaintext they contain. The space host holds no records, but it issues the credentials, so it could read them by issuing one to itself. That is what makes search, notifications, moderation, and server-side feeds possible. The spec leaves end-to-end encryption to applications, so an application that needs confidentiality adds its own encryption on top \[spec\]. The protocol carries an encrypted record like any other record. Removing a reader stops that reader’s future reads. It does not recall what they already fetched. A space narrows the "can’t be taken back" problem of public data, and does not end it.

**Reference: Who can read Ruth’s update**

| Party | In the family | Can it read the update? | Why |
| --- | --- | --- | --- |
| The author’s repo host | Ruth’s PDS | Yes | It stores the record. |
| A syncer with a credential | The family app | Yes | It fetches the record and keeps its own copy. |
| The space host | Marcus’s PDS | Yes, indirectly | It never stores or forwards record bytes. It issues the credentials, so it could issue one to itself and fetch the record from Ruth’s PDS. |
| A member who was removed | Jake | Only what he already fetched | Nothing recalls a copy. |
| Anyone else |  | No | A repo host refuses a read that carries no valid credential. |

<a id="the-shape-of-atproto-spaces"></a>

## 1.5 The shape of atproto spaces

As we’ve walked through atproto spaces, it should feel very familiar. Spaces keep the shape of public AT Protocol: DID-based authority, repos that stay with each account, lexicon-typed records, and applications that engage PDSes to build views. What changes is how data is synced, addressed, and committed, and the trust model applied to the data’s perimeter. Public data relies on signatures anyone can check, and space data relies on checks that only the reader who asked can make.

**Reference: Public atproto and spaces compared**

| Aspect | Public atproto | atproto spaces |
| --- | --- | --- |
| Unit of data | Record in a repo | Record in a space repo |
| Repo scope | One repo per account | One repo per (account, space) |
| Record authority | Author DID | Author DID |
| URI authority | Author DID | Space authority DID |
| Commit | Signed tree root (MST) | Unsigned digest of the record set (LtHash) |
| How a commit is proved | Signature, anyone can verify | A MAC made for one request, which only the requester can verify |
| Archive format | CAR | STAR |
| How apps collect data | Relays and firehose | The space host’s writer set and notifications, then a pull from each repo host |
| Access | Public | Space credential |

The LtHash digest and the per-request MAC are in [Chapter 5](https://atproto.how/atproto-spaces-field-guide/5-cryptography.md), the space credential is in [Chapter 6](https://atproto.how/atproto-spaces-field-guide/6-access-control.md), and STAR archives and the writer set are in [Chapter 7](https://atproto.how/atproto-spaces-field-guide/7-sync.md).

<a id="common-questions"></a>

## 1.6 Common questions

**Can a space be public?**

Yes. A space can let anyone read it while still controlling who writes. A memberspace with `publicRead` set gives a credential to any app that asks, and a managedspace can do the same through its managing app. [Chapter 8](https://atproto.how/atproto-spaces-field-guide/8-policies.md) builds an announcement space and an open guestbook this way. Readers still get their copy through a credential, so the authority can close the space later by changing its policy.

**If the servers can read a space, what does it protect?**

It controls who gets a copy. A space host hands out credentials only to the readers its policy admits, and repo hosts serve records only to holders of a credential. The repo hosts and the apps that sync a space can read the records, which is what lets them offer search and moderation. The space host could too, by issuing itself a credential. An app that needs secrecy from servers as well encrypts records itself.

**Do users need new accounts for spaces?**

Their existing identity and account work as they are. Spaces use the same DID, the same PDS, and the same OAuth sign-in. The one requirement is a PDS that supports spaces.

**Does every member get a repo in every space?**

An account gets a space repo the first time it writes to a space. Readers who never write have none, so a space with many readers and a few writers has only a few repos.
