Defer DPoP
Alternatives
DPoP from day one
Why this choice
Services and integrations still under test. Constant token regeneration would slow testing.
Trade-off
API key to token auth for now; the switch is isolated in one service.
Trust and identity infrastructure: zero-knowledge age proofs first, then a trust, identity and fraud layer for AI agent payments built on AP2's mandate model. CTO and sole engineer, January 2025 to March 2026.
Stack
Key outcomes
Expand a section for architecture detail, trade-offs, and evidence. Written for technical hiring managers.
Signet began as a reusable identity layer built on zero-knowledge proofs, driven by age-verification mandates for adult content in the UK and worldwide. From about July 2025 it moved to agent payments: a trust, identity and fraud layer that lets banks, fintechs and partners accept payment activity started by AI agents, with the agent's authority verified, scoped, monitored and revocable. As CTO I was the sole engineer and wrote essentially all of the code.
The first problem was age verification. Sites that must check a user is 18+ or 21+ usually collect far more personal data than they need. We wanted to verify a user once and let them prove only their age, with nothing else revealed. The second problem came with agent payments. AI agents are starting to make purchases for people. A bank or merchant receiving that payment cannot blindly trust it: it needs to know which agent acted, for whom, within what limits, and whether the activity looks fraudulent, with a record it can rely on later. The space was moving fast, with much larger companies building in it.
- First phase: an identity layer that verified a user once, then shared a zero-knowledge proof with sites that needed to know the user was 18+ or 21+, so the site learned nothing except the user's age - Made those proofs single use: Signet would never know where a proof was used, and a proof could not be reused - Second phase: built a microservice backend covering identity and sessions, partner management, payment mandates and transactions, fraud scoring, audit, webhooks and notifications - Modelled agent payments on AP2's mandate model, linking each payment to the user, the agent and the merchant - Scored fraud with rules: weighted categories and severities, time decay, and risk carried from payments, devices and IPs to the user - Recorded a central audit trail fed through a transactional outbox so events are not lost - Exposed selected operations to AI assistants through an MCP server - Delivered the product surfaces: marketing site, developer documentation, partner portal and an internal admin console
| What | Why |
|---|---|
| Services: Independent services, each with its own database | Security-sensitive domains stay isolated from each other |
| Partner auth: A token service exchanges API keys for access and refresh tokens; DPoP designed in as the next step | Other services never handle this logic, so the switch to DPoP stays contained |
| Payments model: Mandates linking user, agent and merchant, with revocation | Built first for AP2, the first agent payments protocol, with others planned |
| Fraud: Rules-based scoring with time decay and propagation across related entities | Fast to ship and easy to explain for an MVP |
| Audit: Central audit trail in PostgreSQL, fed by a transactional outbox over a message queue | Reliable delivery now; a tamper-proof ledger was planned |
| AI access: MCP server generated from the API specs, with opt-in exposure per operation | AI assistants can act only through operations chosen for them |
DPoP from day one would have made service and integration testing hard, with tokens needing constant regeneration.
Deferred DPoP until testing was complete and isolated token handling in one service.
Current auth is API key to token; moving to DPoP is a contained change.
After the zero-knowledge identity phase, the product moved to agent payments, and I was working on a protocol similar to AP2 before AP2 was released.
Shifted to the established protocols, built by larger teams with wider adoption, and rebuilt payments around AP2's mandate model, with other agent payment protocols planned.
Only operations explicitly opted in become MCP tools: 17 tools, 8 of them writes flagged as needing confirmation.
The confirmation flag is a hint to the AI client; the server does not enforce it.
Alternatives
DPoP from day one
Why this choice
Services and integrations still under test. Constant token regeneration would slow testing.
Trade-off
API key to token auth for now; the switch is isolated in one service.
Alternatives
Continue the in-house protocol
Why this choice
AP2 released by a larger team with wider adoption. Wider adoption and larger teams behind the established protocols.
Trade-off
Payments reworked around mandates; other protocols planned.
Why this choice
Sites needed to know a user was 18+ or 21+. The site learns only the user's age, Signet never learns where a proof was used, and a proof cannot be reused.
Trade-off
Verify once, prove many times with a fresh proof each time.
Alternatives
A smaller, cheaper fraud model (planned)
Why this choice
MVP speed against larger competitors. Ship quickly with transparent scoring.
Trade-off
No learned patterns yet.
Alternatives
Blockchain-based tamper-proof ledger (planned)
Why this choice
MVP speed. Reliable event capture first.
Trade-off
Not tamper-evident yet.
Why this choice
AI assistants calling payment operations. Only chosen operations are exposed, defined by the same specs as the APIs.
Trade-off
Confirmation for writes relies on the client.
- Learned: privacy can be the product; an age check only needs a proof of age, not an identity - Learned: in a space led by bigger companies, adopting the protocol with the widest support mattered more than finishing my own - Learned: deferring DPoP was only safe because token handling was isolated in one service - Would improve: enforce confirmation for MCP write tools on the server, not only in the client - Planned next: DPoP, a smaller and cheaper fraud model, a blockchain-based tamper-proof ledger, and support for agent payment protocols from OpenAI, Mastercard and others