AT Protocol Spaces: A Field Guide is out on atproto.how

I’ve spent a chunk of this year inside atproto spaces: in spec discussions, building it into a PDS, and building apps that use it. I kept a lot of notes along the way and compiled them into a book. AT Protocol Spaces: A Field Guide is the first release on atproto.how, a site I’m building for long-form, interactive guides for developers working on atproto.

The book is written for anyone building a PDS, a syncer, an AppView, or a client that reads and writes records to spaces. Eleven chapters go from DID document keys and space URIs through commits, credentials, sync, policies, and OAuth consent. The appendices have test vectors and worked values you can check your own implementation against.

The web edition is interactive. XRPC methods have live consoles where you change parameters and look at the actual request and response. Data structures can be pulled apart, and processes step through what happens and why. If you’d rather read offline, there’s an EPUB and a PDF on the book’s page.

There’s also a Toolbox for everyday protocol work. It has explorers for STAR and CAR files, a record proof walkthrough, a service auth tool, and a look at how PLC operations create identities.

Spaces go to public beta on December 1. The book describes the spec as it stands right now, and the spec will keep moving. I’ll keep the guide current as it does. If you find something wrong or unclear, please tell me, either here in this thread or on Bluesky.

Everything on the site is free to read and open source. The text is CC BY-SA 4.0 and the code is MIT. If it’s useful to you, donations through Ko-fi help pay for hosting and the time it takes to keep everything up to date as the protocol changes.

5 Likes