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

# AT Protocol Spaces: A Field Guide

By Nick Gerakines. Revised 2026-11-23.

Spaces are the AT Protocol extension for permissioned data: records kept under access control instead of broadcast to the whole network. This book explains how spaces work at the level of bytes, headers, and decisions. It is written for developers who are building a PDS, a syncer, an AppView, or a client that reads and writes spaces, and who need to interoperate with other implementations.

Read it in order the first time. Each chapter assumes only what came before it: why spaces exist, then the keys in a DID document, then addressing, repos, the cryptography, credentials, sync, policies, OAuth, and finally operations and implementation notes.

## Contents

- [Preface](https://atproto.how/atproto-spaces-field-guide/preface.md): The atproto spaces field guide jumps into the world of permissioned data, going into the use cases and implementation details to explain how it works and why.
- [Chapter 1 · Orientation](https://atproto.how/atproto-spaces-field-guide/1-orientation.md): 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.
- [Chapter 2 · Identity and keys](https://atproto.how/atproto-spaces-field-guide/2-identity-and-keys.md): Every identity in atproto has a permanent identifier in the form of a DID, and a DID document that lists the identity’s keys and the services it uses. Anyone can look up a DID’s document.
- [Chapter 3 · Spaces and addressing](https://atproto.how/atproto-spaces-field-guide/3-addressing.md): Spaces introduce a new way to reference both spaces and the records they contain.
- [Chapter 4 · Space repos and commits](https://atproto.how/atproto-spaces-field-guide/4-space-repos.md): A space repo is where one identity’s records live inside the boundary of a space.
- [Chapter 5 · Cryptography in depth](https://atproto.how/atproto-spaces-field-guide/5-cryptography.md): Commits in a space repo aren’t signed with the account’s signing key, because permissioned data shouldn’t carry proof of authorship that survives a leak outside the space.
- [Chapter 6 · Access control and credentials](https://atproto.how/atproto-spaces-field-guide/6-access-control.md): Because a space is a data perimeter, something has to enforce it, and that is where space credentials come in.
- [Chapter 7 · Sync](https://atproto.how/atproto-spaces-field-guide/7-sync.md): The data perimeter of a space is dynamic and may extend past a single PDS to many.
- [Chapter 8 · Policies](https://atproto.how/atproto-spaces-field-guide/8-policies.md): Policies are the core of how people interact with a space because policies are what enforces a space’s data perimeter.
- [Chapter 9 · OAuth and consent](https://atproto.how/atproto-spaces-field-guide/9-oauth-and-consent.md): An app gets access to a person’s spaces through OAuth, which makes OAuth a practical requirement for any app that works with spaces.
- [Chapter 10 · Operations](https://atproto.how/atproto-spaces-field-guide/10-operations.md): Running spaces is ongoing work, the normal operational work of any distributed system. Providers, applications, and data all have to stay healthy.
- [Chapter 11 · Implementation notes](https://atproto.how/atproto-spaces-field-guide/11-implementation-notes.md): The spec is firmly opinionated in some places and open-ended in others, so developers of space hosts, PDSes, applications, and tools have a lot of room in what they build and how.
- [Appendix A · XRPC methods](https://atproto.how/atproto-spaces-field-guide/a-xrpc-methods.md): Every method of the spaces extension, under com.atproto.space.\*, com.atproto.memberspace.\* and com.atproto.managedspace.\*.
- [Appendix B · Headers](https://atproto.how/atproto-spaces-field-guide/b-headers.md)
- [Appendix C · Token types](https://atproto.how/atproto-spaces-field-guide/c-token-types.md)
- [Appendix D · Errors](https://atproto.how/atproto-spaces-field-guide/d-errors.md): Errors declared in the lexicons, plus the few atproto-pds adds, which are marked.
- [Appendix E · Test vectors](https://atproto.how/atproto-spaces-field-guide/e-test-vectors.md): The empty LtHash digest is e5a00aa9991ac8a5ee3109844d84a55583bd20572ad3ffcd42792f3c36b183ad. The shared secret is checked against the export-only P-256 entry in the HPKE test vectors.
- [Appendix F · Example identities and keys](https://atproto.how/atproto-spaces-field-guide/f-example-identities.md): These are the identities and keys behind the book’s examples, published with their private keys so that readers and agents can check signatures, tokens, and other cryptographic structures against…
- [Appendix G · Worked values](https://atproto.how/atproto-spaces-field-guide/g-worked-values.md): Every value in the examples was computed from the keys in Appendix F with the reference @atproto/space package, then checked independently.
- [Appendix H · Glossary](https://atproto.how/atproto-spaces-field-guide/h-glossary.md): The terms and acronyms used in this book, in alphabetical order. Where a chapter explains a term in depth, its entry says which.
- [Appendix I · AI use and disclosure](https://atproto.how/atproto-spaces-field-guide/i-ai-use-and-disclosure.md): This book is an idea I came up with while working in atproto spaces in 2026. The outline and the majority of the content came from my own writing, transcription, and development notes.
- [Sources](https://atproto.how/atproto-spaces-field-guide/sources.md): The atproto spaces specification and its discussion thread

## Downloads

- EPUB: https://atproto.how/atproto-spaces-field-guide/atproto-spaces-field-guide.epub
- PDF: https://atproto.how/atproto-spaces-field-guide/atproto-spaces-field-guide.pdf
