Title: feat(decisioning): BuyerAgentRegistry Protocol + AuthInfo discrimination + billing_capability enforcement (Tier 2) · Issue #349 · adcontextprotocol/adcp-client-python · GitHub
Open Graph Title: feat(decisioning): BuyerAgentRegistry Protocol + AuthInfo discrimination + billing_capability enforcement (Tier 2) · Issue #349 · adcontextprotocol/adcp-client-python
X Title: feat(decisioning): BuyerAgentRegistry Protocol + AuthInfo discrimination + billing_capability enforcement (Tier 2) · Issue #349 · adcontextprotocol/adcp-client-python
Description: Summary Tier 2 of the v3-identity / round-2 SDK roadmap. Implements the round-2 spine: a BuyerAgentRegistry Protocol that resolves an authenticated agent identity to a registered BuyerAgent record, kind-discriminated Credential union, an...
Open Graph Description: Summary Tier 2 of the v3-identity / round-2 SDK roadmap. Implements the round-2 spine: a BuyerAgentRegistry Protocol that resolves an authenticated agent identity to a registered BuyerAgent record,...
X Description: Summary Tier 2 of the v3-identity / round-2 SDK roadmap. Implements the round-2 spine: a BuyerAgentRegistry Protocol that resolves an authenticated agent identity to a registered BuyerAgent record,...
Opengraph URL: https://github.com/adcontextprotocol/adcp-client-python/issues/349
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feat(decisioning): BuyerAgentRegistry Protocol + AuthInfo discrimination + billing_capability enforcement (Tier 2)","articleBody":"## Summary\n\nTier 2 of the v3-identity / round-2 SDK roadmap. Implements the round-2 spine: a `BuyerAgentRegistry` Protocol that resolves an authenticated agent identity to a registered `BuyerAgent` record, kind-discriminated `Credential` union, and `billing_capability` enforcement on `sync_accounts`.\n\nImplements the Python side of [adcp-client#1269](https://github.com/adcontextprotocol/adcp-client/issues/1269) (JS BuyerAgentRegistry design).\n\n## Design\n\nFull design lives in the RFC — see [docs/proposals/v3-identity-bundle-design.md](https://github.com/adcontextprotocol/adcp-client-python/blob/main/docs/proposals/v3-identity-bundle-design.md), section \"Tier 2 — `BuyerAgentRegistry` (the round-2 spine, per #1269)\".\n\n### Surface\n\n- `BuyerAgent` frozen dataclass: `agent_url`, `display_name`, `status`, `billing_capability`, `default_account_terms`, `allowed_brands`, `ext`\n- `BuyerAgentRegistry` Protocol with factory pattern (`signing_only` / `bearer_only` / `mixed`) per Python feedback at [adcp-client#1269 comment](https://github.com/adcontextprotocol/adcp-client/issues/1269)\n- Kind-discriminated `Credential` union: `ApiKeyCredential | OAuthCredential | HttpSigCredential`\n- `AuthInfo` migration with one-minor deprecation cycle (tracked separately in companion issue)\n- Dispatch wire-up: registry call after auth verification, before `accounts.resolve`\n- `RequestContext.buyer_agent` field\n- `sync_accounts` enforcement of `billing_capability` (reject mismatched `billing` with `INVALID_BILLING_MODEL`)\n- New error codes: `REQUEST_AUTH_UNRECOGNIZED_AGENT`, `AGENT_SUSPENDED`, `AGENT_BLOCKED`\n- Reference: `examples/buyer_agent_registry_sqlalchemy.py`\n\n## Cross-references\n\n- RFC: [docs/proposals/v3-identity-bundle-design.md](https://github.com/adcontextprotocol/adcp-client-python/blob/main/docs/proposals/v3-identity-bundle-design.md)\n- JS design issue: [adcp-client#1269](https://github.com/adcontextprotocol/adcp-client/issues/1269)\n- JS parity tracker: [adcp-client#1249](https://github.com/adcontextprotocol/adcp-client/issues/1249)\n- Tier 1 (merged): [PR #345](https://github.com/adcontextprotocol/adcp-client-python/pull/345)\n- Companion: AuthInfo migration cycle (filed separately)\n- Spec 3.1 alignment: [adcp#3690](https://github.com/adcontextprotocol/adcp/issues/3690)\n\n## Notes\n\nDesigned against 3.1 shapes — wire types stay 3.0 compliant; data model + Protocols anticipate 3.1's #3690 verifier chain.\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)","author":{"url":"https://github.com/bokelley","@type":"Person","name":"bokelley"},"datePublished":"2026-05-02T17:51:24Z","url":"https://github.com/adcontextprotocol/adcp-client-python/issues/349"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c6f0cbef-71d2-3726-afd2-ebe9f288034c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B886:28815B:BCCC39:FD054B:6B00F6B7 |
| html-safe-nonce | bde82b9e59bb69f012eeaf59cf3be0f9b4bfeb24b84266028093941e33125ff4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODg2OjI4ODE1QjpCQ0NDMzk6RkQwNTRCOjZCMDBGNkI3IiwidmlzaXRvcl9pZCI6IjQxNTM5NDYwOTI0OTAyNTgxMDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e1924ca30840cfe57798309b04ae49cf7998848d41828d922ea948b472ed5f44 |
| hovercard-subject-tag | issue:4369621155 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/adcontextprotocol/adcp-client-python/349/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4c7c9d5f8af29a722b06f7328f76d05c66dac0f410d4f61345fd8cac597251a1/adcontextprotocol/adcp-client-python/issues/349 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4c7c9d5f8af29a722b06f7328f76d05c66dac0f410d4f61345fd8cac597251a1/adcontextprotocol/adcp-client-python/issues/349 |
| og:image:alt | Summary Tier 2 of the v3-identity / round-2 SDK roadmap. Implements the round-2 spine: a BuyerAgentRegistry Protocol that resolves an authenticated agent identity to a registered BuyerAgent record,... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bokelley |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc |
| turbo-cache-control | no-preview |
| go-import | github.com/adcontextprotocol/adcp-client-python git https://github.com/adcontextprotocol/adcp-client-python.git |
| octolytics-dimension-user_id | 221690821 |
| octolytics-dimension-user_login | adcontextprotocol |
| octolytics-dimension-repository_id | 1090305973 |
| octolytics-dimension-repository_nwo | adcontextprotocol/adcp-client-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1090305973 |
| octolytics-dimension-repository_network_root_nwo | adcontextprotocol/adcp-client-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9983dd5da06943f833c971dd5b6bc988e2858be5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width