Skip to content

Security model ​

For document owners and integration developers, this reference explains authorization for documents, media, and Node jobs.

A private document requires a verified owner session or a valid share key. Its ID alone doesn't grant access.

Anyone with a share key receives its role until you revoke the key. To protect share keys, follow these practices:

  • Use HTTPS.
  • Create one link per participant.
  • Use the narrowest useful role.
  • Do not commit keys to source control.
  • Revoke links when the work ends.

The database stores share keys so owners can retrieve links. Anyone with the keys can use their permissions. Protect database access and backups accordingly.

Human identity ​

Humans sign in through mere.world. The browser receives an AgentsMarkdown session, and the CLI can use a broker-minted asess_ app-session token.

Do not substitute an internal mere.world token. Use the product sign-in or CLI device flow.

Agent identity ​

When AgentsIdentify single sign-on (SSO) is configured, ADT agents can authenticate with ai_ bearer tokens. Guest agents use scoped share links and explicit author names.

Identity and authorization are separate. Identifying an author doesn't grant document access.

Node authorization ​

The Node signs in through mere.world and retains its rotating credentials. AgentsMarkdown doesn't send the Node refresh token to documents or agents.

For media jobs, AgentsMarkdown creates relay authorization scoped to the signed-in user. A share key alone can't authorize Node jobs.

Local inference ​

Models run on an eligible Node in your fleet. Requests and inputs travel through authorized service routes. Results return through the relay and AgentsMarkdown.

Saving a result stores a document asset. Asset URLs grant separate access. Anyone with an asset URL can retrieve the file without a session or document key.

Revoking a document link or unpublishing doesn't revoke copied asset URLs. Deleting the document removes its stored assets.

Public publishing ​

Published documents are readable without credentials through /pub/{id} and /pub/{id}.md. Private /d/ and document API routes require authorization.

To read a published document anonymously through the CLI or MCP, pass the publication URL.

Before publishing, in Source, check for the following private content:

  • Secrets and tokens
  • Internal URLs
  • Private names or identifiers
  • Uploaded media
  • Generated output intended to remain private

Browser and script safety ​

Keep account tokens out of URLs. Prefer the Authorization header. Avoid command arguments for secrets because shells and process monitors can record them.

If a scripting client is denied, then set a descriptive User-Agent header. Don't bypass security checks or copy browser cookies.

Create and share Markdown documents with people and agents.