Services the app talks to
The five remote services Seed Exact uses, their default URLs, which modules call them, and how each request is authenticated.

Seed Exact has no backend of its own. The phone holds the keys and talks directly to five services that already serve the desktop and web clients. Every network call is made from a source in the data module, under the grants in app.ts. This section describes each service from the app's point of view: the endpoints it calls, what it sends, and what it expects back.

The services

Service

Default URL

Used for

Called by

Auth

Seed site read API

https://hyper.media (state server), paths /api/<Key> and /hm/api/config

Documents, metadata, queries, accounts, comments, change history, site configuration, images

read, discuss, profile, me, activity (config only)

None. Public GET

Publishing signed blobs

POST <server>/api/PublishBlobs

Publishing comments and profile changes

discuss, profile

None at the transport. The blobs themselves are signed by the author's key

Notify service

https://hyper.media/hm/api/notify, or the site's configured notifyServiceUrl

Notification inbox, read state, email settings

activity

A signed CBOR envelope per request

Vault server

https://hyper.media/vault (state vaultURL)

Remote vault connect mailbox, encrypted vault read and write, credential removal

vault

Unauthenticated mailbox read; otherwise Authorization: Bearer with a secret credential

Agents server

https://agentic.seed.hyper.media (state agentServer)

Agents, sessions, runs, model providers, live streams

agents

A signed protocol 3 envelope per request and per WebSocket subscription

The first two are the same host: the Seed site chosen in Me. The user can point the app at another site, another vault and another agents server independently. A document opened by URL may also be read from a site other than the configured one; see Deep links.

flowchart LR phone["Seed Exact on the phone"] site["Seed site read API"] pub["PublishBlobs on the same site"] notify["Notify service"] vault["Vault server"] agents["Agents server"] phone -- "GET JSON, superjson envelope" --> site phone -- "POST DAG-CBOR signed blobs" --> pub phone -- "POST signed CBOR envelope" --> notify phone -- "Bearer credential, encrypted state" --> vault phone -- "POST signed CBOR and WebSocket" --> agents site -. "config names the notify URL" .-> notify

Common rules

    Keys never leave the phone. Services receive signatures, signed blobs or ciphertext. The one secret that is sent is a model provider API key, to the agents server, and only over HTTPS or loopback.

    Deadlines are explicit. Requests pass exactTimeout to fetch (15 s for the site API, publishing and notify; 8 s and 10 s in me; 5 s or 20 s for vault), because source timers do not run while a native fetch is pending. The agents HTTP requests set no exactTimeout.

    Time is supplied by the caller. Signed requests take a timestamp computed in a Contract action as time.epochAtZero + performanceNow(). See refresh patterns.

    Signed requests do not follow redirects in the notify client (redirect: 'error').

    Errors become sentences. Each client maps transport failures and bad statuses to a user-facing message that a screen shows with a Retry.

Local stand-ins

Contract tests run against mocks, never the hosted services: a mock notify service, a mock vault and a mock agents server, all started by the local test server on http://127.0.0.1:4790 (the agents mock on its own port, 3068). The test server proxies read-only GET requests for /hm/* and /api/* to https://hyper.media and refuses hosted notify paths with 403.

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime

Comments