AT Protocol spaces are in development. Expect changes throughout the beta starting on December 1st, 2026.

AT Protocol Spaces

A Field Guide

By Nick Gerakines · updated

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.

Download

EPUB for phones, tablets and e-readers; on Kindle, add it with Send to Kindle. PDF for desktop reading and printing. The live consoles and examples are on the web only.

This edition

EPUB
ISBN 979-8-9828034-0-5
PDF
ISBN 979-8-9828034-1-2

First edition, 2026. Copyright © 2026 Nick Gerakines. Text licensed under CC BY-SA 4.0. Code samples licensed under MIT.

Published by Nick Gerakines.

AT Protocol, atproto, and atprotocol are trademarks of Bluesky Social PBC, used under license.

This book describes atproto spaces as the specification stood at the time of writing. The specification may change, and later versions of this guide may differ.

Contents

Chapters

  1. ·
    Preface
  2. 1
    Orientation
  3. 2
    Identity and keys
  4. 3
    Spaces and addressing
  5. 4
    Space repos and commits
  6. 5
    Cryptography in depth
  7. 6
    Access control and credentials
  8. 7
    Sync
  9. 8
    Policies
  10. 9
    OAuth and consent
  11. 10
    Operations
  12. 11
    Implementation notes

Appendices

  1. AXRPC methods
  2. BHeaders
  3. CToken types
  4. DErrors
  5. ETest vectors
  6. FExample identities and keys
  7. GWorked values
  8. HGlossary
  9. IAI use and disclosure
  10. ·Sources

Practicals

Practicals are short companion guides in the library. Each builds one complete application on what this book explains, with every identity, record, request, and response written out.

  • Practical

    A Forum Space

    Notice, a small forum for one group, built end to end on spaces.

    Builds on this book · web only

Search