Atmosphere GroupsOpen specificationBeta
MenuClose

Start building

Whether you're a seasoned developer or brand new to making software, this page has you covered. Copy it for an AI agent in one click, or read it yourself.

Pass it to your agent

Or give an agent that can open links this page's address, www.atmospheregroups.org/build/. The prompt is also a plain text file, prompt.txt.

What is a group?

Atmosphere Groups is an open spec for groups on atproto, the network Bluesky runs on. A group is an account of its own, a DID with permissioned spaces under it, so it keeps its name, members and roles in every app that supports the spec.

A group host does for group accounts what a PDS does for people: it hosts the group's repositories and is the OAuth server for its account. An app acts as the group through an OAuth session for the group account, and the host decides what that session may do from the roles of the person who signed in.

Read these first

What it builds on

A group host to run and build on

group-host is an open source group host that implements the spec, under the MIT or Apache 2.0 license. It's a Rust server over SQLite, with a console where people start and run groups and approve apps, and a command, atgrp, that does the same from a terminal. Like the spec, it's in beta.

Read its code to see how a part of the spec works, run it to host groups, or fork it as the start of a host of your own. To try an app against a group host without real accounts, just dev runs one on your own machine, with its own PDS, PLC directory and test accounts.

Before writing code

  • Spaces need the spaces alpha builds of the atproto packages. They're on npm under the alpha tag, OAuth clients included.
  • Apps sign people in with OAuth.
  • The spec is in beta, so parts of it may still change. Its page says which commit the site's copy is from.

For AI agents

Before writing any code, read the spec and its lexicons. llms-full.txt has both in one file. Then ask what the person is making and what a group should be able to do in it. If they already have an app, ask about that first.

Don't ask for their password or an app password, and keep keys out of the chat. When something they want depends on a part of the spec that isn't settled, tell them.