Agent Trust Verifier (DID/VC System)
January 6, 2026 ยท View on GitHub
๐ ARCHITECTURAL ANCHOR
This project is part of the Berlin AI Automation Studio. It is governed by the global rules in berlin-ai-infra.
Setup for new laptops:
- Clone this repo.
- Run
./bootstrap-infra.shto link to the global Master Brain.
Agent Trust Verifier (DID/VC System)
Decentralized identity and trust verification system for AI agents.
๐ Part of Multi-Agent Communication Suite (App 2 of 5)
Features
- DID Resolution: Resolve and verify
did:webidentities - Verifiable Credentials: Issue and verify JWT-based VCs
- Trust Scoring: Track and update agent trust scores
- Clean Architecture: Domain-driven design
- Tembo Database: Postgres-backed persistence
Tech Stack
- Next.js 15 (App Router)
- TypeScript
- Prisma 7 + Postgres Adapter
- Tembo (Postgres)
- Jose (JWT/VC Signing)
- Vitest + Playwright
Quick Start
npm install
npx prisma generate
npm run dev
API Endpoints
POST /api/verify-agent- Verify or register an agent DIDPOST /api/vc/issue- Issue a Verified CredentialPOST /api/vc/verify- Verify a Credential validity
Environment Variables
Copy .env.example to .env:
DATABASE_URL: Tembo Postgres connection stringDID_PRIVATE_KEY: Hex-encoded private key for signing
Testing
npm test # Unit tests
npm run test:e2e # E2E tests
License
MIT