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.
Decentralized identity and trust verification system for AI agents.
- 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
- Next.js 15 (App Router)
- TypeScript
- Prisma 7 + Postgres Adapter
- Tembo (Postgres)
- Jose (JWT/VC Signing)
- Vitest + Playwright
npm install
npx prisma generate
npm run devPOST /api/verify-agent- Verify or register an agent DIDPOST /api/vc/issue- Issue a Verified CredentialPOST /api/vc/verify- Verify a Credential validity
Copy .env.example to .env:
DATABASE_URL: Tembo Postgres connection stringDID_PRIVATE_KEY: Hex-encoded private key for signing
npm test # Unit tests
npm run test:e2e # E2E testsMIT