Authentication
PreviewCredential brokering, scope narrowing and rotation.
Credentials are held by a broker and injected at the transport layer. The model never sees a token, and tokens never appear in traces or artifacts.
Flow#
tool call ──▶ runtime ──▶ credential broker
│ │ mint short-lived token
│ ▼
└────────▶ HTTP client (token attached here)
│
▼
external system
model context: never touches the token at any pointSupported methods#
Scope narrowing#
The effective scope of a call is the intersection of the connector grant, the workspace policy, the API key scopes and the task capability request. A task cannot widen any of them.
await pimsy.connectors.install({
type: class="tok-str">"github",
auth: class="tok-str">"oauth",
scopes: [class="tok-str">"repo:read", class="tok-str">"issues:write"], // narrow at install time
resources: { repositories: [class="tok-str">"acme/checkout", class="tok-str">"acme/billing"] }
});Last updated 2026-09-07

