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
π±π° Sri Lanka's National Identity Card (NIC) 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);
ZK proof: Circom 2.1.8 Β· Groth16 Β· 844 constraints Β· 564ms prove Β· 25ms verify.
π±π° Sri Lanka: National Identity Card (NIC)
Old NIC: 9 digits + V or X (total 10 chars). New NIC: 12 digits. First 4 = birth year, next 3 = day of year (female +500).
The code β fill in the blanks and open a PR
// packages/verify-local/src/document/countries/LK.ts
import { CountryVerifier, DocumentResult, NumberValidation } from "../verifier.interface";
const LK: CountryVerifier = {
countryCode: "LK",
countryName: "Sri Lanka",
documentTypes: ["nic"],
parse(ocrText: string): DocumentResult {
// National Identity Card (NIC) format: Old: 9 digits + V/X; New: 12 digits
const doc_number = ocrText.match(/(\d{9}[VX]|\d{12})/)?.[1] ?? "";
return { valid: !!doc_number, doc_number, country: "LK" };
},
validate(docNumber: string): NumberValidation {
// old format 9+V/X or new 12 digits
return { valid: /^(\d{9}[VX]|\d{12})$/.test(docNumber) };
},
};
export default LK;
Then add one line in registry.ts:
import LK from "./countries/LK";
// add to registry map: "LK": LK,
Open a PR β your country joins the global AI identity standard. π
Why contribute?
- Sri Lanka 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
- π https://soulprint.digital
- π» GitHub β fork here
- π Contributing guide
One PR. One country. The future of AI identity is open source.
Top comments (0)