ActivityPub vs. AT Protocol

The short answerActivityPub is a W3C standard in which independent servers send posts directly to each other, with identity tied to a server's domain. The AT Protocol, from Bluesky, separates data hosting, relays and apps, and gives each account a portable identity it can take between hosts.

ActivityPub and the AT Protocol are open protocols for decentralized social networking. ActivityPub connects the fediverse, including Mastodon, Pixelfed, PeerTube and many other services. The AT Protocol was developed by Bluesky and powers Bluesky and other apps on the same network. Both aim to keep any single company from owning the social web, but they make different trade-offs on identity, portability, moderation and how the network fits together.

ActivityPub vs. AT Protocol at a glance
ActivityPubAT Protocol
OriginW3C Recommendation published in 2018Developed by Bluesky and published as an open specification
Network designFederated servers that deliver activities directly to each other's inboxesLayers: personal data servers, relays that aggregate data, and app views that index it
IdentityTied to a server's domain, as in @name@serverA decentralized identifier (DID), with a domain name as the handle
PortabilityFollowers can be redirected to a new account; posts usually stay on the old serverAccounts move between hosts with their posts and followers
View of the networkEach server sees the parts of the network its users interact withRelays collect data from across the network, so apps can offer a full view
Data modelJSON-LD using the Activity Streams vocabularySigned data repositories, with record types defined in Lexicon schemas
Audience controlPosts can be addressed to followers only or to specific peopleBuilt around public data; access-controlled data is a later extension
ModerationEach server sets its rules and can block other serversLayered: app rules, independent labeling services and user-chosen lists

How ActivityPub works

ActivityPub, published by the W3C in 2018, describes how servers exchange activities such as posts, replies, likes and follows. Each account is an actor with an inbox and an outbox, and when someone posts, their server delivers the activity to the inboxes of followers on other servers. Content is described in JSON-LD using the Activity Streams vocabulary.

Because each server stores its own users' data and the remote content they interact with, the network is a federation of peers. That makes it straightforward for many kinds of software, from microblogging to video and photo sharing, to talk to each other. It also means each server has its own partial view of the network, and an account's identity is tied to its server's domain.

How the AT Protocol works

The AT Protocol, developed by Bluesky, splits a social network into parts. Each account has a decentralized identifier, or DID, and a handle that is a domain name. Its posts and other records live in a signed data repository on a personal data server, which can move to another host without breaking the identity.

Relays gather updates from data servers across the network into a single stream, and app views index that stream to build timelines, threads and counts. Record types are defined with Lexicon schemas, so different apps can share the same data. Feed generators and labeling services plug into this design to provide custom feeds and moderation.

Key differences

The core difference is where identity and data live. In ActivityPub, your server is your home: it holds your account, delivers your posts and defines your address. In the AT Protocol, your identity and repository are portable, and the services that build what you see are separate from where your data is stored.

That shapes the trade-offs. ActivityPub spreads power across many independent servers that each do everything, and it supports followers-only and direct addressing. The AT Protocol makes moving accounts and building a consistent, network-wide view easier, but its relays and app views take significant resources to run, which tends to concentrate those roles in fewer, larger operators.

When to build on ActivityPub

Choose ActivityPub if you want your software or site to join the existing fediverse, where many different services already interoperate. It's a W3C standard with implementations in many languages and platforms, and a single server can run everything it needs on its own. It suits community servers, publishers and apps that need followers-only or direct addressing.

When to build on the AT Protocol

Choose the AT Protocol if account portability and a consistent, network-wide view matter most, or if you want to build on Bluesky's network, for example with a custom feed, a labeling service or a new app that reuses people's existing accounts. It suits projects that work mainly with public data and benefit from a shared stream of activity across the network.

The verdict

Neither protocol is better in every way. ActivityPub is the choice for joining the established fediverse with a W3C standard and fully independent servers. The AT Protocol is the choice for portable identity, a consistent network-wide view and building on Bluesky's network. Bridges can connect the two, so some projects support both.

Published