Introduction
On AT Protocol, everything you post is public by design.
Some conversations need privacy. A writing group shares drafts. A community plans an event. A team talks shop. Today those conversations leave the network and move to a group chat somewhere else.
Stratos provides this privacy. A community runs a Stratos service, decides who is a member, and its members share posts that only other members can read. Nobody needs a new account. People keep their AT Protocol identity, handle, and PDS.
This page adds the vocabulary to the idea. For the idea without the vocabulary, start with the page before this one, What is Stratos? Explained simply.
How it works
Follow one post from the keyboard to a friend's screen.
- A user EnrollmentA user's membership of a Stratos service, established through OAuth. Stratos stores the user's boundaries and publishes an enrollment record to the user's PDS. Glossary . They sign in to a Stratos service with their existing account, through OAuth. Stratos records which BoundaryA named group whose members can read each other's posts. Its full identifier is
{serviceDid}/{name}, for exampledid:web:stratos.example.com/engineering. A record belongs to exactly one boundary. Glossary they belong to and writes one small public record,zone.stratos.actor.enrollment, to their PDS. That record tells apps where to look. - The user writes a private post for one boundary. Who keeps the post is the user's CustodyWhich party keeps a user's private records.
stratoscustody: Stratos hosts the repository and signs with a per-user key.pdscustody: the user's own spaces-capable PDS hosts the repository and signs with the account key. Glossary , and it depends on the user's PDS. If the PDS supports permissioned spaces, the post stays there, in a protected space. If not, Stratos keeps it. Either way, Stratos decides who belongs. - The feed generator collects posts. It follows the members Stratos lists, and no one else. It verifies what it reads and keeps a bounded, encrypted copy.
- A viewer asks for a feed. The request carries a signed token that says who is asking. The feed generator checks the viewer's current membership with Stratos and returns only posts they may read.
A private post never reaches the public firehose.
Three words to know
| Word | Meaning |
|---|---|
| Boundary | A named group. A post belongs to exactly one boundary, and only members of it can read the post. |
| Enrollment | A user's membership of a Stratos service, and the list of boundaries they hold. |
| Custody | Who keeps a user's private posts: Stratos, or the user's own PDS. |
Core Concepts explains each one. The Glossary is the quick reference.
What is in the repository
| Package | Description |
|---|---|
stratos-core | Domain logic, storage interfaces, schema, validation, MST commit builder |
stratos-service | The Stratos service: OAuth enrollment, record storage, credentials, sync |
stratos-client | Client library: discovery, routing, verification, OAuth scope helpers |
stratos-browser | Browser OAuth and DPoP helpers for web apps |
stratos-feedgen-ng | Feed generator with encrypted local storage and membership-checked feeds |
webapp | Svelte demo client for enrollment and private posting |
lexicons | Lexicon definitions for every zone.stratos.* method and record |
The TypeScript feed generator (stratos-feedgen) and the AppView indexer (stratos-indexer) are deprecated. They stay in the repository for rollback and reference.
Where to go next
To understand it:
- What is Stratos? Explained simply: the idea, in plain words.
- Core Concepts: boundaries, enrollment, custody, and trust.
- Permissioned Spaces: how Stratos aligns with the AT Protocol spaces proposal.
To build with it:
- Your First Post: a short tutorial.
- Client Integration: add Stratos to your app.
- Lexicons: every method and record.
To run it:
- Operator Guide: deploy and manage a Stratos service.
- Run the feed generator: run the feed generator beside it.