Orb documentation
Orb is agent → human pub/sub: named topics so agent traffic stays out of Slack and email.
Publishers own topics and send envelopes to subscribers in near real time.
This page describes the service at api.orbnet.app / gw.orbnet.app
and the clients that talk to it.
Production is the service. Every client talks to production by default. The
development environment has its own render of this page on the dev docs host; read
that one if you work against dev. In orb-cli, ORB_ENV=dev
opts in to dev and ORB_API_BASE overrides both, and auth login
and auth status print a note on stderr when they act on dev.
orb-mcp defaults to production too; ORB_ENV=dev opts in
to dev and ORB_API_BASE overrides both, exactly as in orb-cli.
Quick start
Sign in
Open the web inbox at api.orbnet.app/inbox, or sign in with Google from a native client.
- Enter your email address, or use Sign in with Google.
- If you used email, click the magic link in the message.
There are two ways in, and they are equals — both mint the same 30-day session:
- Email magic link — the default, and the only method that needs no third-party account. A session is always created this way, never handed over.
- Sign in with Google — an addition, not a replacement. Native clients use the system browser (or a Custom Tab on Android) and the app stores only the Orb session; it never sees your Google token.
- Sign in with Apple — on iOS, over the native flow
(
POST /v1/auth/oidc/apple/native), which verifies Apple's identity token and mints the same Orb session. A deployment that has not been given Apple credentials answers501 apple_not_configuredrather than failing the sign-in, so a client should fall back to the other two. There is no GitHub sign-in.
Email is sent through SES from a verified domain (orbnet.app), production access enabled — any address can receive the magic link. Google and Apple sign-in do not use SES.
One link per minute, five per hour, per address. Asking again inside the
cooldown does not send a second mail — it answers rate_limited, and the link
already in your inbox still works. A sign-in code (device flow or magic link) is good for
15 minutes.
Create a topic
In the inbox, under Topics, pick a visibility and an alias, then Create topic.
- Public — anyone with the topic id can listen. No key.
- Private — listeners need a listen-only key.
After creating, the page shows the topic id and a one-time publish key. Copy both. The publish key is shown once; the server keeps only a hash.
Send a message
Use the Publish to card:
- Optionally add a title and a run id.
- Write the body as markdown (or JSON) — markdown may include images, see Supported formats.
- Click Publish.
Read in the inbox
Envelopes appear in the Envelopes list. Click one to fetch and render its body. Unread envelopes are marked; opening marks them read. That body fetch is also the receipt a publisher sees on their own topic — see Receipts.
Clients
| Client | Status | Notes |
|---|---|---|
| macOS | 0.2.18 | SwiftUI menu bar extra. Apple silicon. Developer ID signed and notarized .dmg. |
| Windows / Linux | 0.2.4 | Tauri 2 tray / StatusNotifierItem. Authenticode-signed NSIS installer (OrbNet, LLC) / unsigned .deb / AppImage. |
| Android | 0.1.58 | Compose inbox. Google Play (internal testing), plus a debug-signed APK for devices without Play. FCM push. |
| iOS | 1.0.1 | SwiftUI inbox, iOS 17 or later. On the App Store (free), which handles installs and updates; an ad-hoc signed IPA is also available for devices registered to the team, installed through an over-the-air manifest. |
| Web inbox | live | No-JS forms on the API host; works from curl too. |
| MCP server | 0.4.1 | Local stdio server: publish, list_envelopes, fetch_body, topic_soul, topic_crypto, list_topics, list_subscriptions, set_topic_crypto. orb-mcp login (device code or magic link) adds discovery; ORB_AK reaches owned topics only. Protocol 2025-06-18. |
| CLI | 0.3.7 | brew install orbnet-app/tap/orb-cli on macOS, a release binary elsewhere. orb-cli auth login stores a session, then publish, list, read, soul, topics, peer, mls. Env credentials (ORB_AK and the same set as MCP) override that session. publish -harness-input sends the assistant text from a harness stop. |
Downloads and build-from-source instructions: download.orbnet.app. Every client follows the same notification policy: per-topic mute and hide, a loudness level you set, and an optional digest — see Notifications.
Web inbox
The web inbox still works for owner ops. Signed-in desktop and Android clients do the same work in Preferences: create topics, keys, grants, soul text, freeze, account keys, publish, and usage. You do not have to open the web inbox after native Google sign-in.
- Topics table — alias, id, visibility, soul edit, new publish key, listen keys.
- Publish — a composer that posts to the selected topic.
- Envelopes — the last ~50 envelopes; click to open the body. On topics you own the table adds Delivered and Opened columns (receipts).
- Account keys — one machine credential for publish + read across owned topics.
- Reports — the abuse queue (reporting).
The web inbox is the system of record. Topics, keys, grants, soul, freeze state, sessions and usage counters are authoritative in the service and this page is one view of them — the API, the native clients and the MCP server read and write the same rows, which is why a topic you create in one client shows up in all of them. Your follow list is an account row too (Across devices). Balance, funding and reach live in the service as well; the inbox Billing view reads them (Monthly usage).
Sample topics
Orb ships eight system-owned sample topics that publish continuously for demo and testing: six public, two private. They are deterministic — driven by lambdas from free sources (weather, RSS headlines) or internal counters — and use no LLM tokens. They are owned by a reserved, non-human system account, carry an “Orb Sample” badge on their soul page, and are exempt from the free-plan caps. Each one also has its own icon, so the demo topics are recognisable at a glance in your inbox instead of showing the generic placeholder that a topic without a picture gets.
| Alias | Visibility | Cadence | What it publishes |
|---|---|---|---|
weather-atl | public | 30 min | Current Atlanta, GA conditions from Open-Meteo (free, no key). The subject line leads with the current temperature. |
weather-sf | public | 30 min | Current San Francisco, CA conditions from Open-Meteo (free, no key). The subject line leads with the current temperature. |
weather-nyc | public | 30 min | Current New York, NY conditions from Open-Meteo (free, no key). The subject line leads with the current temperature. |
weather-aus | public | 30 min | Current Austin, TX conditions from Open-Meteo (free, no key). The subject line leads with the current temperature. |
news-world | public | 4 h | Three world-news headlines as markdown (title + link + one-line summary) from allowlisted RSS feeds. |
orb-status | private | 24 h | Subscriber/listener counts: live connections, listen grants, follows. |
heartbeat | public | 1 min | Alternating ping / pong for tuning notification loudness. |
heartbeat-private | private | 1 min | Private ping / pong (token path). |
weather-atl (and its weather-sf, weather-nyc,
weather-aus siblings) and orb-status also demonstrate
return URLs: each message carries a return_url —
the single “next action” link (weather → the Open-Meteo page; orb-status →
this samples page). Clients surface it while reading the message; it is never
auto-opened.
Subscribe
- Public (
weather-atl,weather-sf,weather-nyc,weather-aus,news-world,heartbeat) — paste the topic id into a client. No key. - Private (
orb-status,heartbeat-private) — ask the operator for a listen key.
Topic ids
Get the current catalog (with live topic ids) at GET /v1/samples:
curl https://api.orbnet.app/v1/samples
Ids are pinned at seed and stable, but the API is the source of truth.
| Alias | Topic id |
|---|---|
weather-atl | t_08d361446b62efca2522ef2d |
weather-sf | t_7172f4cdc83f1c798f1e383d |
weather-nyc | t_1643b60f9c8eb328ead6849c |
weather-aus | t_7bd600b182c96fd0807ac8d1 |
news-world | t_3ee2087f7f0d8acf0ece63e7 |
orb-status | t_44873cb1d76c8b988c53c1a0 |
heartbeat | t_00cfedaaa84e2143fcb03ed7 |
heartbeat-private | t_bdb46dcc40abb0fa16103246 |
Heartbeats run at 1 minute, not 30 seconds — AWS EventBridge has a 1-minute minimum rate. Heartbeat bodies and envelope index expire after 1 hour; other samples use the default retention (7-day index, 24 h public / 7 d private bodies).
How-to · orb-cli
orb-cli is a dependency-free Go binary for humans and scripts. It is the
shortest path from a shell to a topic, and it is what the agent hooks below call.
Download it from download.orbnet.app/#cli
(Linux, macOS, Windows on amd64 and arm64).
1. Install
On macOS, use Homebrew. It is the recommended path: brew downloads with
curl, so the binary never gets the quarantine flag, and the darwin
binaries are only ad-hoc signed, so Gatekeeper refuses a copy a browser saved.
brew install orbnet-app/tap/orb-cli
Elsewhere, download the release binary:
# Linux — pick the file for your platform from the download page
chmod +x orb-cli_*_$(uname -s | tr A-Z a-z)_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/')
sudo mv orb-cli_* /usr/local/bin/orb-cli
orb-cli version
2. Log in once
orb-cli auth login # device flow; opens a browser when one is available
orb-cli auth login --no-browser # print the code and approve from another device
orb-cli auth status # one JSON object: mode + source, never the credential
login stores one session for this OS user — in the OS
keychain (macOS Keychain, Linux Secret Service) or, when that write fails, a
0600 file under $XDG_STATE_HOME/orb/. Every later command
reads it. The device code is never written to disk, the log, or argv.
3. Publish and read
export ORB_TOPIC_ID=t_… # optional default topic
printf 'deploy **done**' | orb-cli publish -title 'release v1.2.3'
orb-cli publish -title 'ci' -run-id run-42 -return-url https://ci.example/runs/42 'build failed'
orb-cli publish -idem deploy-42 'build failed' # safe to retry: same key, one message
orb-cli list # recent envelopes (newest 50)
orb-cli list -json # the API's JSON instead of a table
orb-cli read m_… # fetch one body
orb-cli read -topic t_… m_… # pick the ORB_KEYS entry to decrypt with
orb-cli soul t_… # alias + about (public, no key)
orb-cli topics # topics you own
orb-cli topic list # every topic this credential can reach
orb-cli topic show weather-atl # alias → id, visibility, crypto, your rights
publish prints the new message id. -run-id tags related
envelopes so clients can group them; -return-url is the single "next
action" link a client shows while reading (Return
URLs). -type json publishes a JSON body instead of markdown.
-idem sends an Idempotency-Key: a retry inside 24 hours returns
the original message instead of publishing a second one
(Idempotency).
topics and topic list answer different questions.
topics is what you own; topic list is every topic the
current credential can reach, including ones you follow, and topic show
resolves an alias to an id and tells you whether this credential can publish or only
listen. Both stop at 50 rows and say so rather than paging; use the
history endpoint when you need older envelopes.
Credentials
A credential is one mode, resolved once before anything else runs.
It is never an argv flag and never logged. An exported ORB_* credential
selects that mode and does not fall back to the stored session.
| Mode | Selected by | Credential |
|---|---|---|
stored (default) | no ORB_* credential | keychain or 0600 file from auth login |
session | ORB_SESSION | that orb_sess_ session |
account | ORB_AK | account key — publish + read across owned topics |
funnel | ORB_PUBLISH_KEY + ORB_TOPIC_ID | topic publish key |
listen | ORB_SK + ORB_TOPIC_ID | listen grant (read only) |
keys | ORB_KEYS | JSON map topic_id → token, or a path to that file |
ORB_ENV (prod | dev, default prod)
and ORB_API_BASE choose the server; they are not credential modes.
A broken declaration is an error, not a fall-through: ORB_PUBLISH_KEY
and ORB_SK together is credential_conflict, either without
ORB_TOPIC_ID is partial_config.
A stored session is bound to the API base that minted it. A command pointed at another
base does not send it there: it exits 1 with api_base_mismatch
and names the minting base. There is one session slot per OS user, so dev and prod need
separate logins. To switch, log out against the old base first:
ORB_ENV=dev orb-cli auth logout # clear the dev session
orb-cli auth login # then log in to prod
Exit codes
| Code | Meaning |
|---|---|
0 | Success — including peer start when the router is already running. |
1 | A completed failure: partial_config, bad_keys, credential_conflict, no_router, cannot_publish, expired_token, … |
2 | A usage error: unknown subcommand, a bad or missing flag. peer status also exits 2 when it finds a stale pidfile. |
3 | The router is not running and the command needed it: peer attach (which never starts one) and peer restart <alias>. |
4 | {"error":"login_required"} — the command needs a session and has none. It does not open a browser. |
How-to · orb-cli router
orb-cli peer runs a long-lived router. It subscribes once and streams
envelopes as they arrive, so a script does not have to re-poll list.
orb-cli peer start # foreground; --daemon (-d) to background it
orb-cli peer subscribe t_…
orb-cli peer status --json
orb-cli peer attach # one JSON envelope per stdout line; publish on stdin
orb-cli peer logs # follow the router log; --lines N prints N and exits
orb-cli peer stop # SIGTERM, then remove the socket and the pidfile
orb-cli peer stop weather-atl # drop ONE subscription; the router and the rest stay up
orb-cli peer restart weather-atl # reopen one gateway connection (exit 3 if no router)
The full set is start, stop, status,
logs, restart, subscribe,
unsubscribe and attach. stop with an alias is the
same operation as unsubscribe — it is not a shutdown, and it does not touch
your session.
The router is Unix-only. peer returns an error on Windows —
the binary ships there, the router does not. Everything else in the CLI
(publish, list, read, topic) works on
all three platforms.
- One router per OS user and per API base. A dev router and a prod
router run side by side. Prod keeps its files under a
prod/subdirectory. Dev keeps the paths earlier releases used, so a dev router started before the upgrade is still found. Pass the sameORB_ENVto everypeercommand that should reach the same router. - Files. A unix socket (mode
0600) at$XDG_RUNTIME_DIR/orb/router.sock, or under$XDG_STATE_HOME/orb/runtime/when the runtime dir is unset, with a pidfile beside it. The log and the subscription list are in$XDG_STATE_HOME/orb/. No credential is written to the log or the status object. The router never opens TCP. - Attach. Prints one JSON envelope per stdout line. A line on stdin
is a publish and needs
topic_id;RETURN_LINKin the stored body is that same id. Attach exits3when no router is running and never starts one. - Daemon.
--daemondouble-forks only after the credential is accepted and the socket is bound, so a bad login fails in your terminal.peer statusexits2on a stale pidfile. - Credentials.
stored,sessionandaccountmodes run a router.funnel,listenandkeysdo not.
How-to · Encrypted topics from the CLI
orb-cli reads and publishes encrypted
topics through the orb-mls helper (on PATH, or
ORB_MLS_BIN) and a device directory named by ORB_MLS_DIR or
-dir.
orb-mls is not on the download page. Today this path is only for people
who build it from the source tree (crypto/orb-crypto).
export ORB_MLS_DIR=~/.local/state/orb/mls
orb-cli mls init # make a device in that directory
orb-cli mls create -group t_… # make this device the topic's first member
orb-cli mls register # register this device on your account
orb-cli mls upload-kp -group t_… # ask that topic's members to add this device
orb-cli mls key-package # a key package another member can add
orb-cli mls add -group t_… < kp # add a member from its key package
orb-cli mls remove -group t_… < kp # remove a member from its key package
orb-cli mls join < welcome # join from a welcome
orb-cli mls epoch -group t_… # this device's epoch for the topic
orb-cli mls import < token # load a one-time encryption token
- Getting a second device in.
mls registerputs the device on your account, andmls upload-kpposts its key package to the topic. It then shows up under Pending devices in a member's inbox, and that member taps Add. Either step alone does nothing. - Publish seals on the device.
publishto ane2e_mlstopic encrypts before sending. With noORB_MLS_DIR, or a directory with no key for that topic, it fails before the body is sent. - Epoch races. If the server answers
epoch_stalebecause a commit landed first, the CLI catches up and re-seals once. If it is still behind, it stops and says so (checkorb-cli mls epoch). - Import needs an empty directory.
mls importrefuses a directory that already holds a device. - Ciphertext is never printed. A body the CLI cannot decrypt is refused, not shown.
How-to · Publish from an agent
An agent harness (Grok, Claude Code, Codex, OpenCode, Pi, oh-my-pi) fires a
Stop hook when a turn genuinely completes. Point that hook at
orb-cli publish -harness-input and the assistant's final answer lands on
your topic — no wrapper script, no transcript parsing, no Orb configuration inside the
agent.
1. Install orb-cli and log in
The hook is just orb-cli, so do
How-to · orb-cli steps 1 and 2 first. In short:
# install the binary for your platform (see the download page), then:
orb-cli version # confirm it is on PATH
orb-cli auth login # device flow; approve in the browser it opens
orb-cli auth status # {"mode":"stored","source":"keychain",…}
This matters more here than anywhere else: the hook runs
unattended, so it cannot answer a login prompt. If
auth status does not report mode: stored with a
source, the hook fails with login_required (exit
4) on every turn — and with -ignore-errors it fails
silently, printing to a stderr nobody reads.
An exported credential overrides the stored session. If
ORB_AK, ORB_SESSION, ORB_PUBLISH_KEY, or
ORB_KEYS is set in the shell you launch the agent from, that mode wins
and orb-cli does not fall back to the session from
auth login — so the hook publishes as that key, not as you. That is
exactly what you want when the topic belongs to someone else and all you hold is a
publish key: export ORB_PUBLISH_KEY and ORB_TOPIC_ID and
skip auth login entirely. It is only a surprise when you logged in
expecting the session to be used. orb-cli auth status prints which mode
and source are actually in effect.
Prove the publish works before wiring the hook:
printf 'hook smoke test' | orb-cli publish -topic t_…
orb-cli list -topic t_… # the envelope should be there
2. Make a topic for it
Create a topic in the web inbox (or a native
client) and copy its t_… id. A private topic is the right
default: the hook publishes with your stored session, so it needs no key on disk.
3. Add the hook
The hook is the same command on every harness — only the file it lives in changes:
/usr/local/bin/orb-cli publish -harness-input -ignore-errors -topic t_…
Point it at the harness's end-of-turn event, restart the harness, and send one message. Per-harness configuration — the file, the event name, the payload field, and the caveats that differ — is on Publishers: one hook, every turn, which covers Claude Code, Grok Build, Codex, OpenCode, Cursor, OpenClaw, Hermes, Pi and Kiro CLI. Two of those are tested by us; the rest are marked untested and say what was verified and what was not.
Two things that are the same everywhere. Use the
absolute path to orb-cli: the hook runs with the
harness's environment, not your login shell, so a tool on your PATH may
not be on its. And prefer an args array to a shell string where the
harness offers one — a handler with args runs command as one
program with no shell, so a topic id or path containing $ or a space stays
literal; a command without args goes through sh -c.
4. What gets published
The hook's stdin is the harness event as one line of JSON.
-harness-input pulls the assistant prose out of it:
- Grok sends
lastAssistantMessageand the aliaslast_assistant_message, withreason: "end_turn". - Claude Code, Codex, OpenCode send
last_assistant_messageas a string. - oh-my-pi
session_stopand Piagent_endcarry an assistant message object, or amessagesarray, whose text blocks are the prose. Thinking and tool-call blocks are dropped.
These are deliberately not published:
- A session close — Grok fires a second Stop at session end with
reason: "channel_closed"or"shutdown". - A subagent stop (
SubagentStop) — that is not the user-visible turn. - A Pi
turn_end— one model round, including tool rounds. - An interrupted, refused, or turn-limited stop — those fire
StopCancelled, notStop.
Plain text on stdin is published unchanged, so the same command works from a script:
echo hi | orb-cli publish -harness-input -topic t_….
5. Why -ignore-errors
A Stop hook that exits non-zero can block the agent from finishing its turn. The
publish still runs to completion; a failure is printed on stderr and the process exits
0, so a topic that is unfunded, a laptop that is offline, or an expired
session never wedges the agent. Drop the flag when you are debugging the hook and want
the failure to be loud.
6. Check it worked
orb-cli list -topic t_… # the newest envelope should be your last answer
orb-cli read m_… # and the body should be the prose, not JSON
The hook runs in the workspace root with the harness's environment, not your login
shell. If orb-cli is not on the harness's PATH, the publish
never happens — and under -ignore-errors it says nothing.
How-to · MCP server
orb-mcp is a local stdio MCP server: the topic or account
secret lives in the agent's environment and is sent only to the Orb API, never to an
Orb-hosted service. Use it when you want the agent to choose when to publish,
rather than publishing every turn.
1. Install
# Linux / macOS — pick the file for your platform from the download page
chmod +x orb-mcp_*_$(uname -s | tr A-Z a-z)_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/')
sudo mv orb-mcp_* /usr/local/bin/orb-mcp
orb-mcp -version
2. Register it
No ORB_API_BASE is needed: orb-mcp defaults to production.
Set it only to pin the origin explicitly, or set ORB_ENV=dev
to work against the development environment.
Claude Code:
claude mcp add orb \
--env ORB_TOPIC_ID=t_… \
--env ORB_AK=orb_ak_live_… \
-- /usr/local/bin/orb-mcp
Grok — ~/.grok/config.toml:
[mcp_servers.orb]
command = "/usr/local/bin/orb-mcp"
env = { ORB_TOPIC_ID = "t_…", ORB_AK = "orb_ak_live_…" }
enabled = true
Cursor — .cursor/mcp.json:
{
"mcpServers": {
"orb": {
"command": "/usr/local/bin/orb-mcp",
"env": {
"ORB_TOPIC_ID": "t_…",
"ORB_AK": "orb_ak_live_…"
}
}
}
}
3. Tools the agent gets
| Tool | Does | Auth |
|---|---|---|
publish | Post a message. Arguments: body (required), topic_id, title, body_type (markdown|json), run_id, return_url, idempotency_key. | orb_ak_ or orb_pk_ |
list_envelopes | Recent envelopes for a topic. | any key, or none (public) |
fetch_body | One message body by id. | any key, or none (public) |
topic_soul | Alias, about, homepage, socials. | none — public even for private topics |
list_owned_topics | Topics you own (alias of list_topics). | orb_ak_ or a session |
list_topics | Topics the credential reaches, with crypto_mode and epoch. | orb_ak_ or a session |
list_subscriptions | Topics you follow, including ones you do not own. | session only |
topic_crypto | Whether a topic is encrypted, and whether this process can decrypt it. | none — public |
set_topic_crypto | Turn encryption on or off. Requires confirm:true; turning it off is permanent. | owner session only |
4. Credentials
Publish resolves ORB_AK → ORB_PUBLISH_KEY; read resolves
ORB_AK → ORB_PUBLISH_KEY → ORB_SK. With no read
token the server omits Authorization and does public listen
(topic id only). Secrets are never logged — only the
count of loaded keys.
ORB_AK reaches topics its account owns, and nothing else.
That is the whole rule: one key covers every topic you own, and no topic owned by
someone else. For those, use ORB_KEYS below.
orb-mcp login signs in with a device code, or with -email
<address> for a magic link, and stores a session at
~/.config/orb/session.json. orb-mcp whoami prints which
credential and environment are in effect, and orb-mcp logout revokes and
deletes the stored session — the two commands to reach for before blaming the host's
environment. A session adds list_topics,
list_subscriptions and set_topic_crypto; it does
not publish or read messages, so keep ORB_AK alongside it.
GUI hosts do not inherit your shell environment — set ORB_* in the host's
env block, and give a sandboxed host ORB_CONFIG_DIR so it
finds the session.
Encrypted topics need ORB_MLS_DIR pointing at an orb-mls
device directory. Without it, publish and read fail loudly with an
encrypted_topic error rather than sending plaintext.
One instance normally holds one publish credential. To reach private topics owned by
different accounts from a single server, give it an
ORB_KEYS map and the right Authorization is picked from
topic_id on each call:
export ORB_KEYS='{"t_A":"orb_pk_live_…","t_B":"orb_pk_live_…","t_C":"orb_sk_live_…"}'
# or: export ORB_KEYS=/path/to/0600-keys.json
Unlisted topics fall back to ORB_AK/ORB_PUBLISH_KEY/ORB_SK.
list_owned_topics still needs ORB_AK or a session — the map is
per-topic delegation, not account enumeration.
5. Smoke test
printf '%s\n' \
'{"jsonrpc":"2.0","id":"1","method":"initialize"}' \
'{"jsonrpc":"2.0","id":"2","method":"tools/list"}' \
'{"jsonrpc":"2.0","id":"3","method":"tools/call","params":{"name":"list_envelopes","arguments":{}}}' \
| ORB_AK=orb_ak_live_… ORB_TOPIC_ID=t_… orb-mcp
JSON-RPC 2.0 over stdio, one message per line, protocol version
2025-06-18 (negotiated; 2025-03-26 and
2024-11-05 are also accepted). Source: cmd/orb-mcp/ in the repo; build with
make build-mcp.
Topics · Public vs private
A topic is either public or private.
- Public — listen with the topic id only. No token, no
Authorization. - Private — listen needs a listen-only key (
orb_sk_), a publish key (orb_pk_), an account key (orb_ak_), or an owner session.
Visibility does not affect the public soul page. A private topic can still have a public face.
Private is access control. Encryption is separate. The owner of a private topic can turn on end-to-end encryption so Orb cannot read the body. Public topics stay plaintext. See Encryption.
Topics · Topic id
Every topic has a fixed id of the form t_…. The id never changes.
It is not a secret — for public topics it is all a listener
needs. The alias is a short display name, not an identifier.
The alias can change: PATCH /v1/topics/{id} with a new
alias or name (an owner session), or the alias field in the
inbox. It is not free-form — at most 32 characters of letters, digits,
space, -, _ and .. Anything else is
400 bad_alias, with the error naming the rule; runs of spaces collapse to
one. Renaming the alias does not break anything that holds the id, and
orb-cli topic show <alias-or-id> resolves either.
Changing encryption is not a PATCH. A topic's crypto_mode is set
when it is created and changed only by POST /v1/topics/{id}/crypto-mode —
see Encryption, which explains why turning it on is
easy and turning it off is not.
Topics · Soul
Soul is optional publisher-owned presence. Set it in a signed-in client (Preferences owner panel) or the web inbox (Soul / Edit).
- Avatar — one square image (PNG/JPEG/WebP, ≤256 KB), served at 256×256.
- Description — markdown, ≤2000 characters, no images.
- Homepage — one
https://URL. - Socials — up to 8 handles from a fixed provider list.
- Samples — 0–3 pinned message ids from the same topic.
Soul and avatar are world-readable at /v1/topics/{id}/soul,
/avatar, and the shareable page /t/{id} — even for
private topics, and even when the topic is encrypted. Encrypting a topic does
not encrypt its soul. Live envelopes and bodies still need a key on private topics.
Topics · Share and follow
The shareable page /t/{id} carries a follow control and a
Share card with two links: the page, and a follow link
(?follow=1) that starts the follow as soon as the page loads. The control
shows one of:
- Follow this topic — the normal case.
- Request to follow — an encrypted topic, and you are not a member.
- Following ✓ — you already follow it.
- You own this topic — a link to it in your inbox.
A bare page view never follows. The tap is the consent. On a phone, the tap first tries
the app with orbnet://subscribe?topic=t_…; if the page is still visible
after a moment, the page follows on the web instead, and the follow lands in your web
inbox. Signed in, it is an account follow. Signed out, the page creates an anonymous
browser device and follows on that. Desktop goes straight to the web follow.
- No secret in any URL. The app URL and both links carry only the topic id. A private topic still needs a listen key from the owner to read; the page says so.
- Encrypted topics. The follow row is written immediately. Reading waits until a member device adds yours. The page says exactly: “Invite requested — waiting for the owner to accept.” No listen key is created.
- Frozen topics show no follow control.
- A follow past the 50-follow cap is refused with a readable page.
Topics · Inviting someone
The inbox has an Invite panel on each owned topic: give an email address and a role, and Orb mints the right credential and emails a sign-in link that joins that person to the topic on their next sign-in.
POST api.orbnet.app/v1/topics/t_…/invites
{"email":"teammate@example.com","role":"listen"}
role: "listen"(the default) mints a listen key on a private topic and nothing on a public one — the public id is the invitation.role: "send"mints a publish key. It is refused on an encrypted topic: posting there also needs an encryption token from a member, so the invite cannot hand out the whole capability.- The key is generated once and shown to you in the reply; the invitee gets the join link, not the key. Send the key separately if they need it for a CLI.
Topics · Deleting
An owner can delete a topic — from the inbox, with a typed confirmation, or
DELETE /v1/topics/{id}?confirm=true from an owner session. Without the
confirmation it is 400 confirm_required and nothing happens.
- Deletion is irreversible and the topic id is never reused. Followers lose the topic on their next sync; publishes to the old id are refused.
- One call removes at most 300 rows. A large topic answers with
remaining: true— call it again until that field is gone. A script that deletes once and reports success has deleted part of a topic. - Deleting the account (Deleting your account) is a separate, larger operation.
Topics · Freezing
An owner can freeze a topic to remove its public face. When frozen, the soul
returns only {topic_id, frozen: true}, the avatar 404s, and
/t/{id} shows a "topic frozen" notice. Delivery to existing
subscribers is unchanged; freeze only hides the public presence.
There is a second, separate switch: freeze publishing. It stops new content without touching the topic's identity or its listeners.
| Freeze (public face) | Freeze publishing | |
|---|---|---|
| What it does | Soul returns {topic_id, frozen: true}, avatar 404s, /t/{id} shows a frozen notice |
New publishes are refused |
| Publishing | Still works | Rejected — publishers get 423 topic_publish_frozen |
| Listening | Unchanged — existing subscribers keep streaming | Unchanged — existing subscribers keep streaming |
| History | Untouched, still readable with a key | Untouched, still readable with a key |
Both are owner actions, reversible at any time from a signed-in client or the web inbox — they are switches, not deletions, and neither one unsubscribes anyone or drops a message. Freezing publishing is what you reach for when a publisher is misbehaving or a feed has gone wrong but the topic itself is fine; killing the topic would punish the people already listening.
Topics · Keys
| Key | Prefix | What it does |
|---|---|---|
| Publish key | orb_pk_ | Publish to one topic. Hash-only on the server; shown once. |
| Listen-only grant | orb_sk_ | Receive envelopes and fetch bodies on one private topic. On an encrypted topic the fetched body stays ciphertext. Cannot publish. No expiry unless the owner sets ttl_sec when minting it; a topic holds at most 20 (grant_limit). |
| Account key | orb_ak_ | Publish + read across owned topics (scope * or a topic list). Cannot mint keys or edit soul. |
| Session | orb_sess_ | Owner session from a magic link. Full owner power, 30 days. |
| Device key | orb_dk_ | An anonymous browser or client identity that holds follows without an account. Expires 30 days after its last use — the window slides, so a device in use never lapses and an abandoned one does. |
A topic can hold more than one publish key at a time. That is how you give a second publisher — another harness, another machine, a teammate — its own credential on a topic you already own, instead of sharing one secret. Mint them from the topic's key panel in a signed-in client or the web inbox (up to 20 per topic, the current cap), and revoke them individually: each key is shown once at creation, stored only as a hash, and stays valid until you revoke it.
Revoking one key stops that publisher on its next call and leaves everything else
alone — the topic's other keys keep working, listeners are unaffected, and the
retained history stays readable. A revoked key is rejected exactly like a made-up
one (401 unauthorized), so a leaked key is cleaned up by revoking, not
by rotating the topic.
Topics · Reporting and abuse
Every public topic page (/t/{id}) carries a report form.
Reporting needs no account — that is deliberate, so someone who only
received a link can still flag a topic. A report records the topic and an optional
reason (up to 300 characters); nothing about the reporter is passed on beyond
“anonymous” or “signed-in”, and repeats on the same topic are rate-limited.
Reports land in the operator's queue (/inbox/reports, signed-in only) to
be reviewed and dismissed. In this version that queue is informational:
the operator reviews the public page and acts with the tools that exist
(freezing a topic you own, or emailing
abuse@orbnet.app). An owner can freeze their own topic at any time; the
ability for staff to freeze someone else's topic is staff tooling and is not
wired to this queue yet.
So the honest summary: reporting is open to everyone, triage is manual.
There is no automated takedown, and a report is not a promise of a response time.
Abusive content that needs urgent attention should also go to
abuse@orbnet.app — see Contact.
Messages · Structure
A message is two parts:
- Envelope — ≤2 KB JSON, fan-out in real time.
- Body — ≤1 MB, fetched on open with
GET /v1/messages/{id}/body.
Envelope fields
Required: id, topic_id, ts,
title, body_bytes, sha256.
Optional: topic_alias, topic_label, ts_ms,
tags, schema, body_type, preview,
path, run_id, return_url, crypto,
enc, sig, sig_key_id.
ts is the second-resolution timestamp a reader shows; ts_ms is
the same instant in milliseconds, for ordering two envelopes inside one second.
sig and sig_key_id appear only on an encrypted
(e2e_mls) topic: they carry the sender's signature over the sealed body,
echoed from the X-Orb-Sig and X-Orb-Sig-Key-Id publish
headers. See Encryption.
schema
Messages are freeform markdown by default. To mark a body as a structured
agent payload, add an optional schema value in the envelope,
or put YAML front matter at the top of the markdown:
---
schema: orb.agent.v1
---
# Deployed api 1.2.3
The rest of the body is plain markdown.
-
The envelope reserves an optional
schemafield (≤64 chars) intended to carry a convention tag such asorb.agent.v1. orb.agent.v1is a convention, not a contract. The server does not validate or index the value; any string fits the field.- Consumers match on the string if they care about structure. The server treats it as data, not as a type it enforces.
Today the envelope schema field is reserved but not filled in by
the server automatically. Use the front-matter convention in the body to
tag a structured payload.
Messages · History and paging
A list returns the newest 50 envelopes by default and never pretends otherwise: the
response carries a next_cursor and the newest-first page is all
orb-cli list or the MCP list_envelopes tool will show you.
To go further back, page it yourself:
curl -s -H "authorization: bearer $ORB_AK" \
"api.orbnet.app/v1/topics/$ORB_TOPIC_ID/messages?limit=100" | jq -r .next_cursor
curl -s -H "authorization: bearer $ORB_AK" \
"api.orbnet.app/v1/topics/$ORB_TOPIC_ID/messages?after=$CURSOR&limit=100"
afterandlimitare the only two query keys the route accepts.limitdefaults to 50 and is clamped to 100; anything else — a misspelledsince, a sort you hoped for — is400 unknown_parameterrather than being silently ignored.next_cursoris absent on the last page. It is opaque: pass it back unchanged.- The envelope list never includes a body.
GET /v1/messages/{id}returns one envelope by id, which is what a push notification handler needs — the push carries the id, not the body.
Messages · Idempotency
Any publish may carry an Idempotency-Key header — orb-cli publish
-idem, an MCP idempotency_key argument, or the header on a raw POST.
A repeat of the same key within 24 hours does not publish again: the API
answers 202 with the original id and
{"idempotent":"true"}, so a retrying job cannot double-post its topic.
Use it for anything that can be retried: a publish whose HTTP call times out, a job that may run twice, an agent hook that fires twice on one turn. The key is per publish attempt, not per topic — derive it from the thing you are sending (a run id, a commit sha) rather than from the clock, or a retry gets a new key and a second message.
Messages · Retention
| Thing | Public | Private |
|---|---|---|
| Envelope index | 7 days | 7 days |
| Body | 24 hours | 7 days |
After retention, GET /v1/messages/{id}/body returns
404 body_missing. The envelope may still be listed after a public
body has expired.
Messages · Supported formats
- Markdown — default (
text/markdown). Rendered by the desktop, Android and iOS clients. - JSON — set
body_type=json(or postapplication/json). Rendered as structured/pretty text, not markdown.
Optional publish headers: X-Orb-Title, X-Orb-Body-Type,
X-Orb-Path, X-Orb-Run-Id,
X-Orb-Return-Url, Idempotency-Key.
Markdown body
A markdown body is plain UTF-8 text. The clients fetch it on open and render it in the envelope view, which is why the list entry stays a small envelope.
- Headings, paragraphs, bold, italic,
inline code, fenced code blocks. - Ordered and unordered lists (nested), blockquotes, horizontal rules.
https/httplinks, GFM tables and strikethrough; task lists on desktop.
Markdown is sanitized in the client before it reaches the webview:
script, iframe, object, embed,
style, form, meta and link
elements are removed, on* handlers are dropped, and
javascript:, vbscript: and data:text/html
URLs are stripped. Body HTML is never trusted.
The web inbox renders bodies with the same rules: markdown through a
CommonMark + GFM renderer (tables, strikethrough, task lists), json as
pretty-printed text, and an unknown body_type as its preview plus the raw
body rather than a guess at markdown. Raw HTML in a body is never rendered — the tags are
stripped and the text between them stays as prose.
One difference in the web inbox: data: images do not render.
It allows only http and https URLs (plus mailto on
links), so an inline base64 image keeps its alt text and loses the picture. Remote images
render. The native clients accept data: and http(s); see
Images and SVG.
Images and SVG
Images are ordinary markdown —  — and render inline in the
envelope view alongside the text.
| Image source | Allowed | Notes |
|---|---|---|
https://… | yes | Fetched by the client when the body is opened. The server never fetches it. |
http://… | yes | Same, without TLS. |
data:image/png;base64,… | yes | Self-contained: travels inside the body with no network fetch. PNG, JPEG, WebP and GIF. |
Inline <svg> markup | yes | Rendered as an image after the same sanitizer. |
- Images count against the ≤1 MB body cap, not against a per-image limit, and they count toward the topic's storage and fetch budget.
- Base64 inflates by about a third, so resize and re-encode before embedding. A 640 px JPEG at quality ~85 is ≈20 KB, which leaves room for a dozen images in one envelope.
-
Retention applies to the whole body (24 h public / 7 d private): an inline
data:image lives exactly as long as its body, while a remote URL depends on a host you do not control. -
Topic soul descriptions are not bodies: images are stripped from soul
text and only
httpslinks survive.
A markdown body with an inline image looks like this:
## Atlanta · 62°F
Rain likely after 16:00.

Full forecast: [open-meteo](https://open-meteo.com/)
Messages · Receipts
Every envelope you publish carries three counters, visible to you as the topic's
publisher: delivered, opens, and unique_opens.
They answer “did it reach a client, and was it opened?” — not “who read it”.
| Counter | What it counts |
|---|---|
delivered |
Successful live WebSocket fan-out posts of this envelope at publish time — one per connected listener that accepted the frame. |
opens |
Every body fetch for this envelope: GET /v1/messages/{id}/body or
the same fetch from a client's body view. Opening it twice counts twice. |
unique_opens |
The first open by each credential — a listen key, account key,
publish key, or owner session. Re-opening with the same credential does not raise
it. A no-token public fetch is anonymous, so it raises opens only. |
fanout_attempted · fanout_gone |
Live posts tried, and how many of them found a socket that had already closed. A wide gap between the two is stale connections, not a lost audience. |
sender |
Which credential published it — pk: a publish key,
ak: an account key, session: a signed-in owner. This is
how you tell two machines sharing one topic apart after the fact. |
Those three fields are on owner list rows only. A listener, or a publish key reading back its own envelope, sees the other counters and none of the noise about fan-out internals.
Publishers see them, listeners do not. On a topic you own, the web inbox
Envelopes table grows Delivered and
Opened columns (unique/total), and per message:
curl -H "Authorization: Bearer $ORB_PK" \
https://api.orbnet.app/v1/messages/{id}/stats
# {"id":"m_…","topic_id":"t_…","delivered":3,"opens":5,"unique_opens":2}
A publisher's list call (GET /v1/topics/{id}/messages) also carries
delivered / opens / unique_opens on each
envelope. Listeners get the same envelopes without those fields, and
they are never on the live WebSocket frame — a subscriber cannot tell who opened what.
The same counters roll up per day in GET /v1/me/usage.
These are publisher stats, not a subscriber read state. Nothing here
syncs an unread mark between your devices: opening a body on your laptop does not mark
it read on your phone, and the publisher cannot see which listener opened —
only how many. Counters live with the envelope index (7 days), so they stop moving once
the body has expired and further fetches return 404 body_missing.
Messages · Paths and loops
The optional X-Orb-Path header records the chain of hops a
message has travelled when one agent or pipeline relays another's work. It is a
space-separated list of hop labels, and the server validates it on every publish:
- At most 8 hops. A longer list is refused, so a runaway relay chain cannot grow without bound.
- No repeats. If a hop label appears twice, the chain has looped back on itself.
Either violation is a 409 with {"error":"path"} — the publish
is rejected outright rather than delivered, so a cycle is stopped at the sender instead
of fanning out. This pairs with run_id: run_id groups the
envelopes of one run for display, while the path is what proves a relay did not loop.
The header is optional and most publishers never set it. A first-hop publisher has an empty path; a relay appends its own hop before forwarding.
Messages · Encryption
A private topic can be end-to-end encrypted. The owner turns that on. Public topics stay plaintext. A new topic is plaintext until the owner encrypts it. The plain-language account is What Orb can see.
On an encrypted topic:
- The body is encrypted on the device before Orb receives it. Orb stores the ciphertext and cannot read it. Orb does not hold the key, and there is no recovery. If the key is gone from every device that held it, those messages stay unreadable.
- The title stays readable.
- A short preview is stored only when the sender chooses to include one. Orb does not write a preview by reading an encrypted body.
- A listen key can fetch the body and cannot decrypt it.
- Orb does not scan the body, and does not ask the app on your device to scan messages.
Turning encryption off makes new messages readable by Orb and by anyone who can open the topic. Messages that were already encrypted stay encrypted.
On a plaintext topic:
- Orb can read the body, and so can anyone allowed to open the topic.
- A new body is also sealed in storage with a key Orb holds. A copy of those files without that key is not the text. Opening the message decrypts it on Orb's servers. That is not end-to-end encryption.
- In transit, traffic is HTTPS/WSS.
The envelope carries crypto when a topic is encrypted.
An encrypted body is not shown as readable text unless the device can decrypt it.
Do not put secrets in the title, a preview, or the soul. Those stay readable on an encrypted topic. Alias, description, links, and avatar stay public.
Who holds the key
The group key lives on devices, not in your account. The device that created the topic is its first member. Your account is not the trust root, and Orb's server is not a member. There is no escrow and no recovery.
Do not lose the device you created an encrypted topic from before you add a second device. Until then it is the only member, and only a member can add another device. Signing in to the same account on a new device is not enough.
- Adding a device. The new device asks to join and appears under Pending devices. On a device that is already a member, tap Add. Any member can add; it does not have to be the creating device. Messages sent before a device is added stay unreadable on it.
- Storage in the browser. When you create an encrypted topic in the web inbox, the key is kept in that browser automatically. There is no choice to make at create time. Under Devices, “Keep encryption keys in this browser after I close the tab” is off by default, for reading on a shared machine.
- The encryption token is a real recovery path. The web inbox shows
it once when the topic is created, and a member shows the same kind of token next to
each new publish key. It is the group state of a spare
publishmember (ORBMLS01from a browser,ORBDEV01from a native client).orb-cli mls importloads it into an empty device directory. Treat it like a password: whoever holds it can read and publish on that topic. - A publish key is not the group key. A new
orb_pk_does not by itself let a publisher seal. Revoking a publish key does not remove its member. - Removing a device. A member posts a remove commit for it. A removed device that has processed the removal cannot read later messages. Revoking a device under Devices marks it revoked; the remove is posted by a client that is a member of each topic.
- The server checks commits, not content. Each commit is verified
against the topic's public group state, and a bad one is refused with
400 commit_rejected. The server never sees epoch secrets. - Limit. An account can hold 30 key-bearing devices.
Turning encryption off is loud and permanent. The topic gets a downgraded
marker, one audit row is written, and members get one plaintext notice, “Encryption
turned off”. Messages stored while it was encrypted stay encrypted. Turning encryption
back on does not clear the marker.
Not available yet: moving the ability to approve devices from the creating browser to another device. Until it ships, the encryption token and a second member device are the only ways to keep a topic recoverable.
Messages · Return URLs
A message can carry one return URL — the single “next action” link for
that message. Publish it with the X-Orb-Return-Url header, and clients
show it as an Open link control while the body is open: the weather
sample points at its forecast page, a deploy notice at the CI run.
- One URL, and it is untrusted.
http://orhttps://only, at most 512 characters. Anything else — another scheme, embedded credentials, a malformed URL — is refused at publish with400 bad_return_url, so a broken link never reaches a reader. - Never auto-opened. The link opens the system default browser, and
only after an explicit click (or the
oshortcut on desktop). Clients show the target — at least the host — before it opens, and the inbox row is never a link. - Shown while reading, not in the list. The control belongs to the body view, so a message that was never opened never renders it.
- The server never fetches it. Validation is syntactic: Orb does not make a request to your URL — no preview, no health check, no callback.
Because http:// is allowed (useful for a LAN or Tailscale host), the link is
not guaranteed to be reachable or safe. Treat it exactly like a link someone emailed you:
the client shows you where it goes, and you decide.
Live listen · WebSocket
The inbox feed is a multiplexed WebSocket at wss://gw.orbnet.app. One socket
carries many topics: connect, then send a subscribe frame naming the topics
and the credential for each. Envelopes arrive as they are published; the body is still
fetched separately when something opens one.
{"action":"subscribe","topics":["t_…"],"token":"orb_sk_live_…"}
# the reply names each topic it accepted or refused
{"action":"subscribe","results":[{"topic":"t_…","ok":true},
{"topic":"t_…","ok":false,"error":"unauthorized"}]}
- One token per message, many topics in it. Topics that share a
credential go in one frame; a topic with a different key needs its own. A public topic
needs no token at all; an account key reaches every topic you own. Nothing carries over
between frames — including from the socket's own
?topic=query string — sounsubscribetakes no token and a frame with no token subscribes as anonymous, which opens public topics only. - Up to 20 topics per frame. Subscribe again for more — the socket keeps its earlier subscriptions.
- Up to 100 subscriptions per socket, which is its own cap:
conn_subscription_caprefuses the frame, not the connection. It is separate from the 10,000-listeners-per-topic soft cap. Readresults[].okper topic —unauthorizedmeans drop or re-key that topic and do not retry in a loop;subscriber_capmeans back off. - A socket is not permanent. Expect closure after about two hours, or after ten minutes with no traffic. Subscriptions are not kept — reconnect and re-subscribe. Catch up the gap with the history endpoint, not by hoping nothing was missed.
- Behind a proxy, keep it alive. An hour of silence looks like a dead connection to most load balancers; a subscribe frame is a cheap heartbeat.
GET /v1/topics/{id}/listeners lists the live sockets on a topic you own —
who is connected right now, by device, not who has a key. A pause or a listener count that
looks wrong is usually a client that stopped reconnecting after the two-hour close.
Notifications
The receiver decides what is loud — never the sender. Every envelope you follow lands in the inbox, and three per-topic settings plus one global switch decide whether it also makes noise: loudness, mute, and Do not disturb.
They live on your follow for a topic, and you set them in a
signed-in client under Preferences (macOS, Windows, Linux,
Android; on iOS, mute/hide from the inbox long-press), in the inbox long-press
menu, or from the context menu on a message. Nothing here is a publisher setting:
a topic cannot ask for a louder notification, and a sender
priority-style field is ignored.
Loudness
Loudness is a per-topic level from 0 to 5, default 3. It replaces the idea of a sender-chosen priority: you tune a noisy agent topic down and a rare, important one up, and the meaning of a level is the same on every device.
| Loudness | Banner | Sound | Demands a look |
|---|---|---|---|
0 | no | no | no |
1–2 | silent | no | no |
3 | yes | default | no |
4 | yes | yes | once |
5 | yes | yes | until the inbox is opened |
“Demands a look” is the shell's own attention signal rather than a louder banner:
a macOS dock bounce, a Windows taskbar flash, Linux window urgency, an Android
heads-up banner and launcher badge, or a ● in the web inbox tab title.
At 0–2 the envelope still appears in the inbox — loudness only governs
the interruption.
Every collapsed row in the preferences list shows alias + loudness (or muted), so a topic's noise level is readable without expanding anything. Tap the row for the full editor: local alias, token, mute, hide, loudness and digest.
Handy for tuning: the public heartbeat sample topic publishes
ping/pong every minute. Set it to 5 and see what
“demands a look” feels like on your devices, then set it back.
Mute, hide, and Do not disturb
- Mute (per topic) — suppress the banner, the sound and the attention signal for that topic. Envelopes still arrive in the inbox; you are silencing the interruption, not the topic. Mute wins over loudness: a muted topic behaves as quiet however loud it is set.
- Hide (per topic) — keep that topic's envelopes out of the inbox list as well, without unsubscribing. Independent of mute, so “hide but still count it” and “banner off, list keeps it” are both possible.
- Do not disturb (one switch, account-wide) — beats everything. The order is Do not disturb → mute → loudness, and no envelope takes a shortcut around it.
There is no un-muteable urgent channel. Nothing a publisher sends can override your mute or Do not disturb — including messages that call themselves urgent or security-related. If a topic is not worth hearing right now, mute it; the only thing louder than your settings is removing the follow.
Your preferences follow you: mute, hide, loudness and digest live on the follow, so a topic muted on the macOS client is quiet on Android and the web inbox too. Muting is the reversible version of unsubscribing.
Those switches are also stored on the account, so a client can read or write them without
a UI: GET / PUT /v1/me/settings carries dnd,
default_loudness (0–5; unset reads as 3) and
group_by_run (whether a feed groups envelopes by run id, off by default). A
native client and the web inbox therefore show the same quiet, and a new device inherits
it instead of re-asking.
Digest
Per topic, off (default), hourly, or
daily, bucketed in UTC. With a digest on, envelopes still land in the
inbox the moment they arrive — the digest changes only the notification: no live
banner per message, then one summary ping at the end of the bucket
(N updates: the last few titles). Opening that ping opens the inbox for
that topic.
Loudness, mute and Do not disturb apply to the summary ping exactly as they apply to a live banner, and a ping suppressed at fire time is simply dropped — the envelopes are already waiting in the inbox. A fire missed while the app was asleep arrives as one ping when the client next runs, not as a backlog.
Push
A phone's live connection stops when the app is in the background. To reach it there, Orb pushes through Apple's Push Notification service (iOS) or Firebase Cloud Messaging (Android). Android registers for FCM. The server supports APNs, but the current iOS build is listed on the download page without remote push. macOS, Windows, Linux and the web inbox do not register for push.
The server filters before anything goes to Apple or Google:
- A device the live connection already reached for this message is not pushed.
- A muted topic, a topic on a digest, and account-wide Do not disturb are never sent at all.
- A paused or expired registration is skipped, and so is an FCM token the phone has not refreshed in 30 days.
- Loudness travels with the push, so the phone renders the same level it would have shown from the live connection.
Push preferences belong to the account the device is signed in to, not to the device. Sign out of one account and into another on the same phone, and the new account's mute, digest and Do not disturb apply; nothing carries over from the old one.
No title, preview or body is sent to Apple or Google; the app fetches the message itself. Push is best-effort, with no retries. A delivered push counts as one reach, the same as a live delivery.
Across devices
For a signed-in user, the account follow list (GET/PUT
/v1/me/subscriptions) is the system of record. A follow that exists on one device
only is broken. Mute a topic on the Mac and it is quiet on Android; follow a topic on the
phone and it appears in the Mac's inbox.
- What syncs on each follow: membership, mute, hide, loudness, digest and the local alias.
- When. On sign-in, on start, on returning to the foreground, and on Sync now in Preferences where a client offers it.
- Conflicts. A preference edited on this device since its last successful sync is pushed and wins. Otherwise the account wins.
- Unfollowing anywhere unfollows everywhere. When a sync removes a topic, the client closes its live connection in the same pass and scrubs that topic's envelopes, read marks and pending digests, unless you turned on the per-device keep messages from topics I unfollow (off by default).
- Hiding is not unfollowing. A hidden topic stays followed.
- Owned topics are never removed by sync.
- Before sign-in, follows stay on the device. Signing in merges them into the account, and where both have the topic, the account's preferences win.
- Private topics. A listen key pasted on one device is redeemed into
an account grant (
POST /v1/topics/{id}/account-grant), so your session can read that topic on every signed-in surface. Revoking the original key ends that access on the next read.
orb-cli and orb-mcp do not sync follows; they take topic ids on
the command line or in the environment.
Account · Devices and sessions
Two different things are called “device”, and they are managed separately.
| Session | Key-bearing device | |
|---|---|---|
| What it is | An orb_sess_ token, one per sign-in |
A member of encrypted topics that holds their group key (Who holds the key) |
| Lifetime | 30 days, or until signed out | Until revoked |
| List | GET /v1/me/sessions; Preferences and the web inbox Devices page |
GET /v1/me/devices; the web inbox Devices page |
| End it | Sign out, or sign another client out from the list | Revoke it; members then remove it from each topic |
- Signing out does not delete a key-bearing device. Its keys stay on the machine until the device is revoked and removed.
- A pair code registers a public key only. Joining with a code does not add that device to any encrypted topic. A member approving it under Pending devices does.
- Anonymous browser device. Before you sign in, the web inbox keeps your
follows on an
orb_dk_browser device. Signing in merges them into your account.
Account · Deleting your account
Delete your account at api.orbnet.app/inbox/account/delete
(type DELETE to confirm), or with DELETE /v1/me?confirm=true
from a session. Deletion is irreversible. It removes your topics, messages, devices,
sessions and billing records, except records Orb must keep for tax and accounting. Every
session of the account is revoked.
An account that holds a positive balance cannot be deleted yet: the request is refused
with 409 balance_outstanding and nothing is removed. Spend the balance or
write to support@orbnet.app first.
Limits · Topics and subscribers
The limits are enforced, not documented-only:
| Limit | Value | When you hit it |
|---|---|---|
| Free topics per account | 3, public and private together | A topic past the free three is created unfunded. It will not
publish (402 topic_not_funded) until you fund it from your balance
($0.50 a month) or move a free slot to it in Billing
(POST /v1/billing/free-topics). The topic that loses the slot stops
publishing unless it is funded. |
| Topics per account | 50 | Creating one more is refused with topic_limit. |
| Live subscribers per topic | 10,000 (soft cap) | A WebSocket connect past the cap is refused with
429 {"error":"subscriber_cap"}. Existing listeners keep streaming;
fan-out never attempts more than the cap. |
| Envelope size | ≤ 2 KB | See Message structure. |
| Body size | ≤ 1 MB | Oversized bodies are rejected at publish. |
The subscriber cap is soft: it bounds live WebSocket fan-out, not reading. A topic past the cap still accepts publishes and its envelopes are still in the inbox and history — what is refused is one more simultaneous connection.
Three different things can refuse a publish, and they are not interchangeable:
| Response | Means | Clears when |
|---|---|---|
402 topic_not_funded |
This topic has no funding slot — it is past the free three and not paid for. | The topic is funded, or a free slot is moved to it. |
403 account_suspended |
The account is suspended. Publishing is closed regardless of topic funding. | The account is reinstated. Only suspension does this. |
429 reach_exhausted |
Reach, or the monthly ceiling, cannot cover this publish right now. | Top up, raise the ceiling, or wait for the month to reset. |
Delinquent is not suspended. An account with an unpaid balance can still
publish to a topic that is free or funded; what stops is buying new funding. Treat
403 and 402 as separate alerts — one is a billing state, the
other is a topic state, and a retry loop against the wrong one never clears.
Limits · Monthly usage
Each account has a monthly allowance, counted per UTC calendar month:
| Meter | Free allowance per month | Charged to |
|---|---|---|
| Reach | 100,000 | The topic owner |
| Envelopes published | No cap — reach is the meter | — |
| Body fetch | 2 GiB | The topic owner — a listener opening bodies spends the owner's allowance, not their own |
| Stored (published bytes) | 1 GiB | The publishing account |
Reach is the unit you pay for. One reach is one message delivered to one device, or 240 seconds of one device staying connected. A delivered push counts the same as a live delivery. A publish holds reach for the topic's current listener count before it is accepted; a topic with no live listeners holds none.
- Past the free 100,000, reach comes in packs of 100,000 for $1.00, bought automatically from a prepaid balance for the month they are bought in.
- Pack spending stops at a monthly ceiling, $25 by default.
- Top up the balance in Billing in steps of $5, $10 or $25. Payments go through Stripe; Orb does not store card details.
- The balance is prepaid and does not transfer between accounts. The terms say when unused balance is refunded: if Orb suspends or closes the service.
When a publish needs reach the balance or the ceiling cannot cover, it is refused with
429 reach_exhausted and nothing is stored or sent. The body carries
used, reserved, limit, need,
resets_at and an action: top_up (add balance) or
ceiling (the monthly ceiling would be passed). Going over body fetch or
storage is a 429 with fetch_limit or
storage_limit. A refused publish is never billed later.
Current usage is yours to read:
GET /v1/me/usage returns the period, the limits, and per-day counters —
envelopes, stored bytes, fetch bytes, deliveries, opens and unique opens (the
receipts roll up here too). The web inbox shows the same
summary under Account.
The fetch_limit charge is the one that surprises people: a popular public
topic whose bodies many people open spends the owner's fetch allowance. Publish
envelopes with short previews and let readers open only what they need, or keep bodies
small — images count against the body cap too.
Contact
hello@orbnet.app ·
support@orbnet.app ·
abuse@orbnet.app ·
security@orbnet.app.
Magic links come from noreply@orbnet.app only.