Projects

Signet Tech

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.

At a glance

Role
CTO (sole engineer)
Timeframe
January 2025 to March 2026 (zero-knowledge identity until about July 2025, then agent payments)

Stack

  • Docker
  • ESLint
  • Fastify
  • Jest
  • JWT
  • MDX
  • MCP
  • NestJS
  • Next.js
  • Node
  • OpenAPI
  • Pino
  • PM2
  • PostgreSQL
  • Prettier
  • RabbitMQ
  • React
  • Redis
  • Sanity
  • Tailwind CSS
  • TypeScript
  • Zod

Key outcomes

  • AuthorshipEssentially all commits on the main repositories
  • Test files across the services397
  • MCP tools17, opt-in; 8 writes flagged for confirmation

Jump to technical deep dive

Technical deep dive

Expand a section for architecture detail, trade-offs, and evidence. Written for technical hiring managers.

Overview

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.

Problem

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.

Solution

- 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

Architecture
WhatWhy
Services: Independent services, each with its own databaseSecurity-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 stepOther services never handle this logic, so the switch to DPoP stays contained
Payments model: Mandates linking user, agent and merchant, with revocationBuilt first for AP2, the first agent payments protocol, with others planned
Fraud: Rules-based scoring with time decay and propagation across related entitiesFast to ship and easy to explain for an MVP
Audit: Central audit trail in PostgreSQL, fed by a transactional outbox over a message queueReliable delivery now; a tamper-proof ledger was planned
AI access: MCP server generated from the API specs, with opt-in exposure per operationAI assistants can act only through operations chosen for them
Challenges

Testing a security-heavy platform

Problem

DPoP from day one would have made service and integration testing hard, with tokens needing constant regeneration.

Solution

Deferred DPoP until testing was complete and isolated token handling in one service.

Trade-offs

Current auth is API key to token; moving to DPoP is a contained change.

Building in a fast-moving space

Problem

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.

Solution

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.

Letting AI assistants act safely

Solution

Only operations explicitly opted in become MCP tools: 17 tools, 8 of them writes flagged as needing confirmation.

Trade-offs

The confirmation flag is a hint to the AI client; the server does not enforce it.

Decisions

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.

Adopt AP2 instead of an own protocol

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.

Single-use zero-knowledge age proofs

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.

Rules-based fraud scoring

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.

PostgreSQL audit trail with outbox

Alternatives

Blockchain-based tamper-proof ledger (planned)

Why this choice

MVP speed. Reliable event capture first.

Trade-off

Not tamper-evident yet.

MCP tools from API specs, opt-in

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.

Evidence
  • AuthorshipEssentially all commits on the main repositories(GitHub, January 2025 to March 2026)
  • Test files across the services397(Repository tree, 26 Nov 2026)
  • MCP tools17, opt-in; 8 writes flagged for confirmation(API specs, 26 Nov 2026)
  • Early identity prototypesAn identity verification prototype and a STARK zero-knowledge proof demo(Commits, January and June 2025)
  • Identity work before AP2Decentralised identifiers and verifiable credentials for users and partners(Commits, 30 Aug to 3 Sep 2025)
Reflection

- 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