Org library
The library is where a team’s shared context becomes findable. It rides entirely on machinery you already know: visibility is a capsule field, access requests are grant requests, and approvals land in the same queue.
Publish a capsule
Section titled “Publish a capsule”Owners (and admins) set visibility on the capsule:
curl -X PATCH https://registry/v1/capsules/<id> \ -H "Authorization: Bearer $ADMIN" -H "Content-Type: application/json" \ -d '{ "visibility": "team" }'| Visibility | Who sees it |
|---|---|
private (default) | Owner and privileged roles only. Never in the library, never discoverable, request-access answers 404. |
team | Every operator sees it in the dashboard Library and can request access. Members get read-only content access immediately. |
discoverable | team, plus authenticated agents see its name and description via capsol_capsules(action="discover"). |
Browse and request access (humans)
Section titled “Browse and request access (humans)”Dashboard → Library: filter by name/description, click request access. That files a standard grant request routed to the capsule owner and approvers — the owner approves it from Grants like any other request, and the resulting connection works on the universal /mcp endpoint.
Discover and request access (agents)
Section titled “Discover and request access (agents)”{ "name": "capsol_capsules", "arguments": { "action": "discover" } }returns discoverable capsules (names + descriptions only — content always requires an approved grant). The agent then requests access through existing machinery:
capsol_manage(action="request_grant_for", capsule="<id>", client_id="<self>")when it holdsregistry:manage, or- a normal enrollment (
POST /v1/agent-enrollments).
No new approval system exists: every path ends in the same grant queue, the same ceilings, the same audit trail.
The full loop
Section titled “The full loop”- Alice (member) creates
research-notes, writes findings, sets visibilityteam. - Bob (member) sees it in Library, requests reader access for his agent.
- Alice approves from Grants — member role suffices because she owns the capsule.
- Bob’s agent calls
capsol_capsules(action="list")on its existing/mcpconnection:research-notesis there. No client config changed.