DEV Community

Manuel Felipe Arias Pineda
Manuel Felipe Arias Pineda

Posted on

๐Ÿ‡น๐Ÿ‡ผ ๅฐ็ฃ devs: Add ่บซๅˆ†่ญ‰ๅญ—่™Ÿ to the AI identity standard โ€” Soulprint open source (30 min PR)

Every day, AI agents make decisions on our behalf โ€” buying, sending emails, signing documents โ€” and nobody verifies there's a real human behind them.

Soulprint solves this with Zero-Knowledge Proofs: 100% on-device, open source (MIT), free to run. soulprint.digital

๐Ÿ‡น๐Ÿ‡ผ ๅฐ็ฃ's ่บซๅˆ†่ญ‰ๅญ—่™Ÿ is not in Soulprint yet. You can add it in ~30 minutes with one PR.


What Soulprint does

npx soulprint verify-me       # scan ID + face match โ€” all local
# โ†’ SPT token (score 0-100)

# AI agent includes token in every call
# X-Soulprint: eyJ... (score: 84)

# API verifies in 3 lines:
import { requireSoulprint } from "soulprint-mcp";
server.tool("premium", requireSoulprint({ minScore: 80 }), handler);
Enter fullscreen mode Exit fullscreen mode

ZK proof: Circom 2.1.8 ยท Groth16 ยท 844 constraints ยท 564ms prove ยท 25ms verify.


๐Ÿ‡น๐Ÿ‡ผ ๅฐ็ฃ: ่บซๅˆ†่ญ‰ๅญ—่™Ÿ

่บซๅˆ†่ญ‰: 1ๅญ—ๆฏ(ๅœฐๅ€)+1ๆ•ธๅญ—(ๆ€งๅˆฅ)+8ๆ•ธๅญ—. ๅญ—ๆฏๆ›็ฎ—็‚บ2ไฝๆ•ธๅญ—ๅพŒ๏ผŒ่จˆ็ฎ—mod-10 check digitใ€‚


The code โ€” fill in the blanks and open a PR

// packages/verify-local/src/document/countries/TW.ts
import { CountryVerifier, DocumentResult, NumberValidation } from "../verifier.interface";

const TW: CountryVerifier = {
  countryCode:   "TW",
  countryName:   "ๅฐ็ฃ",
  documentTypes: ["national_id"],

  parse(ocrText: string): DocumentResult {
    // ่บซๅˆ†่ญ‰ๅญ—่™Ÿ format: 1 letter + 9 digits
    const doc_number = ocrText.match(/([A-Z]\d{9})/)?.[1] ?? "";
    return { valid: !!doc_number, doc_number, country: "TW" };
  },

  validate(docNumber: string): NumberValidation {
    // letter converted to 2 digits + mod-10
    return { valid: validateTWID(docNumber) };
  },
};

export default TW;
Enter fullscreen mode Exit fullscreen mode

Then add one line in registry.ts:

import TW from "./countries/TW";
// add to registry map: "TW": TW,
Enter fullscreen mode Exit fullscreen mode

Open a PR โ†’ your country joins the global AI identity standard. ๐ŸŒ


Why contribute?

  • ๅฐ็ฃ joins the AI age โ€” local developers can verify their AI agents
  • Permanent git credit โ€” you're in the history forever
  • Decentralized identity โ€” no Big Tech as gatekeeper
  • Fast โ€” 30 min partial, 2-3h full with MRZ

Resources

One PR. One country. The future of AI identity is open source.

Top comments (0)