What an SDK at L2 must provide
If you’re picking an SDK or porting one to a new language, this is the L2 build target:- An account-store abstraction that resolves an authenticated principal to a scoped account, with hooks for multi-tenant routing.
- Authentication primitives for at least API-key and bearer-token shapes, plus a way to compose them.
- Brand-resolution / agent-registry lookup — or a documented extension point if the SDK doesn’t ship it natively.
- The sandbox-vs-live account flag, enforced at the SDK boundary so the conformance-test surface refuses to dispatch on production accounts.
Pages in this layer
- Authentication — credentials and permissions.
- Account state — multi-tenant account resolution.
- Accounts and agents — relationship between account scoping and agent identity.
- Context & sessions — managing principal state across requests.