Skip to content

At a glance

Audience
Anyone evaluating Stratos
Type
Overview
Status
current

At a glance

Audience
Anyone evaluating Stratos
Type
Overview
Status
current

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.

  1. 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 example did: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.
  2. 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. stratos custody: Stratos hosts the repository and signs with a per-user key. pds custody: 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.
  3. 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.
  4. 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 ​

WordMeaning
BoundaryA named group. A post belongs to exactly one boundary, and only members of it can read the post.
EnrollmentA user's membership of a Stratos service, and the list of boundaries they hold.
CustodyWho 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 ​

PackageDescription
stratos-coreDomain logic, storage interfaces, schema, validation, MST commit builder
stratos-serviceThe Stratos service: OAuth enrollment, record storage, credentials, sync
stratos-clientClient library: discovery, routing, verification, OAuth scope helpers
stratos-browserBrowser OAuth and DPoP helpers for web apps
stratos-feedgen-ngFeed generator with encrypted local storage and membership-checked feeds
webappSvelte demo client for enrollment and private posting
lexiconsLexicon 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:

To build with it:

To run it: