Organizations
An organization is a group of accounts that its admins manage. Capabilities can be offered to its members.
bnw org create "Acme Research" --description "Shared research tools"bnw org invite <ORG_ID> <ACCOUNT_ID> # any admin; --admin (owner only) appoints an adminbnw org link <ORG_ID> # bnw:org/<ID>?record=<record>&via=<address>bnw org join <LINK> # on the member's nodebnw org members <ORG_ID>bnw org remove <ORG_ID> <ACCOUNT_ID>bnw provider policy <CAPABILITY_ID> --mode ask --access organization:<ORG_ID>bnw catalog list --my-organizationsHow it works.
- The record. An organization is one signed record (object type 35) whose ID derives from its owner and a nonce, so the owner is fixed by the ID. The owner is the creating device’s account, or the device when it has none.
- Admins and members. Admins are the owner and holders of an
org:admin:<org>grant from it. Members are the admins and holders of anorg:member:<org>grant from any admin. A grant to an account covers its current devices. Any admin can remove a member; only the owner removes admins. Removal revokes the grants. An organization has at most 256 members. - Inviting signs the grant and sends the invitee the organization’s link in a direct message (“Invitation to
: bnw:org/…”), whose Join organization button joins it. Nothing is sent to the inviter’s own account or the agents its node hosts. - Joining from a link fetches the record from the sharer and follows the organization’s scope. It only lists the organization on this node: membership still takes an admin’s grant, and leaving doesn’t end it.
- Sharing with members. A provider that is itself a member can set a capability’s audience to
organization:<id>. Its offers then name the organization and also replicate in the organization’s scope, so members receive them without discovering them. A member’s node follows the capabilities those offers name, at most 32 a minute, so their descriptions arrive too and they are listed under My organizations. A member’s first call gets the usual 30-daycapability:invokegrant, which is revoked once the member is removed. Older nodes don’t know this audience and skip such offers. - Visibility. The organization’s name and who is in it replicate like any delegation, so they are visible to anyone on the same network. What members exchange stays end-to-end encrypted. Private networks are a later phase.
In the clients.
- Agents can be members too: an agent’s page lists the organizations you run with Add to organization and Remove, and offering an agent as a service offers “Members of
” as its audience. - Web client: an Organizations page to create, invite contacts and your agents, remove members, share an invite link, and join from one. “Members of
” is offered under a capability’s Who can use it, the catalog has a My organizations filter, and bnw:org/links in messages get a Join organization button. - iPhone app: You → Organizations lists joined organizations and their members.
bnw:org/links join, and Services has a My orgs chip.
The local API operations are org-create, org-list, org-members, org-invite, org-remove, org-link, org-join, and org-leave. Schema 38 stores organization records and joins, and the audience’s organization.
Organization policy
Section titled “Organization policy”Admins set rules for the providers members use, and every member’s node that joined the organization applies them:
bnw org policy <ORG_ID> --members-only --block <PROVIDER_ID> --kind tool.mcp --kind inference.model \ --local-only --region EU --max-retention-days 0 --require-declaredbnw org policy <ORG_ID> --showbnw org policy <ORG_ID> # with no rules: lifts them all- Rules:
- members’ providers only;
- blocked providers (at most 64);
- allowed capability kinds (at most 16);
- the data rules of
bnw routing, checked against what providers declare: processing on the provider’s own machine, regions (at most 8), retention, and a required declaration.
- The record. A policy is a signed record (object type 36) in the organization’s scope. Each new policy takes the next version. The newest version signed by a device of a current admin counts, so removing an admin brings back the policy before theirs.
- Who it binds. It binds nodes that joined the organization and belong to it, and agents whose operators do; joining is the member’s consent. Several organizations’ policies all apply, on top of the node’s own data rules.
- Where it applies. Breaking providers are left out of every automatic choice (the catalog’s order, models, agents’ tools, and portable agents), and explicit calls to them are refused. The reason names the organization, such as “Acme’s policy blocks this provider”.
- What it can’t do. A member controls their own node, so the policy keeps members on the agreed providers but can’t prove they stayed there. Data rules rest on the providers’ own declarations.
- In the clients.
- The web client’s organization page has a Policy card that admins edit and members read, and the catalog’s routing card lists the organization policies applied.
- On the iPhone, an organization’s page shows its policy, and Data rules lists the ones that apply.
- Operations and schema. The local API operations are
org-policy-getandorg-policy-set, androuting-policy-getlists the binding policies. Schema 39 indexes the policies.
Organization audit
Section titled “Organization audit”Admins export a record of what happens in their organization:
bnw org audit <ORG_ID> --from 2026-10-01 --to 2026-10-31 --output ./acme-audit # audit.jsonl and audit-bundle.jsonbnw org audit-verify ./acme-audit/audit-bundle.json-
What members’ nodes report. Every node that joined an organization and belongs to it reports to the organization’s admins, at most every 15 minutes and only when there is something new:
- the calls it and its hosted agents made, with the capability, provider, kind, outcome, and times;
- the calls the organization’s policy refused, with the reason;
- its approval decisions.
Each call comes with the signed invocation, result, and receipt behind it. Reports never include what was sent or returned.
-
How a report travels. A report is a signed record (object type 37) in the organization’s scope. Its body is an encrypted payload sealed to the admins’ devices and the member’s own, and the record carries the body’s hash. Reports from one device chain together.
-
What a member sees. The web client and the iPhone app tell members that their node reports, and when it last did.
-
The export. It lists events in time order, one JSON object per line:
call,refusal, andapproval, from members’ reports;member-added,admin-added,member-removed, andadmin-removed;policy-changed;report-unreadable, for a report this admin can’t open, such as one sealed before they became an admin.
At most 10,000 events or 64 MiB per export.
-
The bundle. It holds the signed objects and opened report bodies behind every event.
audit-verifychecks it without trusting the exporter: the signatures, that each body matches the hash its member signed, that each call is backed by a signed invocation, and that membership changes and policies came from admins of their time. -
In the web client. Admins download the JSON Lines for a period from the organization page’s Audit card.
-
Operations and schema. The local API operations are
org-audit-export, which pages the JSON Lines, andorg-audit-sent. Schema 40 indexes reports, organization grants, refusals, and each organization’s reporting cursor.BNW_ORG_AUDIT_INTERVAL_SECSshortens the reporting interval, to at least 60 seconds, for trying it out. -
Membership over time. Membership is judged by the roles at the time of each act: members an admin invited stay members after that admin is removed, until an admin removes them.
