The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Badge listing page.
Persistent identity for AI agents across merchant sites. Badge gives agents a credential they carry on every request — merchants verify it, trust accumulates across visits, and agents that build history earn better treatment over time.
Framework-agnostic. Transport-agnostic. Zero runtime dependencies.
The SDK is the primary integration surface. Three methods cover the full lifecycle:
No signup. No API key. Badge.init() issues a guest pass on first run and caches it to disk. Identity survives process restarts.
gp_v1_*) → badge token (kya_*) → authenticated identityio.kyalabs.common.identity Credential Provider, published schemas, ES256-signed JWTsFor MCP client users (Claude Desktop, Cursor, Windsurf), Badge also ships as an MCP tool server. The MCP server wraps the SDK — same identity model, same tokens, same scoring.
The SDK is the canonical integration path for platform builders and agent frameworks. The MCP server is a convenience wrapper for end users working within MCP clients.
MIT